Version Description
Download this release
Release Info
Developer | |
Plugin | Official Facebook Pixel |
Version | 3.0.6 |
Comparing to | |
See all releases |
Code changes from version 3.0.5 to 3.0.6
- changelog.txt +3 -0
- composer.json +1 -1
- composer.lock +257 -87
- composer.phar +0 -0
- core/FacebookPluginConfig.php +1 -1
- facebook-for-wordpress.php +1 -1
- languages/official-facebook-pixel-ar_AR.po +1 -1
- languages/official-facebook-pixel-cs_CZ.po +1 -1
- languages/official-facebook-pixel-da_DK.po +1 -1
- languages/official-facebook-pixel-de_DE.po +1 -1
- languages/official-facebook-pixel-en_GB.po +1 -1
- languages/official-facebook-pixel-es_ES.po +1 -1
- languages/official-facebook-pixel-es_LA.po +1 -1
- languages/official-facebook-pixel-fi_FI.po +1 -1
- languages/official-facebook-pixel-fr_CA.po +1 -1
- languages/official-facebook-pixel-fr_FR.po +1 -1
- languages/official-facebook-pixel-he_IL.po +1 -1
- languages/official-facebook-pixel-it_IT.po +1 -1
- languages/official-facebook-pixel-ja_JP.po +1 -1
- languages/official-facebook-pixel-ko_KR.po +1 -1
- languages/official-facebook-pixel-nb_NO.po +1 -1
- languages/official-facebook-pixel-nl_NL.po +1 -1
- languages/official-facebook-pixel-pl_PL.po +1 -1
- languages/official-facebook-pixel-pt_BR.po +1 -1
- languages/official-facebook-pixel-pt_PT.po +1 -1
- languages/official-facebook-pixel-ru_RU.po +1 -1
- languages/official-facebook-pixel-sv_SE.po +1 -1
- languages/official-facebook-pixel-th_TH.po +1 -1
- languages/official-facebook-pixel-tr_TR.po +1 -1
- languages/official-facebook-pixel-vi_VN.po +1 -1
- languages/official-facebook-pixel-zh_CN.po +1 -1
- languages/official-facebook-pixel-zh_TW.po +1 -1
- readme.txt +2 -0
- vendor/autoload.php +1 -1
- vendor/composer/ClassLoader.php +40 -4
- vendor/composer/InstalledVersions.php +337 -0
- vendor/composer/autoload_classmap.php +1 -0
- vendor/composer/autoload_real.php +6 -6
- vendor/composer/autoload_static.php +5 -4
- vendor/composer/installed.json +108 -97
- vendor/composer/installed.php +49 -0
- vendor/facebook/php-business-sdk/CHANGELOG.md +20 -1
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php +2 -2
- vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php +1 -1
- vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php +1 -1
- vendor/facebook/php-business-sdk/examples/AdsPixelEventsPostCustom.php +10 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +2 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Ad.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +73 -71
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountIosFourteenCampaignLimits.php +57 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdRuleEvaluationSpec.php +24 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdRuleExecutionSpec.php +24 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdSet.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php +47 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +0 -23
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdoptablePet.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php +89 -13
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AudioCopyright.php +23 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AutomotiveModel.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +42 -54
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php +3 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Canvas.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CanvasTemplate.php +80 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php +107 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrder.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CustomAudience.php +0 -14
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/DeliveryWindow.php +57 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Destination.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php +23 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountIosFourteenCampaignLimitsFields.php +51 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeFields.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeLinkDataFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativePortraitCustomizationsFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdRuleEvaluationSpecFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdRuleExecutionSpecFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupActivityFields.php +0 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdoptablePetFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php +5 -5
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsPixelFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AtlasCampaignFields.php +0 -16
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AutomotiveModelFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CanvasFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CanvasTemplateFields.php +73 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php +0 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommentFields.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CustomAudienceFields.php +2 -24
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DeliveryWindowFields.php +549 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DestinationFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/FlightFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HomeListingFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HotelFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/LiveVideoFields.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OmegaCustomerTrxFields.php +83 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PrivateLiftStudyInstanceFields.php +57 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogDiagnosticGroupFields.php +63 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php +6 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SavedAudienceFields.php +6 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleOfferFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Flight.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/HomeListing.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Hotel.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/IGUser.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/InstagramUser.php +0 -24
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php +5 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/OmegaCustomerTrx.php +105 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/OracleTransaction.php +0 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +184 -25
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/PagePost.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/PrivateLiftStudyInstance.php +107 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +143 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalogDiagnosticGroup.php +69 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductFeed.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductGroup.php +246 -12
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php +10 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php +25 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventResponse.php +1 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php +454 -48
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/UnifiedThread.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedWhitelistedTypesValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdDatePresetValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdRuleStatusValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetDatePresetValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdStudyObjectiveTypeValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +22 -6
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdoptablePetImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsInsightsDatePresetValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationAnPlatformsValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AutomotiveModelImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPageTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPagePermittedTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php +19 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignDatePresetValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommentCommentPrivacyValueValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommerceOrderReasonCodeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ContentDeliveryReportPlatformValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ContentDeliveryReportPositionValues.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CustomAudienceDataSourceSubTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/DestinationImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/FlightImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/HomeListingImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/HotelImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/InsightsResultDatePresetValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoLiveCommentModerationSettingValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoPersistentStreamKeyStatusValues.php +43 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/OmegaCustomerTrxTypeValues.php +44 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionIphoneDestinationTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePermittedTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePlatformValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PrivateLiftStudyInstanceOperationValues.php +44 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupAffectedChannelsValues.php +45 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupAffectedFeaturesValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupSeveritiesValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupSeverityValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupTypeValues.php +48 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupTypesValues.php +48 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogItemSubTypeValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedFeedTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedItemSubTypeValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemARDataSurfacesValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemCommerceTaxCategoryValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemMarkedForProductLaunchValues.php +43 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/UnifiedThreadPlatformValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/VehicleImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/VehicleOfferImageFetchStatusValues.php +46 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/WhatsAppBusinessAccountTasksValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Vehicle.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/VehicleOffer.php +71 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/VideoCopyright.php +23 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/UserDataTest.php +284 -11
changelog.txt
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
*** Facebook for WordPress Changelog ***
|
|
|
|
|
|
|
2 |
2021-03-10 version 3.0.5
|
3 |
* Support for WordPress 5.7
|
4 |
* Fixing pixel events for Contact Form 7 in WP >= 5.7
|
1 |
*** Facebook for WordPress Changelog ***
|
2 |
+
2021-08-30 version 3.0.6
|
3 |
+
* Update Facebook Business SDK to v11.0.0
|
4 |
+
|
5 |
2021-03-10 version 3.0.5
|
6 |
* Support for WordPress 5.7
|
7 |
* Fixing pixel events for Contact Form 7 in WP >= 5.7
|
composer.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
},
|
10 |
"license": "GPL",
|
11 |
"require": {
|
12 |
-
"facebook/php-business-sdk": "
|
13 |
"techcrunch/wp-async-task": "dev-master"
|
14 |
},
|
15 |
"autoload": {
|
9 |
},
|
10 |
"license": "GPL",
|
11 |
"require": {
|
12 |
+
"facebook/php-business-sdk": "11.0.0",
|
13 |
"techcrunch/wp-async-task": "dev-master"
|
14 |
},
|
15 |
"autoload": {
|
composer.lock
CHANGED
@@ -4,20 +4,20 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "facebook/php-business-sdk",
|
11 |
-
"version": "
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
15 |
-
"reference": "
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
-
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/
|
20 |
-
"reference": "
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
@@ -46,9 +46,9 @@
|
|
46 |
"sdk"
|
47 |
],
|
48 |
"support": {
|
49 |
-
"source": "https://github.com/facebook/facebook-php-business-sdk/tree/
|
50 |
},
|
51 |
-
"time": "2021-
|
52 |
},
|
53 |
{
|
54 |
"name": "techcrunch/wp-async-task",
|
@@ -68,6 +68,7 @@
|
|
68 |
"10up/wp_mock": "dev-master",
|
69 |
"phpunit/phpunit": "*@stable"
|
70 |
},
|
|
|
71 |
"type": "wordpress-plugin",
|
72 |
"autoload": {
|
73 |
"classmap": [
|
@@ -99,6 +100,10 @@
|
|
99 |
}
|
100 |
],
|
101 |
"description": "Run asynchronous tasks for long-running operations in WordPress",
|
|
|
|
|
|
|
|
|
102 |
"time": "2016-03-10T17:37:13+00:00"
|
103 |
}
|
104 |
],
|
@@ -142,20 +147,24 @@
|
|
142 |
"GPL-2.0+"
|
143 |
],
|
144 |
"description": "A mocking library to take the pain out of unit testing for WordPress",
|
|
|
|
|
|
|
|
|
145 |
"time": "2017-12-03T19:28:28+00:00"
|
146 |
},
|
147 |
{
|
148 |
"name": "antecedent/patchwork",
|
149 |
-
"version": "2.1.
|
150 |
"source": {
|
151 |
"type": "git",
|
152 |
"url": "https://github.com/antecedent/patchwork.git",
|
153 |
-
"reference": "
|
154 |
},
|
155 |
"dist": {
|
156 |
"type": "zip",
|
157 |
-
"url": "https://api.github.com/repos/antecedent/patchwork/zipball/
|
158 |
-
"reference": "
|
159 |
"shasum": ""
|
160 |
},
|
161 |
"require": {
|
@@ -186,7 +195,11 @@
|
|
186 |
"runkit",
|
187 |
"testing"
|
188 |
],
|
189 |
-
"
|
|
|
|
|
|
|
|
|
190 |
},
|
191 |
{
|
192 |
"name": "doctrine/instantiator",
|
@@ -237,6 +250,10 @@
|
|
237 |
"constructor",
|
238 |
"instantiate"
|
239 |
],
|
|
|
|
|
|
|
|
|
240 |
"funding": [
|
241 |
{
|
242 |
"url": "https://www.doctrine-project.org/sponsorship.html",
|
@@ -298,6 +315,10 @@
|
|
298 |
"keywords": [
|
299 |
"test"
|
300 |
],
|
|
|
|
|
|
|
|
|
301 |
"time": "2020-07-09T08:09:16+00:00"
|
302 |
},
|
303 |
{
|
@@ -334,20 +355,23 @@
|
|
334 |
}
|
335 |
],
|
336 |
"description": "This package is a port of PhpDumentor/Parallel",
|
|
|
|
|
|
|
337 |
"time": "2017-12-10T12:33:51+00:00"
|
338 |
},
|
339 |
{
|
340 |
"name": "mockery/mockery",
|
341 |
-
"version": "1.3.
|
342 |
"source": {
|
343 |
"type": "git",
|
344 |
"url": "https://github.com/mockery/mockery.git",
|
345 |
-
"reference": "
|
346 |
},
|
347 |
"dist": {
|
348 |
"type": "zip",
|
349 |
-
"url": "https://api.github.com/repos/mockery/mockery/zipball/
|
350 |
-
"reference": "
|
351 |
"shasum": ""
|
352 |
},
|
353 |
"require": {
|
@@ -399,7 +423,11 @@
|
|
399 |
"test double",
|
400 |
"testing"
|
401 |
],
|
402 |
-
"
|
|
|
|
|
|
|
|
|
403 |
},
|
404 |
{
|
405 |
"name": "myclabs/deep-copy",
|
@@ -447,6 +475,10 @@
|
|
447 |
"object",
|
448 |
"object graph"
|
449 |
],
|
|
|
|
|
|
|
|
|
450 |
"funding": [
|
451 |
{
|
452 |
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
|
@@ -508,6 +540,10 @@
|
|
508 |
}
|
509 |
],
|
510 |
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
|
|
|
|
|
|
|
|
|
511 |
"time": "2017-03-05T18:14:27+00:00"
|
512 |
},
|
513 |
{
|
@@ -555,6 +591,10 @@
|
|
555 |
}
|
556 |
],
|
557 |
"description": "Library for handling version information and constraints",
|
|
|
|
|
|
|
|
|
558 |
"time": "2017-03-05T17:38:23+00:00"
|
559 |
},
|
560 |
{
|
@@ -652,6 +692,13 @@
|
|
652 |
"task",
|
653 |
"tool"
|
654 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
"time": "2018-03-23T09:07:02+00:00"
|
656 |
},
|
657 |
{
|
@@ -701,6 +748,10 @@
|
|
701 |
"reflection",
|
702 |
"static analysis"
|
703 |
],
|
|
|
|
|
|
|
|
|
704 |
"time": "2020-06-27T09:03:43+00:00"
|
705 |
},
|
706 |
{
|
@@ -753,6 +804,10 @@
|
|
753 |
}
|
754 |
],
|
755 |
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
|
|
|
|
|
|
|
|
756 |
"time": "2020-09-03T19:13:55+00:00"
|
757 |
},
|
758 |
{
|
@@ -798,6 +853,10 @@
|
|
798 |
}
|
799 |
],
|
800 |
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
|
|
|
|
|
|
|
|
|
801 |
"time": "2020-09-17T18:55:26+00:00"
|
802 |
},
|
803 |
{
|
@@ -861,6 +920,10 @@
|
|
861 |
"spy",
|
862 |
"stub"
|
863 |
],
|
|
|
|
|
|
|
|
|
864 |
"time": "2020-03-05T15:02:03+00:00"
|
865 |
},
|
866 |
{
|
@@ -924,6 +987,10 @@
|
|
924 |
"testing",
|
925 |
"xunit"
|
926 |
],
|
|
|
|
|
|
|
|
|
927 |
"time": "2018-04-06T15:36:58+00:00"
|
928 |
},
|
929 |
{
|
@@ -971,6 +1038,11 @@
|
|
971 |
"filesystem",
|
972 |
"iterator"
|
973 |
],
|
|
|
|
|
|
|
|
|
|
|
974 |
"time": "2017-11-27T13:52:08+00:00"
|
975 |
},
|
976 |
{
|
@@ -1012,6 +1084,10 @@
|
|
1012 |
"keywords": [
|
1013 |
"template"
|
1014 |
],
|
|
|
|
|
|
|
|
|
1015 |
"time": "2015-06-21T13:50:34+00:00"
|
1016 |
},
|
1017 |
{
|
@@ -1061,6 +1137,10 @@
|
|
1061 |
"keywords": [
|
1062 |
"timer"
|
1063 |
],
|
|
|
|
|
|
|
|
|
1064 |
"time": "2017-02-26T11:10:40+00:00"
|
1065 |
},
|
1066 |
{
|
@@ -1110,6 +1190,10 @@
|
|
1110 |
"keywords": [
|
1111 |
"tokenizer"
|
1112 |
],
|
|
|
|
|
|
|
|
|
1113 |
"abandoned": true,
|
1114 |
"time": "2017-11-27T05:48:46+00:00"
|
1115 |
},
|
@@ -1195,6 +1279,10 @@
|
|
1195 |
"testing",
|
1196 |
"xunit"
|
1197 |
],
|
|
|
|
|
|
|
|
|
1198 |
"time": "2019-02-01T05:22:47+00:00"
|
1199 |
},
|
1200 |
{
|
@@ -1254,32 +1342,31 @@
|
|
1254 |
"mock",
|
1255 |
"xunit"
|
1256 |
],
|
|
|
|
|
|
|
|
|
1257 |
"abandoned": true,
|
1258 |
"time": "2018-08-09T05:50:03+00:00"
|
1259 |
},
|
1260 |
{
|
1261 |
"name": "psr/container",
|
1262 |
-
"version": "1.
|
1263 |
"source": {
|
1264 |
"type": "git",
|
1265 |
"url": "https://github.com/php-fig/container.git",
|
1266 |
-
"reference": "
|
1267 |
},
|
1268 |
"dist": {
|
1269 |
"type": "zip",
|
1270 |
-
"url": "https://api.github.com/repos/php-fig/container/zipball/
|
1271 |
-
"reference": "
|
1272 |
"shasum": ""
|
1273 |
},
|
1274 |
"require": {
|
1275 |
-
"php": ">=
|
1276 |
},
|
1277 |
"type": "library",
|
1278 |
-
"extra": {
|
1279 |
-
"branch-alias": {
|
1280 |
-
"dev-master": "1.0.x-dev"
|
1281 |
-
}
|
1282 |
-
},
|
1283 |
"autoload": {
|
1284 |
"psr-4": {
|
1285 |
"Psr\\Container\\": "src/"
|
@@ -1292,7 +1379,7 @@
|
|
1292 |
"authors": [
|
1293 |
{
|
1294 |
"name": "PHP-FIG",
|
1295 |
-
"homepage": "
|
1296 |
}
|
1297 |
],
|
1298 |
"description": "Common Container Interface (PHP FIG PSR-11)",
|
@@ -1304,7 +1391,11 @@
|
|
1304 |
"container-interop",
|
1305 |
"psr"
|
1306 |
],
|
1307 |
-
"
|
|
|
|
|
|
|
|
|
1308 |
},
|
1309 |
{
|
1310 |
"name": "sebastian/code-unit-reverse-lookup",
|
@@ -1349,6 +1440,10 @@
|
|
1349 |
],
|
1350 |
"description": "Looks up which function or method a line of code belongs to",
|
1351 |
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
|
|
|
|
|
|
|
|
|
1352 |
"funding": [
|
1353 |
{
|
1354 |
"url": "https://github.com/sebastianbergmann",
|
@@ -1419,6 +1514,10 @@
|
|
1419 |
"compare",
|
1420 |
"equality"
|
1421 |
],
|
|
|
|
|
|
|
|
|
1422 |
"time": "2018-02-01T13:46:46+00:00"
|
1423 |
},
|
1424 |
{
|
@@ -1471,6 +1570,10 @@
|
|
1471 |
"keywords": [
|
1472 |
"diff"
|
1473 |
],
|
|
|
|
|
|
|
|
|
1474 |
"time": "2017-08-03T08:09:46+00:00"
|
1475 |
},
|
1476 |
{
|
@@ -1521,6 +1624,10 @@
|
|
1521 |
"environment",
|
1522 |
"hhvm"
|
1523 |
],
|
|
|
|
|
|
|
|
|
1524 |
"time": "2017-07-01T08:51:00+00:00"
|
1525 |
},
|
1526 |
{
|
@@ -1588,6 +1695,10 @@
|
|
1588 |
"export",
|
1589 |
"exporter"
|
1590 |
],
|
|
|
|
|
|
|
|
|
1591 |
"funding": [
|
1592 |
{
|
1593 |
"url": "https://github.com/sebastianbergmann",
|
@@ -1645,6 +1756,10 @@
|
|
1645 |
"keywords": [
|
1646 |
"global state"
|
1647 |
],
|
|
|
|
|
|
|
|
|
1648 |
"time": "2017-04-27T15:39:26+00:00"
|
1649 |
},
|
1650 |
{
|
@@ -1692,6 +1807,10 @@
|
|
1692 |
],
|
1693 |
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
|
1694 |
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
|
|
|
|
|
|
|
|
|
1695 |
"funding": [
|
1696 |
{
|
1697 |
"url": "https://github.com/sebastianbergmann",
|
@@ -1743,6 +1862,10 @@
|
|
1743 |
],
|
1744 |
"description": "Allows reflection of object attributes, including inherited and non-public ones",
|
1745 |
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
|
|
|
|
|
|
|
|
|
1746 |
"funding": [
|
1747 |
{
|
1748 |
"url": "https://github.com/sebastianbergmann",
|
@@ -1802,6 +1925,10 @@
|
|
1802 |
],
|
1803 |
"description": "Provides functionality to recursively process PHP variables",
|
1804 |
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
|
|
|
|
|
|
|
|
1805 |
"funding": [
|
1806 |
{
|
1807 |
"url": "https://github.com/sebastianbergmann",
|
@@ -1850,6 +1977,10 @@
|
|
1850 |
],
|
1851 |
"description": "Provides a list of PHP built-in functions that operate on resources",
|
1852 |
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
|
|
|
|
|
|
|
|
|
1853 |
"time": "2015-07-28T20:34:47+00:00"
|
1854 |
},
|
1855 |
{
|
@@ -1893,40 +2024,45 @@
|
|
1893 |
],
|
1894 |
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
1895 |
"homepage": "https://github.com/sebastianbergmann/version",
|
|
|
|
|
|
|
|
|
1896 |
"time": "2016-10-03T07:35:21+00:00"
|
1897 |
},
|
1898 |
{
|
1899 |
"name": "symfony/console",
|
1900 |
-
"version": "v4.4.
|
1901 |
"source": {
|
1902 |
"type": "git",
|
1903 |
"url": "https://github.com/symfony/console.git",
|
1904 |
-
"reference": "
|
1905 |
},
|
1906 |
"dist": {
|
1907 |
"type": "zip",
|
1908 |
-
"url": "https://api.github.com/repos/symfony/console/zipball/
|
1909 |
-
"reference": "
|
1910 |
"shasum": ""
|
1911 |
},
|
1912 |
"require": {
|
1913 |
"php": ">=7.1.3",
|
1914 |
"symfony/polyfill-mbstring": "~1.0",
|
1915 |
"symfony/polyfill-php73": "^1.8",
|
1916 |
-
"symfony/polyfill-php80": "^1.
|
1917 |
"symfony/service-contracts": "^1.1|^2"
|
1918 |
},
|
1919 |
"conflict": {
|
|
|
1920 |
"symfony/dependency-injection": "<3.4",
|
1921 |
"symfony/event-dispatcher": "<4.3|>=5",
|
1922 |
"symfony/lock": "<4.4",
|
1923 |
"symfony/process": "<3.3"
|
1924 |
},
|
1925 |
"provide": {
|
1926 |
-
"psr/log-implementation": "1.0"
|
1927 |
},
|
1928 |
"require-dev": {
|
1929 |
-
"psr/log": "
|
1930 |
"symfony/config": "^3.4|^4.0|^5.0",
|
1931 |
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
|
1932 |
"symfony/event-dispatcher": "^4.3",
|
@@ -1965,6 +2101,9 @@
|
|
1965 |
],
|
1966 |
"description": "Eases the creation of beautiful and testable command line interfaces",
|
1967 |
"homepage": "https://symfony.com",
|
|
|
|
|
|
|
1968 |
"funding": [
|
1969 |
{
|
1970 |
"url": "https://symfony.com/sponsor",
|
@@ -1979,20 +2118,20 @@
|
|
1979 |
"type": "tidelift"
|
1980 |
}
|
1981 |
],
|
1982 |
-
"time": "2021-
|
1983 |
},
|
1984 |
{
|
1985 |
"name": "symfony/polyfill-ctype",
|
1986 |
-
"version": "v1.
|
1987 |
"source": {
|
1988 |
"type": "git",
|
1989 |
"url": "https://github.com/symfony/polyfill-ctype.git",
|
1990 |
-
"reference": "
|
1991 |
},
|
1992 |
"dist": {
|
1993 |
"type": "zip",
|
1994 |
-
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/
|
1995 |
-
"reference": "
|
1996 |
"shasum": ""
|
1997 |
},
|
1998 |
"require": {
|
@@ -2004,7 +2143,7 @@
|
|
2004 |
"type": "library",
|
2005 |
"extra": {
|
2006 |
"branch-alias": {
|
2007 |
-
"dev-main": "1.
|
2008 |
},
|
2009 |
"thanks": {
|
2010 |
"name": "symfony/polyfill",
|
@@ -2041,6 +2180,9 @@
|
|
2041 |
"polyfill",
|
2042 |
"portable"
|
2043 |
],
|
|
|
|
|
|
|
2044 |
"funding": [
|
2045 |
{
|
2046 |
"url": "https://symfony.com/sponsor",
|
@@ -2055,20 +2197,20 @@
|
|
2055 |
"type": "tidelift"
|
2056 |
}
|
2057 |
],
|
2058 |
-
"time": "2021-
|
2059 |
},
|
2060 |
{
|
2061 |
"name": "symfony/polyfill-mbstring",
|
2062 |
-
"version": "v1.
|
2063 |
"source": {
|
2064 |
"type": "git",
|
2065 |
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
2066 |
-
"reference": "
|
2067 |
},
|
2068 |
"dist": {
|
2069 |
"type": "zip",
|
2070 |
-
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/
|
2071 |
-
"reference": "
|
2072 |
"shasum": ""
|
2073 |
},
|
2074 |
"require": {
|
@@ -2080,7 +2222,7 @@
|
|
2080 |
"type": "library",
|
2081 |
"extra": {
|
2082 |
"branch-alias": {
|
2083 |
-
"dev-main": "1.
|
2084 |
},
|
2085 |
"thanks": {
|
2086 |
"name": "symfony/polyfill",
|
@@ -2118,6 +2260,9 @@
|
|
2118 |
"portable",
|
2119 |
"shim"
|
2120 |
],
|
|
|
|
|
|
|
2121 |
"funding": [
|
2122 |
{
|
2123 |
"url": "https://symfony.com/sponsor",
|
@@ -2132,20 +2277,20 @@
|
|
2132 |
"type": "tidelift"
|
2133 |
}
|
2134 |
],
|
2135 |
-
"time": "2021-
|
2136 |
},
|
2137 |
{
|
2138 |
"name": "symfony/polyfill-php73",
|
2139 |
-
"version": "v1.
|
2140 |
"source": {
|
2141 |
"type": "git",
|
2142 |
"url": "https://github.com/symfony/polyfill-php73.git",
|
2143 |
-
"reference": "
|
2144 |
},
|
2145 |
"dist": {
|
2146 |
"type": "zip",
|
2147 |
-
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/
|
2148 |
-
"reference": "
|
2149 |
"shasum": ""
|
2150 |
},
|
2151 |
"require": {
|
@@ -2154,7 +2299,7 @@
|
|
2154 |
"type": "library",
|
2155 |
"extra": {
|
2156 |
"branch-alias": {
|
2157 |
-
"dev-main": "1.
|
2158 |
},
|
2159 |
"thanks": {
|
2160 |
"name": "symfony/polyfill",
|
@@ -2194,6 +2339,9 @@
|
|
2194 |
"portable",
|
2195 |
"shim"
|
2196 |
],
|
|
|
|
|
|
|
2197 |
"funding": [
|
2198 |
{
|
2199 |
"url": "https://symfony.com/sponsor",
|
@@ -2208,20 +2356,20 @@
|
|
2208 |
"type": "tidelift"
|
2209 |
}
|
2210 |
],
|
2211 |
-
"time": "2021-
|
2212 |
},
|
2213 |
{
|
2214 |
"name": "symfony/polyfill-php80",
|
2215 |
-
"version": "v1.
|
2216 |
"source": {
|
2217 |
"type": "git",
|
2218 |
"url": "https://github.com/symfony/polyfill-php80.git",
|
2219 |
-
"reference": "
|
2220 |
},
|
2221 |
"dist": {
|
2222 |
"type": "zip",
|
2223 |
-
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/
|
2224 |
-
"reference": "
|
2225 |
"shasum": ""
|
2226 |
},
|
2227 |
"require": {
|
@@ -2230,7 +2378,7 @@
|
|
2230 |
"type": "library",
|
2231 |
"extra": {
|
2232 |
"branch-alias": {
|
2233 |
-
"dev-main": "1.
|
2234 |
},
|
2235 |
"thanks": {
|
2236 |
"name": "symfony/polyfill",
|
@@ -2274,6 +2422,9 @@
|
|
2274 |
"portable",
|
2275 |
"shim"
|
2276 |
],
|
|
|
|
|
|
|
2277 |
"funding": [
|
2278 |
{
|
2279 |
"url": "https://symfony.com/sponsor",
|
@@ -2288,25 +2439,25 @@
|
|
2288 |
"type": "tidelift"
|
2289 |
}
|
2290 |
],
|
2291 |
-
"time": "2021-
|
2292 |
},
|
2293 |
{
|
2294 |
"name": "symfony/service-contracts",
|
2295 |
-
"version": "v2.
|
2296 |
"source": {
|
2297 |
"type": "git",
|
2298 |
"url": "https://github.com/symfony/service-contracts.git",
|
2299 |
-
"reference": "
|
2300 |
},
|
2301 |
"dist": {
|
2302 |
"type": "zip",
|
2303 |
-
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/
|
2304 |
-
"reference": "
|
2305 |
"shasum": ""
|
2306 |
},
|
2307 |
"require": {
|
2308 |
"php": ">=7.2.5",
|
2309 |
-
"psr/container": "^1.
|
2310 |
},
|
2311 |
"suggest": {
|
2312 |
"symfony/service-implementation": ""
|
@@ -2314,7 +2465,7 @@
|
|
2314 |
"type": "library",
|
2315 |
"extra": {
|
2316 |
"branch-alias": {
|
2317 |
-
"dev-
|
2318 |
},
|
2319 |
"thanks": {
|
2320 |
"name": "symfony/contracts",
|
@@ -2350,6 +2501,9 @@
|
|
2350 |
"interoperability",
|
2351 |
"standards"
|
2352 |
],
|
|
|
|
|
|
|
2353 |
"funding": [
|
2354 |
{
|
2355 |
"url": "https://symfony.com/sponsor",
|
@@ -2364,20 +2518,20 @@
|
|
2364 |
"type": "tidelift"
|
2365 |
}
|
2366 |
],
|
2367 |
-
"time": "
|
2368 |
},
|
2369 |
{
|
2370 |
"name": "symfony/yaml",
|
2371 |
-
"version": "v4.4.
|
2372 |
"source": {
|
2373 |
"type": "git",
|
2374 |
"url": "https://github.com/symfony/yaml.git",
|
2375 |
-
"reference": "
|
2376 |
},
|
2377 |
"dist": {
|
2378 |
"type": "zip",
|
2379 |
-
"url": "https://api.github.com/repos/symfony/yaml/zipball/
|
2380 |
-
"reference": "
|
2381 |
"shasum": ""
|
2382 |
},
|
2383 |
"require": {
|
@@ -2418,6 +2572,9 @@
|
|
2418 |
],
|
2419 |
"description": "Loads and dumps YAML files",
|
2420 |
"homepage": "https://symfony.com",
|
|
|
|
|
|
|
2421 |
"funding": [
|
2422 |
{
|
2423 |
"url": "https://symfony.com/sponsor",
|
@@ -2432,20 +2589,20 @@
|
|
2432 |
"type": "tidelift"
|
2433 |
}
|
2434 |
],
|
2435 |
-
"time": "2021-
|
2436 |
},
|
2437 |
{
|
2438 |
"name": "theseer/tokenizer",
|
2439 |
-
"version": "1.2.
|
2440 |
"source": {
|
2441 |
"type": "git",
|
2442 |
"url": "https://github.com/theseer/tokenizer.git",
|
2443 |
-
"reference": "
|
2444 |
},
|
2445 |
"dist": {
|
2446 |
"type": "zip",
|
2447 |
-
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/
|
2448 |
-
"reference": "
|
2449 |
"shasum": ""
|
2450 |
},
|
2451 |
"require": {
|
@@ -2472,40 +2629,49 @@
|
|
2472 |
}
|
2473 |
],
|
2474 |
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
|
|
|
|
|
|
|
|
2475 |
"funding": [
|
2476 |
{
|
2477 |
"url": "https://github.com/theseer",
|
2478 |
"type": "github"
|
2479 |
}
|
2480 |
],
|
2481 |
-
"time": "
|
2482 |
},
|
2483 |
{
|
2484 |
"name": "webmozart/assert",
|
2485 |
-
"version": "1.
|
2486 |
"source": {
|
2487 |
"type": "git",
|
2488 |
"url": "https://github.com/webmozarts/assert.git",
|
2489 |
-
"reference": "
|
2490 |
},
|
2491 |
"dist": {
|
2492 |
"type": "zip",
|
2493 |
-
"url": "https://api.github.com/repos/webmozarts/assert/zipball/
|
2494 |
-
"reference": "
|
2495 |
"shasum": ""
|
2496 |
},
|
2497 |
"require": {
|
2498 |
-
"php": "^
|
2499 |
"symfony/polyfill-ctype": "^1.8"
|
2500 |
},
|
2501 |
"conflict": {
|
2502 |
"phpstan/phpstan": "<0.12.20",
|
2503 |
-
"vimeo/psalm": "<
|
2504 |
},
|
2505 |
"require-dev": {
|
2506 |
-
"phpunit/phpunit": "^
|
2507 |
},
|
2508 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
2509 |
"autoload": {
|
2510 |
"psr-4": {
|
2511 |
"Webmozart\\Assert\\": "src/"
|
@@ -2527,7 +2693,11 @@
|
|
2527 |
"check",
|
2528 |
"validate"
|
2529 |
],
|
2530 |
-
"
|
|
|
|
|
|
|
|
|
2531 |
}
|
2532 |
],
|
2533 |
"aliases": [],
|
@@ -2540,5 +2710,5 @@
|
|
2540 |
"prefer-lowest": false,
|
2541 |
"platform": [],
|
2542 |
"platform-dev": [],
|
2543 |
-
"plugin-api-version": "
|
2544 |
}
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "d055df81b8e80ccd42b2231042595e1f",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "facebook/php-business-sdk",
|
11 |
+
"version": "11.0.0",
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
15 |
+
"reference": "bd11628ea43903a95a656b8a5ea2789e4613b859"
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
+
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/bd11628ea43903a95a656b8a5ea2789e4613b859",
|
20 |
+
"reference": "bd11628ea43903a95a656b8a5ea2789e4613b859",
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
46 |
"sdk"
|
47 |
],
|
48 |
"support": {
|
49 |
+
"source": "https://github.com/facebook/facebook-php-business-sdk/tree/11.0.0"
|
50 |
},
|
51 |
+
"time": "2021-06-10T18:59:41+00:00"
|
52 |
},
|
53 |
{
|
54 |
"name": "techcrunch/wp-async-task",
|
68 |
"10up/wp_mock": "dev-master",
|
69 |
"phpunit/phpunit": "*@stable"
|
70 |
},
|
71 |
+
"default-branch": true,
|
72 |
"type": "wordpress-plugin",
|
73 |
"autoload": {
|
74 |
"classmap": [
|
100 |
}
|
101 |
],
|
102 |
"description": "Run asynchronous tasks for long-running operations in WordPress",
|
103 |
+
"support": {
|
104 |
+
"issues": "https://github.com/techcrunch/wp-async-task/issues",
|
105 |
+
"source": "https://github.com/techcrunch/wp-async-task/tree/master"
|
106 |
+
},
|
107 |
"time": "2016-03-10T17:37:13+00:00"
|
108 |
}
|
109 |
],
|
147 |
"GPL-2.0+"
|
148 |
],
|
149 |
"description": "A mocking library to take the pain out of unit testing for WordPress",
|
150 |
+
"support": {
|
151 |
+
"issues": "https://github.com/10up/wp_mock/issues",
|
152 |
+
"source": "https://github.com/10up/wp_mock/tree/master"
|
153 |
+
},
|
154 |
"time": "2017-12-03T19:28:28+00:00"
|
155 |
},
|
156 |
{
|
157 |
"name": "antecedent/patchwork",
|
158 |
+
"version": "2.1.15",
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/antecedent/patchwork.git",
|
162 |
+
"reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961"
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
+
"url": "https://api.github.com/repos/antecedent/patchwork/zipball/0430ceaac7f447f1778c199ec19d7e4362a6f961",
|
167 |
+
"reference": "0430ceaac7f447f1778c199ec19d7e4362a6f961",
|
168 |
"shasum": ""
|
169 |
},
|
170 |
"require": {
|
195 |
"runkit",
|
196 |
"testing"
|
197 |
],
|
198 |
+
"support": {
|
199 |
+
"issues": "https://github.com/antecedent/patchwork/issues",
|
200 |
+
"source": "https://github.com/antecedent/patchwork/tree/2.1.15"
|
201 |
+
},
|
202 |
+
"time": "2021-08-22T08:00:13+00:00"
|
203 |
},
|
204 |
{
|
205 |
"name": "doctrine/instantiator",
|
250 |
"constructor",
|
251 |
"instantiate"
|
252 |
],
|
253 |
+
"support": {
|
254 |
+
"issues": "https://github.com/doctrine/instantiator/issues",
|
255 |
+
"source": "https://github.com/doctrine/instantiator/tree/1.4.0"
|
256 |
+
},
|
257 |
"funding": [
|
258 |
{
|
259 |
"url": "https://www.doctrine-project.org/sponsorship.html",
|
315 |
"keywords": [
|
316 |
"test"
|
317 |
],
|
318 |
+
"support": {
|
319 |
+
"issues": "https://github.com/hamcrest/hamcrest-php/issues",
|
320 |
+
"source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
|
321 |
+
},
|
322 |
"time": "2020-07-09T08:09:16+00:00"
|
323 |
},
|
324 |
{
|
355 |
}
|
356 |
],
|
357 |
"description": "This package is a port of PhpDumentor/Parallel",
|
358 |
+
"support": {
|
359 |
+
"source": "https://github.com/MehrAlsNix/Parallel/tree/master"
|
360 |
+
},
|
361 |
"time": "2017-12-10T12:33:51+00:00"
|
362 |
},
|
363 |
{
|
364 |
"name": "mockery/mockery",
|
365 |
+
"version": "1.3.4",
|
366 |
"source": {
|
367 |
"type": "git",
|
368 |
"url": "https://github.com/mockery/mockery.git",
|
369 |
+
"reference": "31467aeb3ca3188158613322d66df81cedd86626"
|
370 |
},
|
371 |
"dist": {
|
372 |
"type": "zip",
|
373 |
+
"url": "https://api.github.com/repos/mockery/mockery/zipball/31467aeb3ca3188158613322d66df81cedd86626",
|
374 |
+
"reference": "31467aeb3ca3188158613322d66df81cedd86626",
|
375 |
"shasum": ""
|
376 |
},
|
377 |
"require": {
|
423 |
"test double",
|
424 |
"testing"
|
425 |
],
|
426 |
+
"support": {
|
427 |
+
"issues": "https://github.com/mockery/mockery/issues",
|
428 |
+
"source": "https://github.com/mockery/mockery/tree/1.3.4"
|
429 |
+
},
|
430 |
+
"time": "2021-02-24T09:51:00+00:00"
|
431 |
},
|
432 |
{
|
433 |
"name": "myclabs/deep-copy",
|
475 |
"object",
|
476 |
"object graph"
|
477 |
],
|
478 |
+
"support": {
|
479 |
+
"issues": "https://github.com/myclabs/DeepCopy/issues",
|
480 |
+
"source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
|
481 |
+
},
|
482 |
"funding": [
|
483 |
{
|
484 |
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
|
540 |
}
|
541 |
],
|
542 |
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
|
543 |
+
"support": {
|
544 |
+
"issues": "https://github.com/phar-io/manifest/issues",
|
545 |
+
"source": "https://github.com/phar-io/manifest/tree/master"
|
546 |
+
},
|
547 |
"time": "2017-03-05T18:14:27+00:00"
|
548 |
},
|
549 |
{
|
591 |
}
|
592 |
],
|
593 |
"description": "Library for handling version information and constraints",
|
594 |
+
"support": {
|
595 |
+
"issues": "https://github.com/phar-io/version/issues",
|
596 |
+
"source": "https://github.com/phar-io/version/tree/master"
|
597 |
+
},
|
598 |
"time": "2017-03-05T17:38:23+00:00"
|
599 |
},
|
600 |
{
|
692 |
"task",
|
693 |
"tool"
|
694 |
],
|
695 |
+
"support": {
|
696 |
+
"docs": "https://www.phing.info/docs/guide/stable/",
|
697 |
+
"irc": "irc://irc.freenode.net/phing",
|
698 |
+
"issues": "https://github.com/phingofficial/phing/issues",
|
699 |
+
"slack": "https://www.phing.info/slack",
|
700 |
+
"source": "https://github.com/phingofficial/phing/"
|
701 |
+
},
|
702 |
"time": "2018-03-23T09:07:02+00:00"
|
703 |
},
|
704 |
{
|
748 |
"reflection",
|
749 |
"static analysis"
|
750 |
],
|
751 |
+
"support": {
|
752 |
+
"issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
|
753 |
+
"source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
|
754 |
+
},
|
755 |
"time": "2020-06-27T09:03:43+00:00"
|
756 |
},
|
757 |
{
|
804 |
}
|
805 |
],
|
806 |
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
807 |
+
"support": {
|
808 |
+
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
|
809 |
+
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
|
810 |
+
},
|
811 |
"time": "2020-09-03T19:13:55+00:00"
|
812 |
},
|
813 |
{
|
853 |
}
|
854 |
],
|
855 |
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
|
856 |
+
"support": {
|
857 |
+
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
|
858 |
+
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"
|
859 |
+
},
|
860 |
"time": "2020-09-17T18:55:26+00:00"
|
861 |
},
|
862 |
{
|
920 |
"spy",
|
921 |
"stub"
|
922 |
],
|
923 |
+
"support": {
|
924 |
+
"issues": "https://github.com/phpspec/prophecy/issues",
|
925 |
+
"source": "https://github.com/phpspec/prophecy/tree/v1.10.3"
|
926 |
+
},
|
927 |
"time": "2020-03-05T15:02:03+00:00"
|
928 |
},
|
929 |
{
|
987 |
"testing",
|
988 |
"xunit"
|
989 |
],
|
990 |
+
"support": {
|
991 |
+
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
992 |
+
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/5.3"
|
993 |
+
},
|
994 |
"time": "2018-04-06T15:36:58+00:00"
|
995 |
},
|
996 |
{
|
1038 |
"filesystem",
|
1039 |
"iterator"
|
1040 |
],
|
1041 |
+
"support": {
|
1042 |
+
"irc": "irc://irc.freenode.net/phpunit",
|
1043 |
+
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
|
1044 |
+
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/1.4.5"
|
1045 |
+
},
|
1046 |
"time": "2017-11-27T13:52:08+00:00"
|
1047 |
},
|
1048 |
{
|
1084 |
"keywords": [
|
1085 |
"template"
|
1086 |
],
|
1087 |
+
"support": {
|
1088 |
+
"issues": "https://github.com/sebastianbergmann/php-text-template/issues",
|
1089 |
+
"source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1"
|
1090 |
+
},
|
1091 |
"time": "2015-06-21T13:50:34+00:00"
|
1092 |
},
|
1093 |
{
|
1137 |
"keywords": [
|
1138 |
"timer"
|
1139 |
],
|
1140 |
+
"support": {
|
1141 |
+
"issues": "https://github.com/sebastianbergmann/php-timer/issues",
|
1142 |
+
"source": "https://github.com/sebastianbergmann/php-timer/tree/master"
|
1143 |
+
},
|
1144 |
"time": "2017-02-26T11:10:40+00:00"
|
1145 |
},
|
1146 |
{
|
1190 |
"keywords": [
|
1191 |
"tokenizer"
|
1192 |
],
|
1193 |
+
"support": {
|
1194 |
+
"issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
|
1195 |
+
"source": "https://github.com/sebastianbergmann/php-token-stream/tree/master"
|
1196 |
+
},
|
1197 |
"abandoned": true,
|
1198 |
"time": "2017-11-27T05:48:46+00:00"
|
1199 |
},
|
1279 |
"testing",
|
1280 |
"xunit"
|
1281 |
],
|
1282 |
+
"support": {
|
1283 |
+
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
1284 |
+
"source": "https://github.com/sebastianbergmann/phpunit/tree/6.5.14"
|
1285 |
+
},
|
1286 |
"time": "2019-02-01T05:22:47+00:00"
|
1287 |
},
|
1288 |
{
|
1342 |
"mock",
|
1343 |
"xunit"
|
1344 |
],
|
1345 |
+
"support": {
|
1346 |
+
"issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues",
|
1347 |
+
"source": "https://github.com/sebastianbergmann/phpunit-mock-objects/tree/5.0.10"
|
1348 |
+
},
|
1349 |
"abandoned": true,
|
1350 |
"time": "2018-08-09T05:50:03+00:00"
|
1351 |
},
|
1352 |
{
|
1353 |
"name": "psr/container",
|
1354 |
+
"version": "1.1.1",
|
1355 |
"source": {
|
1356 |
"type": "git",
|
1357 |
"url": "https://github.com/php-fig/container.git",
|
1358 |
+
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
|
1359 |
},
|
1360 |
"dist": {
|
1361 |
"type": "zip",
|
1362 |
+
"url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
|
1363 |
+
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
|
1364 |
"shasum": ""
|
1365 |
},
|
1366 |
"require": {
|
1367 |
+
"php": ">=7.2.0"
|
1368 |
},
|
1369 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
1370 |
"autoload": {
|
1371 |
"psr-4": {
|
1372 |
"Psr\\Container\\": "src/"
|
1379 |
"authors": [
|
1380 |
{
|
1381 |
"name": "PHP-FIG",
|
1382 |
+
"homepage": "https://www.php-fig.org/"
|
1383 |
}
|
1384 |
],
|
1385 |
"description": "Common Container Interface (PHP FIG PSR-11)",
|
1391 |
"container-interop",
|
1392 |
"psr"
|
1393 |
],
|
1394 |
+
"support": {
|
1395 |
+
"issues": "https://github.com/php-fig/container/issues",
|
1396 |
+
"source": "https://github.com/php-fig/container/tree/1.1.1"
|
1397 |
+
},
|
1398 |
+
"time": "2021-03-05T17:36:06+00:00"
|
1399 |
},
|
1400 |
{
|
1401 |
"name": "sebastian/code-unit-reverse-lookup",
|
1440 |
],
|
1441 |
"description": "Looks up which function or method a line of code belongs to",
|
1442 |
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
|
1443 |
+
"support": {
|
1444 |
+
"issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
|
1445 |
+
"source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2"
|
1446 |
+
},
|
1447 |
"funding": [
|
1448 |
{
|
1449 |
"url": "https://github.com/sebastianbergmann",
|
1514 |
"compare",
|
1515 |
"equality"
|
1516 |
],
|
1517 |
+
"support": {
|
1518 |
+
"issues": "https://github.com/sebastianbergmann/comparator/issues",
|
1519 |
+
"source": "https://github.com/sebastianbergmann/comparator/tree/master"
|
1520 |
+
},
|
1521 |
"time": "2018-02-01T13:46:46+00:00"
|
1522 |
},
|
1523 |
{
|
1570 |
"keywords": [
|
1571 |
"diff"
|
1572 |
],
|
1573 |
+
"support": {
|
1574 |
+
"issues": "https://github.com/sebastianbergmann/diff/issues",
|
1575 |
+
"source": "https://github.com/sebastianbergmann/diff/tree/master"
|
1576 |
+
},
|
1577 |
"time": "2017-08-03T08:09:46+00:00"
|
1578 |
},
|
1579 |
{
|
1624 |
"environment",
|
1625 |
"hhvm"
|
1626 |
],
|
1627 |
+
"support": {
|
1628 |
+
"issues": "https://github.com/sebastianbergmann/environment/issues",
|
1629 |
+
"source": "https://github.com/sebastianbergmann/environment/tree/master"
|
1630 |
+
},
|
1631 |
"time": "2017-07-01T08:51:00+00:00"
|
1632 |
},
|
1633 |
{
|
1695 |
"export",
|
1696 |
"exporter"
|
1697 |
],
|
1698 |
+
"support": {
|
1699 |
+
"issues": "https://github.com/sebastianbergmann/exporter/issues",
|
1700 |
+
"source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3"
|
1701 |
+
},
|
1702 |
"funding": [
|
1703 |
{
|
1704 |
"url": "https://github.com/sebastianbergmann",
|
1756 |
"keywords": [
|
1757 |
"global state"
|
1758 |
],
|
1759 |
+
"support": {
|
1760 |
+
"issues": "https://github.com/sebastianbergmann/global-state/issues",
|
1761 |
+
"source": "https://github.com/sebastianbergmann/global-state/tree/2.0.0"
|
1762 |
+
},
|
1763 |
"time": "2017-04-27T15:39:26+00:00"
|
1764 |
},
|
1765 |
{
|
1807 |
],
|
1808 |
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
|
1809 |
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
|
1810 |
+
"support": {
|
1811 |
+
"issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
|
1812 |
+
"source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4"
|
1813 |
+
},
|
1814 |
"funding": [
|
1815 |
{
|
1816 |
"url": "https://github.com/sebastianbergmann",
|
1862 |
],
|
1863 |
"description": "Allows reflection of object attributes, including inherited and non-public ones",
|
1864 |
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
|
1865 |
+
"support": {
|
1866 |
+
"issues": "https://github.com/sebastianbergmann/object-reflector/issues",
|
1867 |
+
"source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2"
|
1868 |
+
},
|
1869 |
"funding": [
|
1870 |
{
|
1871 |
"url": "https://github.com/sebastianbergmann",
|
1925 |
],
|
1926 |
"description": "Provides functionality to recursively process PHP variables",
|
1927 |
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
1928 |
+
"support": {
|
1929 |
+
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
|
1930 |
+
"source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1"
|
1931 |
+
},
|
1932 |
"funding": [
|
1933 |
{
|
1934 |
"url": "https://github.com/sebastianbergmann",
|
1977 |
],
|
1978 |
"description": "Provides a list of PHP built-in functions that operate on resources",
|
1979 |
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
|
1980 |
+
"support": {
|
1981 |
+
"issues": "https://github.com/sebastianbergmann/resource-operations/issues",
|
1982 |
+
"source": "https://github.com/sebastianbergmann/resource-operations/tree/master"
|
1983 |
+
},
|
1984 |
"time": "2015-07-28T20:34:47+00:00"
|
1985 |
},
|
1986 |
{
|
2024 |
],
|
2025 |
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
2026 |
"homepage": "https://github.com/sebastianbergmann/version",
|
2027 |
+
"support": {
|
2028 |
+
"issues": "https://github.com/sebastianbergmann/version/issues",
|
2029 |
+
"source": "https://github.com/sebastianbergmann/version/tree/master"
|
2030 |
+
},
|
2031 |
"time": "2016-10-03T07:35:21+00:00"
|
2032 |
},
|
2033 |
{
|
2034 |
"name": "symfony/console",
|
2035 |
+
"version": "v4.4.30",
|
2036 |
"source": {
|
2037 |
"type": "git",
|
2038 |
"url": "https://github.com/symfony/console.git",
|
2039 |
+
"reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22"
|
2040 |
},
|
2041 |
"dist": {
|
2042 |
"type": "zip",
|
2043 |
+
"url": "https://api.github.com/repos/symfony/console/zipball/a3f7189a0665ee33b50e9e228c46f50f5acbed22",
|
2044 |
+
"reference": "a3f7189a0665ee33b50e9e228c46f50f5acbed22",
|
2045 |
"shasum": ""
|
2046 |
},
|
2047 |
"require": {
|
2048 |
"php": ">=7.1.3",
|
2049 |
"symfony/polyfill-mbstring": "~1.0",
|
2050 |
"symfony/polyfill-php73": "^1.8",
|
2051 |
+
"symfony/polyfill-php80": "^1.16",
|
2052 |
"symfony/service-contracts": "^1.1|^2"
|
2053 |
},
|
2054 |
"conflict": {
|
2055 |
+
"psr/log": ">=3",
|
2056 |
"symfony/dependency-injection": "<3.4",
|
2057 |
"symfony/event-dispatcher": "<4.3|>=5",
|
2058 |
"symfony/lock": "<4.4",
|
2059 |
"symfony/process": "<3.3"
|
2060 |
},
|
2061 |
"provide": {
|
2062 |
+
"psr/log-implementation": "1.0|2.0"
|
2063 |
},
|
2064 |
"require-dev": {
|
2065 |
+
"psr/log": "^1|^2",
|
2066 |
"symfony/config": "^3.4|^4.0|^5.0",
|
2067 |
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
|
2068 |
"symfony/event-dispatcher": "^4.3",
|
2101 |
],
|
2102 |
"description": "Eases the creation of beautiful and testable command line interfaces",
|
2103 |
"homepage": "https://symfony.com",
|
2104 |
+
"support": {
|
2105 |
+
"source": "https://github.com/symfony/console/tree/v4.4.30"
|
2106 |
+
},
|
2107 |
"funding": [
|
2108 |
{
|
2109 |
"url": "https://symfony.com/sponsor",
|
2118 |
"type": "tidelift"
|
2119 |
}
|
2120 |
],
|
2121 |
+
"time": "2021-08-25T19:27:26+00:00"
|
2122 |
},
|
2123 |
{
|
2124 |
"name": "symfony/polyfill-ctype",
|
2125 |
+
"version": "v1.23.0",
|
2126 |
"source": {
|
2127 |
"type": "git",
|
2128 |
"url": "https://github.com/symfony/polyfill-ctype.git",
|
2129 |
+
"reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
|
2130 |
},
|
2131 |
"dist": {
|
2132 |
"type": "zip",
|
2133 |
+
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
|
2134 |
+
"reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
|
2135 |
"shasum": ""
|
2136 |
},
|
2137 |
"require": {
|
2143 |
"type": "library",
|
2144 |
"extra": {
|
2145 |
"branch-alias": {
|
2146 |
+
"dev-main": "1.23-dev"
|
2147 |
},
|
2148 |
"thanks": {
|
2149 |
"name": "symfony/polyfill",
|
2180 |
"polyfill",
|
2181 |
"portable"
|
2182 |
],
|
2183 |
+
"support": {
|
2184 |
+
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
|
2185 |
+
},
|
2186 |
"funding": [
|
2187 |
{
|
2188 |
"url": "https://symfony.com/sponsor",
|
2197 |
"type": "tidelift"
|
2198 |
}
|
2199 |
],
|
2200 |
+
"time": "2021-02-19T12:13:01+00:00"
|
2201 |
},
|
2202 |
{
|
2203 |
"name": "symfony/polyfill-mbstring",
|
2204 |
+
"version": "v1.23.1",
|
2205 |
"source": {
|
2206 |
"type": "git",
|
2207 |
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
2208 |
+
"reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6"
|
2209 |
},
|
2210 |
"dist": {
|
2211 |
"type": "zip",
|
2212 |
+
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6",
|
2213 |
+
"reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6",
|
2214 |
"shasum": ""
|
2215 |
},
|
2216 |
"require": {
|
2222 |
"type": "library",
|
2223 |
"extra": {
|
2224 |
"branch-alias": {
|
2225 |
+
"dev-main": "1.23-dev"
|
2226 |
},
|
2227 |
"thanks": {
|
2228 |
"name": "symfony/polyfill",
|
2260 |
"portable",
|
2261 |
"shim"
|
2262 |
],
|
2263 |
+
"support": {
|
2264 |
+
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
|
2265 |
+
},
|
2266 |
"funding": [
|
2267 |
{
|
2268 |
"url": "https://symfony.com/sponsor",
|
2277 |
"type": "tidelift"
|
2278 |
}
|
2279 |
],
|
2280 |
+
"time": "2021-05-27T12:26:48+00:00"
|
2281 |
},
|
2282 |
{
|
2283 |
"name": "symfony/polyfill-php73",
|
2284 |
+
"version": "v1.23.0",
|
2285 |
"source": {
|
2286 |
"type": "git",
|
2287 |
"url": "https://github.com/symfony/polyfill-php73.git",
|
2288 |
+
"reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
|
2289 |
},
|
2290 |
"dist": {
|
2291 |
"type": "zip",
|
2292 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
|
2293 |
+
"reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
|
2294 |
"shasum": ""
|
2295 |
},
|
2296 |
"require": {
|
2299 |
"type": "library",
|
2300 |
"extra": {
|
2301 |
"branch-alias": {
|
2302 |
+
"dev-main": "1.23-dev"
|
2303 |
},
|
2304 |
"thanks": {
|
2305 |
"name": "symfony/polyfill",
|
2339 |
"portable",
|
2340 |
"shim"
|
2341 |
],
|
2342 |
+
"support": {
|
2343 |
+
"source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
|
2344 |
+
},
|
2345 |
"funding": [
|
2346 |
{
|
2347 |
"url": "https://symfony.com/sponsor",
|
2356 |
"type": "tidelift"
|
2357 |
}
|
2358 |
],
|
2359 |
+
"time": "2021-02-19T12:13:01+00:00"
|
2360 |
},
|
2361 |
{
|
2362 |
"name": "symfony/polyfill-php80",
|
2363 |
+
"version": "v1.23.1",
|
2364 |
"source": {
|
2365 |
"type": "git",
|
2366 |
"url": "https://github.com/symfony/polyfill-php80.git",
|
2367 |
+
"reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be"
|
2368 |
},
|
2369 |
"dist": {
|
2370 |
"type": "zip",
|
2371 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be",
|
2372 |
+
"reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be",
|
2373 |
"shasum": ""
|
2374 |
},
|
2375 |
"require": {
|
2378 |
"type": "library",
|
2379 |
"extra": {
|
2380 |
"branch-alias": {
|
2381 |
+
"dev-main": "1.23-dev"
|
2382 |
},
|
2383 |
"thanks": {
|
2384 |
"name": "symfony/polyfill",
|
2422 |
"portable",
|
2423 |
"shim"
|
2424 |
],
|
2425 |
+
"support": {
|
2426 |
+
"source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1"
|
2427 |
+
},
|
2428 |
"funding": [
|
2429 |
{
|
2430 |
"url": "https://symfony.com/sponsor",
|
2439 |
"type": "tidelift"
|
2440 |
}
|
2441 |
],
|
2442 |
+
"time": "2021-07-28T13:41:28+00:00"
|
2443 |
},
|
2444 |
{
|
2445 |
"name": "symfony/service-contracts",
|
2446 |
+
"version": "v2.4.0",
|
2447 |
"source": {
|
2448 |
"type": "git",
|
2449 |
"url": "https://github.com/symfony/service-contracts.git",
|
2450 |
+
"reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb"
|
2451 |
},
|
2452 |
"dist": {
|
2453 |
"type": "zip",
|
2454 |
+
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
|
2455 |
+
"reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb",
|
2456 |
"shasum": ""
|
2457 |
},
|
2458 |
"require": {
|
2459 |
"php": ">=7.2.5",
|
2460 |
+
"psr/container": "^1.1"
|
2461 |
},
|
2462 |
"suggest": {
|
2463 |
"symfony/service-implementation": ""
|
2465 |
"type": "library",
|
2466 |
"extra": {
|
2467 |
"branch-alias": {
|
2468 |
+
"dev-main": "2.4-dev"
|
2469 |
},
|
2470 |
"thanks": {
|
2471 |
"name": "symfony/contracts",
|
2501 |
"interoperability",
|
2502 |
"standards"
|
2503 |
],
|
2504 |
+
"support": {
|
2505 |
+
"source": "https://github.com/symfony/service-contracts/tree/v2.4.0"
|
2506 |
+
},
|
2507 |
"funding": [
|
2508 |
{
|
2509 |
"url": "https://symfony.com/sponsor",
|
2518 |
"type": "tidelift"
|
2519 |
}
|
2520 |
],
|
2521 |
+
"time": "2021-04-01T10:43:52+00:00"
|
2522 |
},
|
2523 |
{
|
2524 |
"name": "symfony/yaml",
|
2525 |
+
"version": "v4.4.29",
|
2526 |
"source": {
|
2527 |
"type": "git",
|
2528 |
"url": "https://github.com/symfony/yaml.git",
|
2529 |
+
"reference": "3abcc4db06d4e776825eaa3ed8ad924d5bc7432a"
|
2530 |
},
|
2531 |
"dist": {
|
2532 |
"type": "zip",
|
2533 |
+
"url": "https://api.github.com/repos/symfony/yaml/zipball/3abcc4db06d4e776825eaa3ed8ad924d5bc7432a",
|
2534 |
+
"reference": "3abcc4db06d4e776825eaa3ed8ad924d5bc7432a",
|
2535 |
"shasum": ""
|
2536 |
},
|
2537 |
"require": {
|
2572 |
],
|
2573 |
"description": "Loads and dumps YAML files",
|
2574 |
"homepage": "https://symfony.com",
|
2575 |
+
"support": {
|
2576 |
+
"source": "https://github.com/symfony/yaml/tree/v4.4.29"
|
2577 |
+
},
|
2578 |
"funding": [
|
2579 |
{
|
2580 |
"url": "https://symfony.com/sponsor",
|
2589 |
"type": "tidelift"
|
2590 |
}
|
2591 |
],
|
2592 |
+
"time": "2021-07-27T16:19:30+00:00"
|
2593 |
},
|
2594 |
{
|
2595 |
"name": "theseer/tokenizer",
|
2596 |
+
"version": "1.2.1",
|
2597 |
"source": {
|
2598 |
"type": "git",
|
2599 |
"url": "https://github.com/theseer/tokenizer.git",
|
2600 |
+
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
|
2601 |
},
|
2602 |
"dist": {
|
2603 |
"type": "zip",
|
2604 |
+
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
|
2605 |
+
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
|
2606 |
"shasum": ""
|
2607 |
},
|
2608 |
"require": {
|
2629 |
}
|
2630 |
],
|
2631 |
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
2632 |
+
"support": {
|
2633 |
+
"issues": "https://github.com/theseer/tokenizer/issues",
|
2634 |
+
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
|
2635 |
+
},
|
2636 |
"funding": [
|
2637 |
{
|
2638 |
"url": "https://github.com/theseer",
|
2639 |
"type": "github"
|
2640 |
}
|
2641 |
],
|
2642 |
+
"time": "2021-07-28T10:34:58+00:00"
|
2643 |
},
|
2644 |
{
|
2645 |
"name": "webmozart/assert",
|
2646 |
+
"version": "1.10.0",
|
2647 |
"source": {
|
2648 |
"type": "git",
|
2649 |
"url": "https://github.com/webmozarts/assert.git",
|
2650 |
+
"reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
|
2651 |
},
|
2652 |
"dist": {
|
2653 |
"type": "zip",
|
2654 |
+
"url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
|
2655 |
+
"reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
|
2656 |
"shasum": ""
|
2657 |
},
|
2658 |
"require": {
|
2659 |
+
"php": "^7.2 || ^8.0",
|
2660 |
"symfony/polyfill-ctype": "^1.8"
|
2661 |
},
|
2662 |
"conflict": {
|
2663 |
"phpstan/phpstan": "<0.12.20",
|
2664 |
+
"vimeo/psalm": "<4.6.1 || 4.6.2"
|
2665 |
},
|
2666 |
"require-dev": {
|
2667 |
+
"phpunit/phpunit": "^8.5.13"
|
2668 |
},
|
2669 |
"type": "library",
|
2670 |
+
"extra": {
|
2671 |
+
"branch-alias": {
|
2672 |
+
"dev-master": "1.10-dev"
|
2673 |
+
}
|
2674 |
+
},
|
2675 |
"autoload": {
|
2676 |
"psr-4": {
|
2677 |
"Webmozart\\Assert\\": "src/"
|
2693 |
"check",
|
2694 |
"validate"
|
2695 |
],
|
2696 |
+
"support": {
|
2697 |
+
"issues": "https://github.com/webmozarts/assert/issues",
|
2698 |
+
"source": "https://github.com/webmozarts/assert/tree/1.10.0"
|
2699 |
+
},
|
2700 |
+
"time": "2021-03-09T10:59:23+00:00"
|
2701 |
}
|
2702 |
],
|
2703 |
"aliases": [],
|
2710 |
"prefer-lowest": false,
|
2711 |
"platform": [],
|
2712 |
"platform-dev": [],
|
2713 |
+
"plugin-api-version": "2.1.0"
|
2714 |
}
|
composer.phar
ADDED
Binary file
|
core/FacebookPluginConfig.php
CHANGED
@@ -20,7 +20,7 @@ namespace FacebookPixelPlugin\Core;
|
|
20 |
defined('ABSPATH') or die('Direct access not allowed');
|
21 |
|
22 |
class FacebookPluginConfig {
|
23 |
-
const PLUGIN_VERSION = '3.0.
|
24 |
const SOURCE = 'wordpress';
|
25 |
const TEXT_DOMAIN = 'official-facebook-pixel';
|
26 |
const PLUGIN_NAME = 'Facebook for WordPress';
|
20 |
defined('ABSPATH') or die('Direct access not allowed');
|
21 |
|
22 |
class FacebookPluginConfig {
|
23 |
+
const PLUGIN_VERSION = '3.0.6';
|
24 |
const SOURCE = 'wordpress';
|
25 |
const TEXT_DOMAIN = 'official-facebook-pixel';
|
26 |
const PLUGIN_NAME = 'Facebook for WordPress';
|
facebook-for-wordpress.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
|
6 |
* Author: Facebook
|
7 |
* Author URI: https://www.facebook.com/
|
8 |
-
* Version: 3.0.
|
9 |
* Text Domain: official-facebook-pixel
|
10 |
*/
|
11 |
|
5 |
* Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
|
6 |
* Author: Facebook
|
7 |
* Author URI: https://www.facebook.com/
|
8 |
+
* Version: 3.0.6
|
9 |
* Text Domain: official-facebook-pixel
|
10 |
*/
|
11 |
|
languages/official-facebook-pixel-ar_AR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-cs_CZ.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-da_DK.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-de_DE.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-en_GB.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-es_ES.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-es_LA.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-fi_FI.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-fr_CA.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-fr_FR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-he_IL.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-it_IT.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-ja_JP.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-ko_KR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-nb_NO.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-nl_NL.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-pl_PL.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-pt_BR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-pt_PT.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-ru_RU.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-sv_SE.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-th_TH.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
|
7 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
8 |
"PO-Revision-Date: 2018-11-28 17:37-0800\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
|
7 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
8 |
"PO-Revision-Date: 2018-11-28 17:37-0800\n"
|
languages/official-facebook-pixel-tr_TR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-vi_VN.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-zh_CN.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
languages/official-facebook-pixel-zh_TW.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Facebook for WordPress 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
2 |
# This file is distributed under the same license as the Facebook Pixel package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Facebook for WordPress 3.0.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
|
7 |
"pixel\n"
|
8 |
"POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
|
readme.txt
CHANGED
@@ -57,6 +57,8 @@ If you get stuck, or have any questions, you can ask for help in the [Facebook f
|
|
57 |
Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
|
58 |
|
59 |
== Changelog ==
|
|
|
|
|
60 |
|
61 |
= 2021-03-10 version 3.0.5 =
|
62 |
* Support for WordPress 5.7
|
57 |
Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
|
58 |
|
59 |
== Changelog ==
|
60 |
+
= 2021-08-30 version 3.0.6 =
|
61 |
+
* Update Facebook Business SDK to v11.0.0
|
62 |
|
63 |
= 2021-03-10 version 3.0.5 =
|
64 |
* Support for WordPress 5.7
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit45df9d4bf279a053c19337b2ad5cfea4::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -37,11 +37,13 @@ namespace Composer\Autoload;
|
|
37 |
*
|
38 |
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
-
* @see
|
41 |
-
* @see
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
|
|
|
|
45 |
// PSR-4
|
46 |
private $prefixLengthsPsr4 = array();
|
47 |
private $prefixDirsPsr4 = array();
|
@@ -57,10 +59,17 @@ class ClassLoader
|
|
57 |
private $missingClasses = array();
|
58 |
private $apcuPrefix;
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
public function getPrefixes()
|
61 |
{
|
62 |
if (!empty($this->prefixesPsr0)) {
|
63 |
-
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
64 |
}
|
65 |
|
66 |
return array();
|
@@ -300,6 +309,17 @@ class ClassLoader
|
|
300 |
public function register($prepend = false)
|
301 |
{
|
302 |
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
}
|
304 |
|
305 |
/**
|
@@ -308,13 +328,17 @@ class ClassLoader
|
|
308 |
public function unregister()
|
309 |
{
|
310 |
spl_autoload_unregister(array($this, 'loadClass'));
|
|
|
|
|
|
|
|
|
311 |
}
|
312 |
|
313 |
/**
|
314 |
* Loads the given class or interface.
|
315 |
*
|
316 |
* @param string $class The name of the class
|
317 |
-
* @return
|
318 |
*/
|
319 |
public function loadClass($class)
|
320 |
{
|
@@ -323,6 +347,8 @@ class ClassLoader
|
|
323 |
|
324 |
return true;
|
325 |
}
|
|
|
|
|
326 |
}
|
327 |
|
328 |
/**
|
@@ -367,6 +393,16 @@ class ClassLoader
|
|
367 |
return $file;
|
368 |
}
|
369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
private function findFileWithExtension($class, $ext)
|
371 |
{
|
372 |
// PSR-4 lookup
|
37 |
*
|
38 |
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
+
* @see https://www.php-fig.org/psr/psr-0/
|
41 |
+
* @see https://www.php-fig.org/psr/psr-4/
|
42 |
*/
|
43 |
class ClassLoader
|
44 |
{
|
45 |
+
private $vendorDir;
|
46 |
+
|
47 |
// PSR-4
|
48 |
private $prefixLengthsPsr4 = array();
|
49 |
private $prefixDirsPsr4 = array();
|
59 |
private $missingClasses = array();
|
60 |
private $apcuPrefix;
|
61 |
|
62 |
+
private static $registeredLoaders = array();
|
63 |
+
|
64 |
+
public function __construct($vendorDir = null)
|
65 |
+
{
|
66 |
+
$this->vendorDir = $vendorDir;
|
67 |
+
}
|
68 |
+
|
69 |
public function getPrefixes()
|
70 |
{
|
71 |
if (!empty($this->prefixesPsr0)) {
|
72 |
+
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
|
73 |
}
|
74 |
|
75 |
return array();
|
309 |
public function register($prepend = false)
|
310 |
{
|
311 |
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
312 |
+
|
313 |
+
if (null === $this->vendorDir) {
|
314 |
+
return;
|
315 |
+
}
|
316 |
+
|
317 |
+
if ($prepend) {
|
318 |
+
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
|
319 |
+
} else {
|
320 |
+
unset(self::$registeredLoaders[$this->vendorDir]);
|
321 |
+
self::$registeredLoaders[$this->vendorDir] = $this;
|
322 |
+
}
|
323 |
}
|
324 |
|
325 |
/**
|
328 |
public function unregister()
|
329 |
{
|
330 |
spl_autoload_unregister(array($this, 'loadClass'));
|
331 |
+
|
332 |
+
if (null !== $this->vendorDir) {
|
333 |
+
unset(self::$registeredLoaders[$this->vendorDir]);
|
334 |
+
}
|
335 |
}
|
336 |
|
337 |
/**
|
338 |
* Loads the given class or interface.
|
339 |
*
|
340 |
* @param string $class The name of the class
|
341 |
+
* @return true|null True if loaded, null otherwise
|
342 |
*/
|
343 |
public function loadClass($class)
|
344 |
{
|
347 |
|
348 |
return true;
|
349 |
}
|
350 |
+
|
351 |
+
return null;
|
352 |
}
|
353 |
|
354 |
/**
|
393 |
return $file;
|
394 |
}
|
395 |
|
396 |
+
/**
|
397 |
+
* Returns the currently registered loaders indexed by their corresponding vendor directories.
|
398 |
+
*
|
399 |
+
* @return self[]
|
400 |
+
*/
|
401 |
+
public static function getRegisteredLoaders()
|
402 |
+
{
|
403 |
+
return self::$registeredLoaders;
|
404 |
+
}
|
405 |
+
|
406 |
private function findFileWithExtension($class, $ext)
|
407 |
{
|
408 |
// PSR-4 lookup
|
vendor/composer/InstalledVersions.php
ADDED
@@ -0,0 +1,337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of Composer.
|
5 |
+
*
|
6 |
+
* (c) Nils Adermann <naderman@naderman.de>
|
7 |
+
* Jordi Boggiano <j.boggiano@seld.be>
|
8 |
+
*
|
9 |
+
* For the full copyright and license information, please view the LICENSE
|
10 |
+
* file that was distributed with this source code.
|
11 |
+
*/
|
12 |
+
|
13 |
+
namespace Composer;
|
14 |
+
|
15 |
+
use Composer\Autoload\ClassLoader;
|
16 |
+
use Composer\Semver\VersionParser;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* This class is copied in every Composer installed project and available to all
|
20 |
+
*
|
21 |
+
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
+
*
|
23 |
+
* To require it's presence, you can require `composer-runtime-api ^2.0`
|
24 |
+
*/
|
25 |
+
class InstalledVersions
|
26 |
+
{
|
27 |
+
private static $installed;
|
28 |
+
private static $canGetVendors;
|
29 |
+
private static $installedByVendor = array();
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Returns a list of all package names which are present, either by being installed, replaced or provided
|
33 |
+
*
|
34 |
+
* @return string[]
|
35 |
+
* @psalm-return list<string>
|
36 |
+
*/
|
37 |
+
public static function getInstalledPackages()
|
38 |
+
{
|
39 |
+
$packages = array();
|
40 |
+
foreach (self::getInstalled() as $installed) {
|
41 |
+
$packages[] = array_keys($installed['versions']);
|
42 |
+
}
|
43 |
+
|
44 |
+
if (1 === \count($packages)) {
|
45 |
+
return $packages[0];
|
46 |
+
}
|
47 |
+
|
48 |
+
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Returns a list of all package names with a specific type e.g. 'library'
|
53 |
+
*
|
54 |
+
* @param string $type
|
55 |
+
* @return string[]
|
56 |
+
* @psalm-return list<string>
|
57 |
+
*/
|
58 |
+
public static function getInstalledPackagesByType($type)
|
59 |
+
{
|
60 |
+
$packagesByType = array();
|
61 |
+
|
62 |
+
foreach (self::getInstalled() as $installed) {
|
63 |
+
foreach ($installed['versions'] as $name => $package) {
|
64 |
+
if (isset($package['type']) && $package['type'] === $type) {
|
65 |
+
$packagesByType[] = $name;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
return $packagesByType;
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Checks whether the given package is installed
|
75 |
+
*
|
76 |
+
* This also returns true if the package name is provided or replaced by another package
|
77 |
+
*
|
78 |
+
* @param string $packageName
|
79 |
+
* @param bool $includeDevRequirements
|
80 |
+
* @return bool
|
81 |
+
*/
|
82 |
+
public static function isInstalled($packageName, $includeDevRequirements = true)
|
83 |
+
{
|
84 |
+
foreach (self::getInstalled() as $installed) {
|
85 |
+
if (isset($installed['versions'][$packageName])) {
|
86 |
+
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
|
87 |
+
}
|
88 |
+
}
|
89 |
+
|
90 |
+
return false;
|
91 |
+
}
|
92 |
+
|
93 |
+
/**
|
94 |
+
* Checks whether the given package satisfies a version constraint
|
95 |
+
*
|
96 |
+
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
|
97 |
+
*
|
98 |
+
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
|
99 |
+
*
|
100 |
+
* @param VersionParser $parser Install composer/semver to have access to this class and functionality
|
101 |
+
* @param string $packageName
|
102 |
+
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
|
103 |
+
* @return bool
|
104 |
+
*/
|
105 |
+
public static function satisfies(VersionParser $parser, $packageName, $constraint)
|
106 |
+
{
|
107 |
+
$constraint = $parser->parseConstraints($constraint);
|
108 |
+
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
|
109 |
+
|
110 |
+
return $provided->matches($constraint);
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* Returns a version constraint representing all the range(s) which are installed for a given package
|
115 |
+
*
|
116 |
+
* It is easier to use this via isInstalled() with the $constraint argument if you need to check
|
117 |
+
* whether a given version of a package is installed, and not just whether it exists
|
118 |
+
*
|
119 |
+
* @param string $packageName
|
120 |
+
* @return string Version constraint usable with composer/semver
|
121 |
+
*/
|
122 |
+
public static function getVersionRanges($packageName)
|
123 |
+
{
|
124 |
+
foreach (self::getInstalled() as $installed) {
|
125 |
+
if (!isset($installed['versions'][$packageName])) {
|
126 |
+
continue;
|
127 |
+
}
|
128 |
+
|
129 |
+
$ranges = array();
|
130 |
+
if (isset($installed['versions'][$packageName]['pretty_version'])) {
|
131 |
+
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
|
132 |
+
}
|
133 |
+
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
|
134 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
|
135 |
+
}
|
136 |
+
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
|
137 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
|
138 |
+
}
|
139 |
+
if (array_key_exists('provided', $installed['versions'][$packageName])) {
|
140 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
|
141 |
+
}
|
142 |
+
|
143 |
+
return implode(' || ', $ranges);
|
144 |
+
}
|
145 |
+
|
146 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
147 |
+
}
|
148 |
+
|
149 |
+
/**
|
150 |
+
* @param string $packageName
|
151 |
+
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
|
152 |
+
*/
|
153 |
+
public static function getVersion($packageName)
|
154 |
+
{
|
155 |
+
foreach (self::getInstalled() as $installed) {
|
156 |
+
if (!isset($installed['versions'][$packageName])) {
|
157 |
+
continue;
|
158 |
+
}
|
159 |
+
|
160 |
+
if (!isset($installed['versions'][$packageName]['version'])) {
|
161 |
+
return null;
|
162 |
+
}
|
163 |
+
|
164 |
+
return $installed['versions'][$packageName]['version'];
|
165 |
+
}
|
166 |
+
|
167 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
168 |
+
}
|
169 |
+
|
170 |
+
/**
|
171 |
+
* @param string $packageName
|
172 |
+
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
|
173 |
+
*/
|
174 |
+
public static function getPrettyVersion($packageName)
|
175 |
+
{
|
176 |
+
foreach (self::getInstalled() as $installed) {
|
177 |
+
if (!isset($installed['versions'][$packageName])) {
|
178 |
+
continue;
|
179 |
+
}
|
180 |
+
|
181 |
+
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
|
182 |
+
return null;
|
183 |
+
}
|
184 |
+
|
185 |
+
return $installed['versions'][$packageName]['pretty_version'];
|
186 |
+
}
|
187 |
+
|
188 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* @param string $packageName
|
193 |
+
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
|
194 |
+
*/
|
195 |
+
public static function getReference($packageName)
|
196 |
+
{
|
197 |
+
foreach (self::getInstalled() as $installed) {
|
198 |
+
if (!isset($installed['versions'][$packageName])) {
|
199 |
+
continue;
|
200 |
+
}
|
201 |
+
|
202 |
+
if (!isset($installed['versions'][$packageName]['reference'])) {
|
203 |
+
return null;
|
204 |
+
}
|
205 |
+
|
206 |
+
return $installed['versions'][$packageName]['reference'];
|
207 |
+
}
|
208 |
+
|
209 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
210 |
+
}
|
211 |
+
|
212 |
+
/**
|
213 |
+
* @param string $packageName
|
214 |
+
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
|
215 |
+
*/
|
216 |
+
public static function getInstallPath($packageName)
|
217 |
+
{
|
218 |
+
foreach (self::getInstalled() as $installed) {
|
219 |
+
if (!isset($installed['versions'][$packageName])) {
|
220 |
+
continue;
|
221 |
+
}
|
222 |
+
|
223 |
+
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
|
224 |
+
}
|
225 |
+
|
226 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* @return array
|
231 |
+
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}
|
232 |
+
*/
|
233 |
+
public static function getRootPackage()
|
234 |
+
{
|
235 |
+
$installed = self::getInstalled();
|
236 |
+
|
237 |
+
return $installed[0]['root'];
|
238 |
+
}
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Returns the raw installed.php data for custom implementations
|
242 |
+
*
|
243 |
+
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
244 |
+
* @return array[]
|
245 |
+
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}
|
246 |
+
*/
|
247 |
+
public static function getRawData()
|
248 |
+
{
|
249 |
+
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
|
250 |
+
|
251 |
+
if (null === self::$installed) {
|
252 |
+
// only require the installed.php file if this file is loaded from its dumped location,
|
253 |
+
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
|
254 |
+
if (substr(__DIR__, -8, 1) !== 'C') {
|
255 |
+
self::$installed = include __DIR__ . '/installed.php';
|
256 |
+
} else {
|
257 |
+
self::$installed = array();
|
258 |
+
}
|
259 |
+
}
|
260 |
+
|
261 |
+
return self::$installed;
|
262 |
+
}
|
263 |
+
|
264 |
+
/**
|
265 |
+
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
266 |
+
*
|
267 |
+
* @return array[]
|
268 |
+
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
|
269 |
+
*/
|
270 |
+
public static function getAllRawData()
|
271 |
+
{
|
272 |
+
return self::getInstalled();
|
273 |
+
}
|
274 |
+
|
275 |
+
/**
|
276 |
+
* Lets you reload the static array from another file
|
277 |
+
*
|
278 |
+
* This is only useful for complex integrations in which a project needs to use
|
279 |
+
* this class but then also needs to execute another project's autoloader in process,
|
280 |
+
* and wants to ensure both projects have access to their version of installed.php.
|
281 |
+
*
|
282 |
+
* A typical case would be PHPUnit, where it would need to make sure it reads all
|
283 |
+
* the data it needs from this class, then call reload() with
|
284 |
+
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
|
285 |
+
* the project in which it runs can then also use this class safely, without
|
286 |
+
* interference between PHPUnit's dependencies and the project's dependencies.
|
287 |
+
*
|
288 |
+
* @param array[] $data A vendor/composer/installed.php data set
|
289 |
+
* @return void
|
290 |
+
*
|
291 |
+
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data
|
292 |
+
*/
|
293 |
+
public static function reload($data)
|
294 |
+
{
|
295 |
+
self::$installed = $data;
|
296 |
+
self::$installedByVendor = array();
|
297 |
+
}
|
298 |
+
|
299 |
+
/**
|
300 |
+
* @return array[]
|
301 |
+
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}>
|
302 |
+
*/
|
303 |
+
private static function getInstalled()
|
304 |
+
{
|
305 |
+
if (null === self::$canGetVendors) {
|
306 |
+
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
|
307 |
+
}
|
308 |
+
|
309 |
+
$installed = array();
|
310 |
+
|
311 |
+
if (self::$canGetVendors) {
|
312 |
+
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
|
313 |
+
if (isset(self::$installedByVendor[$vendorDir])) {
|
314 |
+
$installed[] = self::$installedByVendor[$vendorDir];
|
315 |
+
} elseif (is_file($vendorDir.'/composer/installed.php')) {
|
316 |
+
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
|
317 |
+
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
|
318 |
+
self::$installed = $installed[count($installed) - 1];
|
319 |
+
}
|
320 |
+
}
|
321 |
+
}
|
322 |
+
}
|
323 |
+
|
324 |
+
if (null === self::$installed) {
|
325 |
+
// only require the installed.php file if this file is loaded from its dumped location,
|
326 |
+
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
|
327 |
+
if (substr(__DIR__, -8, 1) !== 'C') {
|
328 |
+
self::$installed = require __DIR__ . '/installed.php';
|
329 |
+
} else {
|
330 |
+
self::$installed = array();
|
331 |
+
}
|
332 |
+
}
|
333 |
+
$installed[] = self::$installed;
|
334 |
+
|
335 |
+
return $installed;
|
336 |
+
}
|
337 |
+
}
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -6,5 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
|
|
9 |
'WP_Async_Task' => $vendorDir . '/techcrunch/wp-async-task/wp-async-task.php',
|
10 |
);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
10 |
'WP_Async_Task' => $vendorDir . '/techcrunch/wp-async-task/wp-async-task.php',
|
11 |
);
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit9a310f169499fda079de70209c747d31
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
-
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
-
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit45df9d4bf279a053c19337b2ad5cfea4
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit45df9d4bf279a053c19337b2ad5cfea4', 'loadClassLoader'), true, true);
|
26 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit45df9d4bf279a053c19337b2ad5cfea4', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
+
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit45df9d4bf279a053c19337b2ad5cfea4::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
@@ -36,15 +36,16 @@ class ComposerStaticInit9a310f169499fda079de70209c747d31
|
|
36 |
);
|
37 |
|
38 |
public static $classMap = array (
|
|
|
39 |
'WP_Async_Task' => __DIR__ . '/..' . '/techcrunch/wp-async-task/wp-async-task.php',
|
40 |
);
|
41 |
|
42 |
public static function getInitializer(ClassLoader $loader)
|
43 |
{
|
44 |
return \Closure::bind(function () use ($loader) {
|
45 |
-
$loader->prefixLengthsPsr4 =
|
46 |
-
$loader->prefixDirsPsr4 =
|
47 |
-
$loader->classMap =
|
48 |
|
49 |
}, null, ClassLoader::class);
|
50 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit45df9d4bf279a053c19337b2ad5cfea4
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
36 |
);
|
37 |
|
38 |
public static $classMap = array (
|
39 |
+
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
40 |
'WP_Async_Task' => __DIR__ . '/..' . '/techcrunch/wp-async-task/wp-async-task.php',
|
41 |
);
|
42 |
|
43 |
public static function getInitializer(ClassLoader $loader)
|
44 |
{
|
45 |
return \Closure::bind(function () use ($loader) {
|
46 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit45df9d4bf279a053c19337b2ad5cfea4::$prefixLengthsPsr4;
|
47 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit45df9d4bf279a053c19337b2ad5cfea4::$prefixDirsPsr4;
|
48 |
+
$loader->classMap = ComposerStaticInit45df9d4bf279a053c19337b2ad5cfea4::$classMap;
|
49 |
|
50 |
}, null, ClassLoader::class);
|
51 |
}
|
vendor/composer/installed.json
CHANGED
@@ -1,101 +1,112 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
"
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
"
|
19 |
-
|
20 |
-
|
21 |
-
"
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
"
|
30 |
-
"
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
"
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
"
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
"name": "techcrunch/wp-async-task",
|
50 |
-
"version": "dev-master",
|
51 |
-
"version_normalized": "9999999-dev",
|
52 |
-
"source": {
|
53 |
-
"type": "git",
|
54 |
-
"url": "https://github.com/techcrunch/wp-async-task.git",
|
55 |
-
"reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc"
|
56 |
-
},
|
57 |
-
"dist": {
|
58 |
-
"type": "zip",
|
59 |
-
"url": "https://api.github.com/repos/techcrunch/wp-async-task/zipball/9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
|
60 |
-
"reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
|
61 |
-
"shasum": ""
|
62 |
-
},
|
63 |
-
"require-dev": {
|
64 |
-
"10up/wp_mock": "dev-master",
|
65 |
-
"phpunit/phpunit": "*@stable"
|
66 |
-
},
|
67 |
-
"time": "2016-03-10T17:37:13+00:00",
|
68 |
-
"type": "wordpress-plugin",
|
69 |
-
"installation-source": "source",
|
70 |
-
"autoload": {
|
71 |
-
"classmap": [
|
72 |
-
"wp-async-task.php"
|
73 |
-
]
|
74 |
},
|
75 |
-
|
76 |
-
|
77 |
-
"
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
"
|
82 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
},
|
84 |
-
{
|
85 |
-
"
|
86 |
-
"
|
87 |
},
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
|
|
|
|
|
|
|
|
92 |
},
|
93 |
-
|
94 |
-
|
95 |
-
"
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"packages": [
|
3 |
+
{
|
4 |
+
"name": "facebook/php-business-sdk",
|
5 |
+
"version": "11.0.0",
|
6 |
+
"version_normalized": "11.0.0.0",
|
7 |
+
"source": {
|
8 |
+
"type": "git",
|
9 |
+
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
10 |
+
"reference": "bd11628ea43903a95a656b8a5ea2789e4613b859"
|
11 |
+
},
|
12 |
+
"dist": {
|
13 |
+
"type": "zip",
|
14 |
+
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/bd11628ea43903a95a656b8a5ea2789e4613b859",
|
15 |
+
"reference": "bd11628ea43903a95a656b8a5ea2789e4613b859",
|
16 |
+
"shasum": ""
|
17 |
+
},
|
18 |
+
"require": {
|
19 |
+
"guzzlehttp/guzzle": "^6.5 || ^7.0"
|
20 |
+
},
|
21 |
+
"require-dev": {
|
22 |
+
"mockery/mockery": "1.3.3",
|
23 |
+
"phpunit/phpunit": "~8",
|
24 |
+
"symfony/finder": "~2.6"
|
25 |
+
},
|
26 |
+
"time": "2021-06-10T18:59:41+00:00",
|
27 |
+
"type": "library",
|
28 |
+
"installation-source": "dist",
|
29 |
+
"autoload": {
|
30 |
+
"psr-4": {
|
31 |
+
"FacebookAds\\": "src/FacebookAds/"
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"notification-url": "https://packagist.org/downloads/",
|
35 |
+
"description": "PHP SDK for Facebook Business",
|
36 |
+
"homepage": "https://developers.facebook.com/",
|
37 |
+
"keywords": [
|
38 |
+
"ads",
|
39 |
+
"business",
|
40 |
+
"facebook",
|
41 |
+
"instagram",
|
42 |
+
"page",
|
43 |
+
"sdk"
|
44 |
+
],
|
45 |
+
"support": {
|
46 |
+
"source": "https://github.com/facebook/facebook-php-business-sdk/tree/11.0.0"
|
47 |
+
},
|
48 |
+
"install-path": "../facebook/php-business-sdk"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
},
|
50 |
+
{
|
51 |
+
"name": "techcrunch/wp-async-task",
|
52 |
+
"version": "dev-master",
|
53 |
+
"version_normalized": "dev-master",
|
54 |
+
"source": {
|
55 |
+
"type": "git",
|
56 |
+
"url": "https://github.com/techcrunch/wp-async-task.git",
|
57 |
+
"reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc"
|
58 |
+
},
|
59 |
+
"dist": {
|
60 |
+
"type": "zip",
|
61 |
+
"url": "https://api.github.com/repos/techcrunch/wp-async-task/zipball/9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
|
62 |
+
"reference": "9bdbbf9df4ff5179711bb58b9a2451296f6753dc",
|
63 |
+
"shasum": ""
|
64 |
},
|
65 |
+
"require-dev": {
|
66 |
+
"10up/wp_mock": "dev-master",
|
67 |
+
"phpunit/phpunit": "*@stable"
|
68 |
},
|
69 |
+
"time": "2016-03-10T17:37:13+00:00",
|
70 |
+
"default-branch": true,
|
71 |
+
"type": "wordpress-plugin",
|
72 |
+
"installation-source": "dist",
|
73 |
+
"autoload": {
|
74 |
+
"classmap": [
|
75 |
+
"wp-async-task.php"
|
76 |
+
]
|
77 |
},
|
78 |
+
"notification-url": "https://packagist.org/downloads/",
|
79 |
+
"license": [
|
80 |
+
"MIT"
|
81 |
+
],
|
82 |
+
"authors": [
|
83 |
+
{
|
84 |
+
"name": "Alex Khadiwala",
|
85 |
+
"role": "developer"
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"name": "Nicolas Vincent",
|
89 |
+
"role": "developer"
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"name": "Eric Mann",
|
93 |
+
"email": "eric.mann@10up.com",
|
94 |
+
"role": "developer"
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"name": "John P. Bloch",
|
98 |
+
"email": "john.bloch@10up.com",
|
99 |
+
"role": "developer"
|
100 |
+
}
|
101 |
+
],
|
102 |
+
"description": "Run asynchronous tasks for long-running operations in WordPress",
|
103 |
+
"support": {
|
104 |
+
"issues": "https://github.com/techcrunch/wp-async-task/issues",
|
105 |
+
"source": "https://github.com/techcrunch/wp-async-task/tree/master"
|
106 |
+
},
|
107 |
+
"install-path": "../techcrunch/wp-async-task"
|
108 |
+
}
|
109 |
+
],
|
110 |
+
"dev": false,
|
111 |
+
"dev-package-names": []
|
112 |
+
}
|
vendor/composer/installed.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php return array(
|
2 |
+
'root' => array(
|
3 |
+
'pretty_version' => 'dev-default',
|
4 |
+
'version' => 'dev-default',
|
5 |
+
'type' => 'project',
|
6 |
+
'install_path' => __DIR__ . '/../../',
|
7 |
+
'aliases' => array(),
|
8 |
+
'reference' => NULL,
|
9 |
+
'name' => 'facebook/pixel-for-wordpress',
|
10 |
+
'dev' => false,
|
11 |
+
),
|
12 |
+
'versions' => array(
|
13 |
+
'facebook/php-business-sdk' => array(
|
14 |
+
'pretty_version' => '11.0.0',
|
15 |
+
'version' => '11.0.0.0',
|
16 |
+
'type' => 'library',
|
17 |
+
'install_path' => __DIR__ . '/../facebook/php-business-sdk',
|
18 |
+
'aliases' => array(),
|
19 |
+
'reference' => 'bd11628ea43903a95a656b8a5ea2789e4613b859',
|
20 |
+
'dev_requirement' => false,
|
21 |
+
),
|
22 |
+
'facebook/pixel-for-wordpress' => array(
|
23 |
+
'pretty_version' => 'dev-default',
|
24 |
+
'version' => 'dev-default',
|
25 |
+
'type' => 'project',
|
26 |
+
'install_path' => __DIR__ . '/../../',
|
27 |
+
'aliases' => array(),
|
28 |
+
'reference' => NULL,
|
29 |
+
'dev_requirement' => false,
|
30 |
+
),
|
31 |
+
'guzzlehttp/guzzle' => array(
|
32 |
+
'dev_requirement' => false,
|
33 |
+
'replaced' => array(
|
34 |
+
0 => '*',
|
35 |
+
),
|
36 |
+
),
|
37 |
+
'techcrunch/wp-async-task' => array(
|
38 |
+
'pretty_version' => 'dev-master',
|
39 |
+
'version' => 'dev-master',
|
40 |
+
'type' => 'wordpress-plugin',
|
41 |
+
'install_path' => __DIR__ . '/../techcrunch/wp-async-task',
|
42 |
+
'aliases' => array(
|
43 |
+
0 => '9999999-dev',
|
44 |
+
),
|
45 |
+
'reference' => '9bdbbf9df4ff5179711bb58b9a2451296f6753dc',
|
46 |
+
'dev_requirement' => false,
|
47 |
+
),
|
48 |
+
),
|
49 |
+
);
|
vendor/facebook/php-business-sdk/CHANGELOG.md
CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
5 |
|
6 |
## Unreleased
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
## v9.0.2
|
9 |
|
10 |
|
@@ -15,7 +33,8 @@ All notable changes to this project will be documented in this file.
|
|
15 |
- `opt_out` field was being removed when set to false for Conversions API.
|
16 |
|
17 |
## v9.0.0
|
18 |
-
|
|
|
19 |
|
20 |
### Added
|
21 |
- `delivery_category` field to Content for Conversions API.
|
5 |
|
6 |
## Unreleased
|
7 |
|
8 |
+
## v11.0.0
|
9 |
+
|
10 |
+
|
11 |
+
### Changed
|
12 |
+
- Graph API call upgrade to [v11.0]https://developers.facebook.com/docs/graph-api/changelog/version11.0
|
13 |
+
|
14 |
+
## v10.0.1
|
15 |
+
|
16 |
+
### Added
|
17 |
+
- Support for sending multiple values for certain UserData parameters to Conversions API.
|
18 |
+
|
19 |
+
|
20 |
+
## v10.0.0
|
21 |
+
|
22 |
+
|
23 |
+
### Changed
|
24 |
+
- Graph API call upgrade to [v10.0](https://developers.facebook.com/docs/graph-api/changelog/version10.0)
|
25 |
+
|
26 |
## v9.0.2
|
27 |
|
28 |
|
33 |
- `opt_out` field was being removed when set to false for Conversions API.
|
34 |
|
35 |
## v9.0.0
|
36 |
+
### Changed
|
37 |
+
- Graph API call upgrade to [v9.0](https://developers.facebook.com/docs/graph-api/changelog/version9.0)
|
38 |
|
39 |
### Added
|
40 |
- `delivery_category` field to Content for Conversions API.
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php
CHANGED
@@ -42,8 +42,8 @@ $params = array(
|
|
42 |
'name' => 'A CPA Ad Set',
|
43 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
44 |
'daily_budget' => '5000',
|
45 |
-
'start_time' => '2021-
|
46 |
-
'end_time' => '2021-
|
47 |
'billing_event' => 'IMPRESSIONS',
|
48 |
'optimization_goal' => 'REACH',
|
49 |
'bid_amount' => '1000',
|
42 |
'name' => 'A CPA Ad Set',
|
43 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
44 |
'daily_budget' => '5000',
|
45 |
+
'start_time' => '2021-04-25T09:42:56-0700',
|
46 |
+
'end_time' => '2021-05-02T09:42:56-0700',
|
47 |
'billing_event' => 'IMPRESSIONS',
|
48 |
'optimization_goal' => 'REACH',
|
49 |
'bid_amount' => '1000',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php
CHANGED
@@ -42,8 +42,8 @@ $params = array(
|
|
42 |
'name' => 'A CPA Ad Set optimized for App Events',
|
43 |
'campaign_id' => '<adCampaignAppInstallsID>',
|
44 |
'daily_budget' => '300',
|
45 |
-
'start_time' => '2021-
|
46 |
-
'end_time' => '2021-
|
47 |
'billing_event' => 'IMPRESSIONS',
|
48 |
'optimization_goal' => 'OFFSITE_CONVERSIONS',
|
49 |
'bid_amount' => '100',
|
42 |
'name' => 'A CPA Ad Set optimized for App Events',
|
43 |
'campaign_id' => '<adCampaignAppInstallsID>',
|
44 |
'daily_budget' => '300',
|
45 |
+
'start_time' => '2021-04-25T09:43:53-0700',
|
46 |
+
'end_time' => '2021-05-02T09:43:53-0700',
|
47 |
'billing_event' => 'IMPRESSIONS',
|
48 |
'optimization_goal' => 'OFFSITE_CONVERSIONS',
|
49 |
'bid_amount' => '100',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php
CHANGED
@@ -41,8 +41,8 @@ $fields = array(
|
|
41 |
$params = array(
|
42 |
'name' => 'My First AdSet',
|
43 |
'lifetime_budget' => '20000',
|
44 |
-
'start_time' => '2021-
|
45 |
-
'end_time' => '2021-
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '500',
|
48 |
'billing_event' => 'IMPRESSIONS',
|
41 |
$params = array(
|
42 |
'name' => 'My First AdSet',
|
43 |
'lifetime_budget' => '20000',
|
44 |
+
'start_time' => '2021-04-25T09:42:08-0700',
|
45 |
+
'end_time' => '2021-05-02T09:42:08-0700',
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '500',
|
48 |
'billing_event' => 'IMPRESSIONS',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php
CHANGED
@@ -41,8 +41,8 @@ $fields = array(
|
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'daily_budget' => '2000',
|
44 |
-
'start_time' => '2021-
|
45 |
-
'end_time' => '2021-
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '100',
|
48 |
'billing_event' => 'LINK_CLICKS',
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'daily_budget' => '2000',
|
44 |
+
'start_time' => '2021-04-18T09:43:24-0700',
|
45 |
+
'end_time' => '2021-04-25T09:43:24-0700',
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '100',
|
48 |
'billing_event' => 'LINK_CLICKS',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php
CHANGED
@@ -41,8 +41,8 @@ $fields = array(
|
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'lifetime_budget' => '20000',
|
44 |
-
'start_time' => '2021-
|
45 |
-
'end_time' => '2021-
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '100',
|
48 |
'billing_event' => 'LINK_CLICKS',
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'lifetime_budget' => '20000',
|
44 |
+
'start_time' => '2021-04-18T09:43:34-0700',
|
45 |
+
'end_time' => '2021-04-28T09:43:34-0700',
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '100',
|
48 |
'billing_event' => 'LINK_CLICKS',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php
CHANGED
@@ -41,8 +41,8 @@ $fields = array(
|
|
41 |
$params = array(
|
42 |
'name' => 'My Offer Claim AdSet',
|
43 |
'lifetime_budget' => '56000',
|
44 |
-
'start_time' => '2021-
|
45 |
-
'end_time' => '2021-
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'billing_event' => 'LINK_CLICKS',
|
48 |
'optimization_goal' => 'LINK_CLICKS',
|
41 |
$params = array(
|
42 |
'name' => 'My Offer Claim AdSet',
|
43 |
'lifetime_budget' => '56000',
|
44 |
+
'start_time' => '2021-04-18T09:43:15-0700',
|
45 |
+
'end_time' => '2021-04-25T09:43:15-0700',
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'billing_event' => 'LINK_CLICKS',
|
48 |
'optimization_goal' => 'LINK_CLICKS',
|
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php
CHANGED
@@ -41,8 +41,8 @@ $fields = array(
|
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'lifetime_budget' => '20000',
|
44 |
-
'start_time' => '2021-
|
45 |
-
'end_time' => '2021-
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '500',
|
48 |
'billing_event' => 'IMPRESSIONS',
|
41 |
$params = array(
|
42 |
'name' => 'My First Adset',
|
43 |
'lifetime_budget' => '20000',
|
44 |
+
'start_time' => '2021-04-18T09:43:43-0700',
|
45 |
+
'end_time' => '2021-04-28T09:43:43-0700',
|
46 |
'campaign_id' => '<adCampaignLinkClicksID>',
|
47 |
'bid_amount' => '500',
|
48 |
'billing_event' => 'IMPRESSIONS',
|
vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php
CHANGED
@@ -39,7 +39,7 @@ $api->setLogger(new CurlLogger());
|
|
39 |
$fields = array(
|
40 |
);
|
41 |
$params = array(
|
42 |
-
'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' =>
|
43 |
);
|
44 |
echo json_encode((new Ad($id))->getLeads(
|
45 |
$fields,
|
39 |
$fields = array(
|
40 |
);
|
41 |
$params = array(
|
42 |
+
'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1618160236)),
|
43 |
);
|
44 |
echo json_encode((new Ad($id))->getLeads(
|
45 |
$fields,
|
vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php
CHANGED
@@ -38,7 +38,7 @@ $api->setLogger(new CurlLogger());
|
|
38 |
$fields = array(
|
39 |
);
|
40 |
$params = array(
|
41 |
-
'data' => array(array('event_name' => 'PageView','event_time' =>
|
42 |
);
|
43 |
echo json_encode((new AdsPixel($id))->createEvent(
|
44 |
$fields,
|
38 |
$fields = array(
|
39 |
);
|
40 |
$params = array(
|
41 |
+
'data' => array(array('event_name' => 'PageView','event_time' => 1618763836,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))),
|
42 |
);
|
43 |
echo json_encode((new AdsPixel($id))->createEvent(
|
44 |
$fields,
|
vendor/facebook/php-business-sdk/examples/AdsPixelEventsPostCustom.php
CHANGED
@@ -26,7 +26,9 @@ require __DIR__ . '/vendor/autoload.php';
|
|
26 |
use FacebookAds\Api;
|
27 |
use FacebookAds\Logger\CurlLogger;
|
28 |
use FacebookAds\Object\ServerSide\ActionSource;
|
|
|
29 |
use FacebookAds\Object\ServerSide\CustomData;
|
|
|
30 |
use FacebookAds\Object\ServerSide\Event;
|
31 |
use FacebookAds\Object\ServerSide\EventRequest;
|
32 |
use FacebookAds\Object\ServerSide\UserData;
|
@@ -38,14 +40,21 @@ $api = Api::init(null, null, $access_token);
|
|
38 |
$api->setLogger(new CurlLogger());
|
39 |
|
40 |
$user_data = (new UserData())
|
41 |
-
->
|
|
|
42 |
// It is recommended to send Client IP and User Agent for Conversions API Events.
|
43 |
->setClientIpAddress($_SERVER['REMOTE_ADDR'])
|
44 |
->setClientUserAgent($_SERVER['HTTP_USER_AGENT'])
|
45 |
->setFbc('fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890')
|
46 |
->setFbp('fb.1.1558571054389.1098115397');
|
47 |
|
|
|
|
|
|
|
|
|
|
|
48 |
$custom_data = (new CustomData())
|
|
|
49 |
->setCurrency('usd')
|
50 |
->setValue(123.45);
|
51 |
|
26 |
use FacebookAds\Api;
|
27 |
use FacebookAds\Logger\CurlLogger;
|
28 |
use FacebookAds\Object\ServerSide\ActionSource;
|
29 |
+
use FacebookAds\Object\ServerSide\Content;
|
30 |
use FacebookAds\Object\ServerSide\CustomData;
|
31 |
+
use FacebookAds\Object\ServerSide\DeliveryCategory;
|
32 |
use FacebookAds\Object\ServerSide\Event;
|
33 |
use FacebookAds\Object\ServerSide\EventRequest;
|
34 |
use FacebookAds\Object\ServerSide\UserData;
|
40 |
$api->setLogger(new CurlLogger());
|
41 |
|
42 |
$user_data = (new UserData())
|
43 |
+
->setEmails(array('joe@eg.com'))
|
44 |
+
->setPhones(array('12345678901', '14251234567'))
|
45 |
// It is recommended to send Client IP and User Agent for Conversions API Events.
|
46 |
->setClientIpAddress($_SERVER['REMOTE_ADDR'])
|
47 |
->setClientUserAgent($_SERVER['HTTP_USER_AGENT'])
|
48 |
->setFbc('fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890')
|
49 |
->setFbp('fb.1.1558571054389.1098115397');
|
50 |
|
51 |
+
$content = (new Content())
|
52 |
+
->setProductId('product123')
|
53 |
+
->setQuantity(1)
|
54 |
+
->setDeliveryCategory(DeliveryCategory::HOME_DELIVERY);
|
55 |
+
|
56 |
$custom_data = (new CustomData())
|
57 |
+
->setContents(array($content))
|
58 |
->setCurrency('usd')
|
59 |
->setValue(123.45);
|
60 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
*/
|
24 |
namespace FacebookAds;
|
25 |
class ApiConfig {
|
26 |
-
const APIVersion = '
|
27 |
-
const SDKVersion = '
|
28 |
const TYPE_CHECKER_STRICT_MODE = false;
|
29 |
}
|
23 |
*/
|
24 |
namespace FacebookAds;
|
25 |
class ApiConfig {
|
26 |
+
const APIVersion = '11.0';
|
27 |
+
const SDKVersion = '11.0.0';
|
28 |
const TYPE_CHECKER_STRICT_MODE = false;
|
29 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Ad.php
CHANGED
@@ -450,7 +450,7 @@ class Ad extends AbstractArchivableCrudObject
|
|
450 |
'last_week_mon_sun',
|
451 |
'last_week_sun_sat',
|
452 |
'last_year',
|
453 |
-
'
|
454 |
'this_month',
|
455 |
'this_quarter',
|
456 |
'this_week_mon_today',
|
450 |
'last_week_mon_sun',
|
451 |
'last_week_sun_sat',
|
452 |
'last_year',
|
453 |
+
'maximum',
|
454 |
'this_month',
|
455 |
'this_quarter',
|
456 |
'this_week_mon_today',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php
CHANGED
@@ -37,7 +37,6 @@ use FacebookAds\Object\Values\AdAccountContentTypeValues;
|
|
37 |
use FacebookAds\Object\Values\AdAccountCurrencyValues;
|
38 |
use FacebookAds\Object\Values\AdAccountDeliveryEstimateOptimizationGoalValues;
|
39 |
use FacebookAds\Object\Values\AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues;
|
40 |
-
use FacebookAds\Object\Values\AdAccountPermittedTasksValues;
|
41 |
use FacebookAds\Object\Values\AdAccountSubtypeValues;
|
42 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedAppStoreValues;
|
43 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
|
@@ -146,7 +145,6 @@ class AdAccount extends AbstractCrudObject {
|
|
146 |
protected static function getReferencedEnums() {
|
147 |
$ref_enums = array();
|
148 |
$ref_enums['Currency'] = AdAccountCurrencyValues::getInstance()->getValues();
|
149 |
-
$ref_enums['PermittedTasks'] = AdAccountPermittedTasksValues::getInstance()->getValues();
|
150 |
$ref_enums['Tasks'] = AdAccountTasksValues::getInstance()->getValues();
|
151 |
$ref_enums['ClaimObjective'] = AdAccountClaimObjectiveValues::getInstance()->getValues();
|
152 |
$ref_enums['ContentType'] = AdAccountContentTypeValues::getInstance()->getValues();
|
@@ -276,6 +274,30 @@ class AdAccount extends AbstractCrudObject {
|
|
276 |
return $pending ? $request : $request->execute();
|
277 |
}
|
278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
|
280 |
$this->assureId();
|
281 |
|
@@ -299,6 +321,29 @@ class AdAccount extends AbstractCrudObject {
|
|
299 |
return $pending ? $request : $request->execute();
|
300 |
}
|
301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
public function getAdCreatives(array $fields = array(), array $params = array(), $pending = false) {
|
303 |
$this->assureId();
|
304 |
|
@@ -1248,32 +1293,6 @@ class AdAccount extends AbstractCrudObject {
|
|
1248 |
return $pending ? $request : $request->execute();
|
1249 |
}
|
1250 |
|
1251 |
-
public function createAgency(array $fields = array(), array $params = array(), $pending = false) {
|
1252 |
-
$this->assureId();
|
1253 |
-
|
1254 |
-
$param_types = array(
|
1255 |
-
'business' => 'string',
|
1256 |
-
'permitted_tasks' => 'list<permitted_tasks_enum>',
|
1257 |
-
);
|
1258 |
-
$enums = array(
|
1259 |
-
'permitted_tasks_enum' => AdAccountPermittedTasksValues::getInstance()->getValues(),
|
1260 |
-
);
|
1261 |
-
|
1262 |
-
$request = new ApiRequest(
|
1263 |
-
$this->api,
|
1264 |
-
$this->data['id'],
|
1265 |
-
RequestInterface::METHOD_POST,
|
1266 |
-
'/agencies',
|
1267 |
-
new AdAccount(),
|
1268 |
-
'EDGE',
|
1269 |
-
AdAccount::getFieldsEnum()->getValues(),
|
1270 |
-
new TypeChecker($param_types, $enums)
|
1271 |
-
);
|
1272 |
-
$request->addParams($params);
|
1273 |
-
$request->addFields($fields);
|
1274 |
-
return $pending ? $request : $request->execute();
|
1275 |
-
}
|
1276 |
-
|
1277 |
public function getApplications(array $fields = array(), array $params = array(), $pending = false) {
|
1278 |
$this->assureId();
|
1279 |
|
@@ -1475,31 +1494,6 @@ class AdAccount extends AbstractCrudObject {
|
|
1475 |
return $pending ? $request : $request->execute();
|
1476 |
}
|
1477 |
|
1478 |
-
public function createAudienceReplace(array $fields = array(), array $params = array(), $pending = false) {
|
1479 |
-
$this->assureId();
|
1480 |
-
|
1481 |
-
$param_types = array(
|
1482 |
-
'payload' => 'Object',
|
1483 |
-
'session' => 'Object',
|
1484 |
-
);
|
1485 |
-
$enums = array(
|
1486 |
-
);
|
1487 |
-
|
1488 |
-
$request = new ApiRequest(
|
1489 |
-
$this->api,
|
1490 |
-
$this->data['id'],
|
1491 |
-
RequestInterface::METHOD_POST,
|
1492 |
-
'/audiencereplace',
|
1493 |
-
new AbstractCrudObject(),
|
1494 |
-
'EDGE',
|
1495 |
-
array(),
|
1496 |
-
new TypeChecker($param_types, $enums)
|
1497 |
-
);
|
1498 |
-
$request->addParams($params);
|
1499 |
-
$request->addFields($fields);
|
1500 |
-
return $pending ? $request : $request->execute();
|
1501 |
-
}
|
1502 |
-
|
1503 |
public function createBlockListDraft(array $fields = array(), array $params = array(), $pending = false) {
|
1504 |
$this->assureId();
|
1505 |
|
@@ -1630,7 +1624,9 @@ class AdAccount extends AbstractCrudObject {
|
|
1630 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
1631 |
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
1632 |
'spend_cap' => 'unsigned int',
|
|
|
1633 |
'status' => 'status_enum',
|
|
|
1634 |
'topline_id' => 'string',
|
1635 |
'upstream_events' => 'map',
|
1636 |
);
|
@@ -1796,8 +1792,6 @@ class AdAccount extends AbstractCrudObject {
|
|
1796 |
$this->assureId();
|
1797 |
|
1798 |
$param_types = array(
|
1799 |
-
'accountID' => 'string',
|
1800 |
-
'additionalMetadata' => 'string',
|
1801 |
'allowed_domains' => 'list<string>',
|
1802 |
'associated_audience_id' => 'unsigned int',
|
1803 |
'claim_objective' => 'claim_objective_enum',
|
@@ -1807,28 +1801,19 @@ class AdAccount extends AbstractCrudObject {
|
|
1807 |
'customer_file_source' => 'customer_file_source_enum',
|
1808 |
'dataset_id' => 'string',
|
1809 |
'description' => 'string',
|
1810 |
-
'details' => 'string',
|
1811 |
'enable_fetch_or_create' => 'bool',
|
1812 |
'event_source_group' => 'string',
|
1813 |
'event_sources' => 'list<map>',
|
1814 |
'exclusions' => 'list<Object>',
|
1815 |
-
'expectedSize' => 'unsigned int',
|
1816 |
-
'gender' => 'string',
|
1817 |
'inclusions' => 'list<Object>',
|
1818 |
-
'isPrivate' => 'bool',
|
1819 |
-
'is_household' => 'bool',
|
1820 |
-
'is_household_exclusion' => 'bool',
|
1821 |
'is_snapshot' => 'bool',
|
1822 |
'is_value_based' => 'bool',
|
1823 |
'list_of_accounts' => 'list<unsigned int>',
|
1824 |
'lookalike_spec' => 'string',
|
1825 |
-
'maxAge' => 'unsigned int',
|
1826 |
-
'minAge' => 'unsigned int',
|
1827 |
'name' => 'string',
|
1828 |
'opt_out_link' => 'string',
|
1829 |
'origin_audience_id' => 'string',
|
1830 |
'parent_audience_id' => 'unsigned int',
|
1831 |
-
'partnerID' => 'string',
|
1832 |
'partner_reference_key' => 'string',
|
1833 |
'pixel_id' => 'string',
|
1834 |
'prefill' => 'bool',
|
@@ -1838,10 +1823,7 @@ class AdAccount extends AbstractCrudObject {
|
|
1838 |
'rev_share_policy_id' => 'unsigned int',
|
1839 |
'rule' => 'string',
|
1840 |
'rule_aggregation' => 'string',
|
1841 |
-
'seed_audience' => 'unsigned int',
|
1842 |
-
'source' => 'string',
|
1843 |
'subtype' => 'subtype_enum',
|
1844 |
-
'tags' => 'list<string>',
|
1845 |
'video_group_ids' => 'list<string>',
|
1846 |
);
|
1847 |
$enums = array(
|
@@ -2206,6 +2188,30 @@ class AdAccount extends AbstractCrudObject {
|
|
2206 |
return $pending ? $request : $request->execute();
|
2207 |
}
|
2208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2209 |
public function getMatchedSearchApplications(array $fields = array(), array $params = array(), $pending = false) {
|
2210 |
$this->assureId();
|
2211 |
|
@@ -2347,8 +2353,6 @@ class AdAccount extends AbstractCrudObject {
|
|
2347 |
'event_sources' => 'list<map>',
|
2348 |
'exclusions' => 'list<Object>',
|
2349 |
'inclusions' => 'list<Object>',
|
2350 |
-
'is_household' => 'bool',
|
2351 |
-
'is_household_exclusion' => 'bool',
|
2352 |
'is_snapshot' => 'bool',
|
2353 |
'is_value_based' => 'bool',
|
2354 |
'name' => 'string',
|
@@ -2356,9 +2360,7 @@ class AdAccount extends AbstractCrudObject {
|
|
2356 |
'parent_audience_id' => 'unsigned int',
|
2357 |
'product_set_id' => 'string',
|
2358 |
'rev_share_policy_id' => 'unsigned int',
|
2359 |
-
'seed_audience' => 'unsigned int',
|
2360 |
'subtype' => 'subtype_enum',
|
2361 |
-
'tags' => 'list<string>',
|
2362 |
);
|
2363 |
$enums = array(
|
2364 |
'claim_objective_enum' => AdAccountClaimObjectiveValues::getInstance()->getValues(),
|
37 |
use FacebookAds\Object\Values\AdAccountCurrencyValues;
|
38 |
use FacebookAds\Object\Values\AdAccountDeliveryEstimateOptimizationGoalValues;
|
39 |
use FacebookAds\Object\Values\AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues;
|
|
|
40 |
use FacebookAds\Object\Values\AdAccountSubtypeValues;
|
41 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedAppStoreValues;
|
42 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
|
145 |
protected static function getReferencedEnums() {
|
146 |
$ref_enums = array();
|
147 |
$ref_enums['Currency'] = AdAccountCurrencyValues::getInstance()->getValues();
|
|
|
148 |
$ref_enums['Tasks'] = AdAccountTasksValues::getInstance()->getValues();
|
149 |
$ref_enums['ClaimObjective'] = AdAccountClaimObjectiveValues::getInstance()->getValues();
|
150 |
$ref_enums['ContentType'] = AdAccountContentTypeValues::getInstance()->getValues();
|
274 |
return $pending ? $request : $request->execute();
|
275 |
}
|
276 |
|
277 |
+
public function getAdSavedKeywords(array $fields = array(), array $params = array(), $pending = false) {
|
278 |
+
$this->assureId();
|
279 |
+
|
280 |
+
$param_types = array(
|
281 |
+
'fields' => 'list<string>',
|
282 |
+
);
|
283 |
+
$enums = array(
|
284 |
+
);
|
285 |
+
|
286 |
+
$request = new ApiRequest(
|
287 |
+
$this->api,
|
288 |
+
$this->data['id'],
|
289 |
+
RequestInterface::METHOD_GET,
|
290 |
+
'/ad_saved_keywords',
|
291 |
+
new AbstractCrudObject(),
|
292 |
+
'EDGE',
|
293 |
+
array(),
|
294 |
+
new TypeChecker($param_types, $enums)
|
295 |
+
);
|
296 |
+
$request->addParams($params);
|
297 |
+
$request->addFields($fields);
|
298 |
+
return $pending ? $request : $request->execute();
|
299 |
+
}
|
300 |
+
|
301 |
public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
|
302 |
$this->assureId();
|
303 |
|
321 |
return $pending ? $request : $request->execute();
|
322 |
}
|
323 |
|
324 |
+
public function getAdCloudPlayables(array $fields = array(), array $params = array(), $pending = false) {
|
325 |
+
$this->assureId();
|
326 |
+
|
327 |
+
$param_types = array(
|
328 |
+
);
|
329 |
+
$enums = array(
|
330 |
+
);
|
331 |
+
|
332 |
+
$request = new ApiRequest(
|
333 |
+
$this->api,
|
334 |
+
$this->data['id'],
|
335 |
+
RequestInterface::METHOD_GET,
|
336 |
+
'/adcloudplayables',
|
337 |
+
new AbstractCrudObject(),
|
338 |
+
'EDGE',
|
339 |
+
array(),
|
340 |
+
new TypeChecker($param_types, $enums)
|
341 |
+
);
|
342 |
+
$request->addParams($params);
|
343 |
+
$request->addFields($fields);
|
344 |
+
return $pending ? $request : $request->execute();
|
345 |
+
}
|
346 |
+
|
347 |
public function getAdCreatives(array $fields = array(), array $params = array(), $pending = false) {
|
348 |
$this->assureId();
|
349 |
|
1293 |
return $pending ? $request : $request->execute();
|
1294 |
}
|
1295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1296 |
public function getApplications(array $fields = array(), array $params = array(), $pending = false) {
|
1297 |
$this->assureId();
|
1298 |
|
1494 |
return $pending ? $request : $request->execute();
|
1495 |
}
|
1496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1497 |
public function createBlockListDraft(array $fields = array(), array $params = array(), $pending = false) {
|
1498 |
$this->assureId();
|
1499 |
|
1624 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
1625 |
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
1626 |
'spend_cap' => 'unsigned int',
|
1627 |
+
'start_time' => 'datetime',
|
1628 |
'status' => 'status_enum',
|
1629 |
+
'stop_time' => 'datetime',
|
1630 |
'topline_id' => 'string',
|
1631 |
'upstream_events' => 'map',
|
1632 |
);
|
1792 |
$this->assureId();
|
1793 |
|
1794 |
$param_types = array(
|
|
|
|
|
1795 |
'allowed_domains' => 'list<string>',
|
1796 |
'associated_audience_id' => 'unsigned int',
|
1797 |
'claim_objective' => 'claim_objective_enum',
|
1801 |
'customer_file_source' => 'customer_file_source_enum',
|
1802 |
'dataset_id' => 'string',
|
1803 |
'description' => 'string',
|
|
|
1804 |
'enable_fetch_or_create' => 'bool',
|
1805 |
'event_source_group' => 'string',
|
1806 |
'event_sources' => 'list<map>',
|
1807 |
'exclusions' => 'list<Object>',
|
|
|
|
|
1808 |
'inclusions' => 'list<Object>',
|
|
|
|
|
|
|
1809 |
'is_snapshot' => 'bool',
|
1810 |
'is_value_based' => 'bool',
|
1811 |
'list_of_accounts' => 'list<unsigned int>',
|
1812 |
'lookalike_spec' => 'string',
|
|
|
|
|
1813 |
'name' => 'string',
|
1814 |
'opt_out_link' => 'string',
|
1815 |
'origin_audience_id' => 'string',
|
1816 |
'parent_audience_id' => 'unsigned int',
|
|
|
1817 |
'partner_reference_key' => 'string',
|
1818 |
'pixel_id' => 'string',
|
1819 |
'prefill' => 'bool',
|
1823 |
'rev_share_policy_id' => 'unsigned int',
|
1824 |
'rule' => 'string',
|
1825 |
'rule_aggregation' => 'string',
|
|
|
|
|
1826 |
'subtype' => 'subtype_enum',
|
|
|
1827 |
'video_group_ids' => 'list<string>',
|
1828 |
);
|
1829 |
$enums = array(
|
2188 |
return $pending ? $request : $request->execute();
|
2189 |
}
|
2190 |
|
2191 |
+
public function getIosFourteenCampaignLimits(array $fields = array(), array $params = array(), $pending = false) {
|
2192 |
+
$this->assureId();
|
2193 |
+
|
2194 |
+
$param_types = array(
|
2195 |
+
'app_id' => 'string',
|
2196 |
+
);
|
2197 |
+
$enums = array(
|
2198 |
+
);
|
2199 |
+
|
2200 |
+
$request = new ApiRequest(
|
2201 |
+
$this->api,
|
2202 |
+
$this->data['id'],
|
2203 |
+
RequestInterface::METHOD_GET,
|
2204 |
+
'/ios_fourteen_campaign_limits',
|
2205 |
+
new AdAccountIosFourteenCampaignLimits(),
|
2206 |
+
'EDGE',
|
2207 |
+
AdAccountIosFourteenCampaignLimits::getFieldsEnum()->getValues(),
|
2208 |
+
new TypeChecker($param_types, $enums)
|
2209 |
+
);
|
2210 |
+
$request->addParams($params);
|
2211 |
+
$request->addFields($fields);
|
2212 |
+
return $pending ? $request : $request->execute();
|
2213 |
+
}
|
2214 |
+
|
2215 |
public function getMatchedSearchApplications(array $fields = array(), array $params = array(), $pending = false) {
|
2216 |
$this->assureId();
|
2217 |
|
2353 |
'event_sources' => 'list<map>',
|
2354 |
'exclusions' => 'list<Object>',
|
2355 |
'inclusions' => 'list<Object>',
|
|
|
|
|
2356 |
'is_snapshot' => 'bool',
|
2357 |
'is_value_based' => 'bool',
|
2358 |
'name' => 'string',
|
2360 |
'parent_audience_id' => 'unsigned int',
|
2361 |
'product_set_id' => 'string',
|
2362 |
'rev_share_policy_id' => 'unsigned int',
|
|
|
2363 |
'subtype' => 'subtype_enum',
|
|
|
2364 |
);
|
2365 |
$enums = array(
|
2366 |
'claim_objective_enum' => AdAccountClaimObjectiveValues::getInstance()->getValues(),
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountIosFourteenCampaignLimits.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\AdAccountIosFourteenCampaignLimitsFields;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* This class is auto-generated.
|
35 |
+
*
|
36 |
+
* For any issues or feature requests related to this class, please let us know
|
37 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
38 |
+
* pull request for this class.
|
39 |
+
*
|
40 |
+
*/
|
41 |
+
|
42 |
+
class AdAccountIosFourteenCampaignLimits extends AbstractObject {
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @return AdAccountIosFourteenCampaignLimitsFields
|
46 |
+
*/
|
47 |
+
public static function getFieldsEnum() {
|
48 |
+
return AdAccountIosFourteenCampaignLimitsFields::getInstance();
|
49 |
+
}
|
50 |
+
|
51 |
+
protected static function getReferencedEnums() {
|
52 |
+
$ref_enums = array();
|
53 |
+
return $ref_enums;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php
CHANGED
@@ -72,10 +72,10 @@ class AdCreative extends AbstractCrudObject {
|
|
72 |
|
73 |
protected static function getReferencedEnums() {
|
74 |
$ref_enums = array();
|
75 |
-
$ref_enums['ApplinkTreatment'] = AdCreativeApplinkTreatmentValues::getInstance()->getValues();
|
76 |
$ref_enums['CallToActionType'] = AdCreativeCallToActionTypeValues::getInstance()->getValues();
|
77 |
$ref_enums['ObjectType'] = AdCreativeObjectTypeValues::getInstance()->getValues();
|
78 |
$ref_enums['Status'] = AdCreativeStatusValues::getInstance()->getValues();
|
|
|
79 |
$ref_enums['AuthorizationCategory'] = AdCreativeAuthorizationCategoryValues::getInstance()->getValues();
|
80 |
$ref_enums['CategorizationCriteria'] = AdCreativeCategorizationCriteriaValues::getInstance()->getValues();
|
81 |
$ref_enums['CategoryMediaSource'] = AdCreativeCategoryMediaSourceValues::getInstance()->getValues();
|
72 |
|
73 |
protected static function getReferencedEnums() {
|
74 |
$ref_enums = array();
|
|
|
75 |
$ref_enums['CallToActionType'] = AdCreativeCallToActionTypeValues::getInstance()->getValues();
|
76 |
$ref_enums['ObjectType'] = AdCreativeObjectTypeValues::getInstance()->getValues();
|
77 |
$ref_enums['Status'] = AdCreativeStatusValues::getInstance()->getValues();
|
78 |
+
$ref_enums['ApplinkTreatment'] = AdCreativeApplinkTreatmentValues::getInstance()->getValues();
|
79 |
$ref_enums['AuthorizationCategory'] = AdCreativeAuthorizationCategoryValues::getInstance()->getValues();
|
80 |
$ref_enums['CategorizationCriteria'] = AdCreativeCategorizationCriteriaValues::getInstance()->getValues();
|
81 |
$ref_enums['CategoryMediaSource'] = AdCreativeCategoryMediaSourceValues::getInstance()->getValues();
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdRuleEvaluationSpec.php
CHANGED
@@ -40,7 +40,7 @@ use FacebookAds\Object\Values\AdRuleEvaluationSpecEvaluationTypeValues;
|
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
-
class AdRuleEvaluationSpec extends
|
44 |
|
45 |
/**
|
46 |
* @return AdRuleEvaluationSpecFields
|
@@ -56,4 +56,27 @@ class AdRuleEvaluationSpec extends AbstractObject {
|
|
56 |
}
|
57 |
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
+
class AdRuleEvaluationSpec extends AbstractCrudObject {
|
44 |
|
45 |
/**
|
46 |
* @return AdRuleEvaluationSpecFields
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/',
|
72 |
+
new AdRuleEvaluationSpec(),
|
73 |
+
'NODE',
|
74 |
+
AdRuleEvaluationSpec::getFieldsEnum()->getValues(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdRuleExecutionSpec.php
CHANGED
@@ -40,7 +40,7 @@ use FacebookAds\Object\Values\AdRuleExecutionSpecExecutionTypeValues;
|
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
-
class AdRuleExecutionSpec extends
|
44 |
|
45 |
/**
|
46 |
* @return AdRuleExecutionSpecFields
|
@@ -56,4 +56,27 @@ class AdRuleExecutionSpec extends AbstractObject {
|
|
56 |
}
|
57 |
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
+
class AdRuleExecutionSpec extends AbstractCrudObject {
|
44 |
|
45 |
/**
|
46 |
* @return AdRuleExecutionSpecFields
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/',
|
72 |
+
new AdRuleExecutionSpec(),
|
73 |
+
'NODE',
|
74 |
+
AdRuleExecutionSpec::getFieldsEnum()->getValues(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdSet.php
CHANGED
@@ -603,7 +603,7 @@ class AdSet extends AbstractArchivableCrudObject
|
|
603 |
'last_week_mon_sun',
|
604 |
'last_week_sun_sat',
|
605 |
'last_year',
|
606 |
-
'
|
607 |
'this_month',
|
608 |
'this_quarter',
|
609 |
'this_week_mon_today',
|
603 |
'last_week_mon_sun',
|
604 |
'last_week_sun_sat',
|
605 |
'last_year',
|
606 |
+
'maximum',
|
607 |
'this_month',
|
608 |
'this_quarter',
|
609 |
'this_week_mon_today',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php
CHANGED
@@ -86,6 +86,53 @@ class AdStudy extends AbstractCrudObject {
|
|
86 |
return $pending ? $request : $request->execute();
|
87 |
}
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
public function getObjectives(array $fields = array(), array $params = array(), $pending = false) {
|
90 |
$this->assureId();
|
91 |
|
86 |
return $pending ? $request : $request->execute();
|
87 |
}
|
88 |
|
89 |
+
public function getInstances(array $fields = array(), array $params = array(), $pending = false) {
|
90 |
+
$this->assureId();
|
91 |
+
|
92 |
+
$param_types = array(
|
93 |
+
);
|
94 |
+
$enums = array(
|
95 |
+
);
|
96 |
+
|
97 |
+
$request = new ApiRequest(
|
98 |
+
$this->api,
|
99 |
+
$this->data['id'],
|
100 |
+
RequestInterface::METHOD_GET,
|
101 |
+
'/instances',
|
102 |
+
new PrivateLiftStudyInstance(),
|
103 |
+
'EDGE',
|
104 |
+
PrivateLiftStudyInstance::getFieldsEnum()->getValues(),
|
105 |
+
new TypeChecker($param_types, $enums)
|
106 |
+
);
|
107 |
+
$request->addParams($params);
|
108 |
+
$request->addFields($fields);
|
109 |
+
return $pending ? $request : $request->execute();
|
110 |
+
}
|
111 |
+
|
112 |
+
public function createInstance(array $fields = array(), array $params = array(), $pending = false) {
|
113 |
+
$this->assureId();
|
114 |
+
|
115 |
+
$param_types = array(
|
116 |
+
'breakdown_key' => 'map',
|
117 |
+
);
|
118 |
+
$enums = array(
|
119 |
+
);
|
120 |
+
|
121 |
+
$request = new ApiRequest(
|
122 |
+
$this->api,
|
123 |
+
$this->data['id'],
|
124 |
+
RequestInterface::METHOD_POST,
|
125 |
+
'/instances',
|
126 |
+
new PrivateLiftStudyInstance(),
|
127 |
+
'EDGE',
|
128 |
+
PrivateLiftStudyInstance::getFieldsEnum()->getValues(),
|
129 |
+
new TypeChecker($param_types, $enums)
|
130 |
+
);
|
131 |
+
$request->addParams($params);
|
132 |
+
$request->addFields($fields);
|
133 |
+
return $pending ? $request : $request->execute();
|
134 |
+
}
|
135 |
+
|
136 |
public function getObjectives(array $fields = array(), array $params = array(), $pending = false) {
|
137 |
$this->assureId();
|
138 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php
CHANGED
@@ -56,29 +56,6 @@ class AdStudyObjective extends AbstractCrudObject {
|
|
56 |
}
|
57 |
|
58 |
|
59 |
-
public function getAdPlacePageSets(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
-
$this->assureId();
|
61 |
-
|
62 |
-
$param_types = array(
|
63 |
-
);
|
64 |
-
$enums = array(
|
65 |
-
);
|
66 |
-
|
67 |
-
$request = new ApiRequest(
|
68 |
-
$this->api,
|
69 |
-
$this->data['id'],
|
70 |
-
RequestInterface::METHOD_GET,
|
71 |
-
'/ad_place_page_sets',
|
72 |
-
new AdPlacePageSet(),
|
73 |
-
'EDGE',
|
74 |
-
AdPlacePageSet::getFieldsEnum()->getValues(),
|
75 |
-
new TypeChecker($param_types, $enums)
|
76 |
-
);
|
77 |
-
$request->addParams($params);
|
78 |
-
$request->addFields($fields);
|
79 |
-
return $pending ? $request : $request->execute();
|
80 |
-
}
|
81 |
-
|
82 |
public function getAdsPixels(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
$this->assureId();
|
84 |
|
56 |
}
|
57 |
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
public function getAdsPixels(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
$this->assureId();
|
61 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdoptablePet.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdoptablePetFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,10 +51,80 @@ class AdoptablePet extends AbstractCrudObject {
|
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdoptablePetFields;
|
32 |
+
use FacebookAds\Object\Values\AdoptablePetImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['ImageFetchStatus'] = AdoptablePetImageFetchStatusValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/augmented_realities_metadata',
|
72 |
+
new AbstractCrudObject(),
|
73 |
+
'EDGE',
|
74 |
+
array(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/channels_to_integrity_status',
|
95 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
96 |
+
'EDGE',
|
97 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
106 |
+
$this->assureId();
|
107 |
+
|
108 |
+
$param_types = array(
|
109 |
+
);
|
110 |
+
$enums = array(
|
111 |
+
);
|
112 |
+
|
113 |
+
$request = new ApiRequest(
|
114 |
+
$this->api,
|
115 |
+
$this->data['id'],
|
116 |
+
RequestInterface::METHOD_GET,
|
117 |
+
'/videos_metadata',
|
118 |
+
new AbstractCrudObject(),
|
119 |
+
'EDGE',
|
120 |
+
array(),
|
121 |
+
new TypeChecker($param_types, $enums)
|
122 |
+
);
|
123 |
+
$request->addParams($params);
|
124 |
+
$request->addFields($fields);
|
125 |
+
return $pending ? $request : $request->execute();
|
126 |
+
}
|
127 |
+
|
128 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
129 |
$this->assureId();
|
130 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php
CHANGED
@@ -333,10 +333,11 @@ class Application extends AbstractCrudObject {
|
|
333 |
return $pending ? $request : $request->execute();
|
334 |
}
|
335 |
|
336 |
-
public function
|
337 |
$this->assureId();
|
338 |
|
339 |
$param_types = array(
|
|
|
340 |
);
|
341 |
$enums = array(
|
342 |
);
|
@@ -345,10 +346,10 @@ class Application extends AbstractCrudObject {
|
|
345 |
$this->api,
|
346 |
$this->data['id'],
|
347 |
RequestInterface::METHOD_GET,
|
348 |
-
'/
|
349 |
-
new
|
350 |
'EDGE',
|
351 |
-
|
352 |
new TypeChecker($param_types, $enums)
|
353 |
);
|
354 |
$request->addParams($params);
|
@@ -356,13 +357,11 @@ class Application extends AbstractCrudObject {
|
|
356 |
return $pending ? $request : $request->execute();
|
357 |
}
|
358 |
|
359 |
-
public function
|
360 |
$this->assureId();
|
361 |
|
362 |
$param_types = array(
|
363 |
-
'
|
364 |
-
'query_ids' => 'list<string>',
|
365 |
-
'request_id' => 'string',
|
366 |
);
|
367 |
$enums = array(
|
368 |
);
|
@@ -371,7 +370,7 @@ class Application extends AbstractCrudObject {
|
|
371 |
$this->api,
|
372 |
$this->data['id'],
|
373 |
RequestInterface::METHOD_POST,
|
374 |
-
'/
|
375 |
new AbstractCrudObject(),
|
376 |
'EDGE',
|
377 |
array(),
|
@@ -382,7 +381,7 @@ class Application extends AbstractCrudObject {
|
|
382 |
return $pending ? $request : $request->execute();
|
383 |
}
|
384 |
|
385 |
-
public function
|
386 |
$this->assureId();
|
387 |
|
388 |
$param_types = array(
|
@@ -394,7 +393,34 @@ class Application extends AbstractCrudObject {
|
|
394 |
$this->api,
|
395 |
$this->data['id'],
|
396 |
RequestInterface::METHOD_GET,
|
397 |
-
'/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
398 |
new AbstractCrudObject(),
|
399 |
'EDGE',
|
400 |
array(),
|
@@ -405,7 +431,7 @@ class Application extends AbstractCrudObject {
|
|
405 |
return $pending ? $request : $request->execute();
|
406 |
}
|
407 |
|
408 |
-
public function
|
409 |
$this->assureId();
|
410 |
|
411 |
$param_types = array(
|
@@ -417,7 +443,7 @@ class Application extends AbstractCrudObject {
|
|
417 |
$this->api,
|
418 |
$this->data['id'],
|
419 |
RequestInterface::METHOD_GET,
|
420 |
-
'/
|
421 |
new AbstractCrudObject(),
|
422 |
'EDGE',
|
423 |
array(),
|
@@ -1311,6 +1337,31 @@ class Application extends AbstractCrudObject {
|
|
1311 |
return $pending ? $request : $request->execute();
|
1312 |
}
|
1313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1314 |
public function getRoles(array $fields = array(), array $params = array(), $pending = false) {
|
1315 |
$this->assureId();
|
1316 |
|
@@ -1334,6 +1385,31 @@ class Application extends AbstractCrudObject {
|
|
1334 |
return $pending ? $request : $request->execute();
|
1335 |
}
|
1336 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1337 |
public function getSubscribedDomains(array $fields = array(), array $params = array(), $pending = false) {
|
1338 |
$this->assureId();
|
1339 |
|
333 |
return $pending ? $request : $request->execute();
|
334 |
}
|
335 |
|
336 |
+
public function getAemConversionConfigs(array $fields = array(), array $params = array(), $pending = false) {
|
337 |
$this->assureId();
|
338 |
|
339 |
$param_types = array(
|
340 |
+
'advertiser_ids' => 'list<string>',
|
341 |
);
|
342 |
$enums = array(
|
343 |
);
|
346 |
$this->api,
|
347 |
$this->data['id'],
|
348 |
RequestInterface::METHOD_GET,
|
349 |
+
'/aem_conversion_configs',
|
350 |
+
new AbstractCrudObject(),
|
351 |
'EDGE',
|
352 |
+
array(),
|
353 |
new TypeChecker($param_types, $enums)
|
354 |
);
|
355 |
$request->addParams($params);
|
357 |
return $pending ? $request : $request->execute();
|
358 |
}
|
359 |
|
360 |
+
public function createAemConversion(array $fields = array(), array $params = array(), $pending = false) {
|
361 |
$this->assureId();
|
362 |
|
363 |
$param_types = array(
|
364 |
+
'aem_conversions' => 'list<map>',
|
|
|
|
|
365 |
);
|
366 |
$enums = array(
|
367 |
);
|
370 |
$this->api,
|
371 |
$this->data['id'],
|
372 |
RequestInterface::METHOD_POST,
|
373 |
+
'/aem_conversions',
|
374 |
new AbstractCrudObject(),
|
375 |
'EDGE',
|
376 |
array(),
|
381 |
return $pending ? $request : $request->execute();
|
382 |
}
|
383 |
|
384 |
+
public function getAgencies(array $fields = array(), array $params = array(), $pending = false) {
|
385 |
$this->assureId();
|
386 |
|
387 |
$param_types = array(
|
393 |
$this->api,
|
394 |
$this->data['id'],
|
395 |
RequestInterface::METHOD_GET,
|
396 |
+
'/agencies',
|
397 |
+
new Business(),
|
398 |
+
'EDGE',
|
399 |
+
Business::getFieldsEnum()->getValues(),
|
400 |
+
new TypeChecker($param_types, $enums)
|
401 |
+
);
|
402 |
+
$request->addParams($params);
|
403 |
+
$request->addFields($fields);
|
404 |
+
return $pending ? $request : $request->execute();
|
405 |
+
}
|
406 |
+
|
407 |
+
public function createAggregateRevenue(array $fields = array(), array $params = array(), $pending = false) {
|
408 |
+
$this->assureId();
|
409 |
+
|
410 |
+
$param_types = array(
|
411 |
+
'ecpms' => 'list<string>',
|
412 |
+
'query_ids' => 'list<string>',
|
413 |
+
'request_id' => 'string',
|
414 |
+
'sync_api' => 'bool',
|
415 |
+
);
|
416 |
+
$enums = array(
|
417 |
+
);
|
418 |
+
|
419 |
+
$request = new ApiRequest(
|
420 |
+
$this->api,
|
421 |
+
$this->data['id'],
|
422 |
+
RequestInterface::METHOD_POST,
|
423 |
+
'/aggregate_revenue',
|
424 |
new AbstractCrudObject(),
|
425 |
'EDGE',
|
426 |
array(),
|
431 |
return $pending ? $request : $request->execute();
|
432 |
}
|
433 |
|
434 |
+
public function getAndroidDialogConfigs(array $fields = array(), array $params = array(), $pending = false) {
|
435 |
$this->assureId();
|
436 |
|
437 |
$param_types = array(
|
443 |
$this->api,
|
444 |
$this->data['id'],
|
445 |
RequestInterface::METHOD_GET,
|
446 |
+
'/android_dialog_configs',
|
447 |
new AbstractCrudObject(),
|
448 |
'EDGE',
|
449 |
array(),
|
1337 |
return $pending ? $request : $request->execute();
|
1338 |
}
|
1339 |
|
1340 |
+
public function createPushTokenRegister(array $fields = array(), array $params = array(), $pending = false) {
|
1341 |
+
$this->assureId();
|
1342 |
+
|
1343 |
+
$param_types = array(
|
1344 |
+
'device_id' => 'string',
|
1345 |
+
'push_token' => 'string',
|
1346 |
+
);
|
1347 |
+
$enums = array(
|
1348 |
+
);
|
1349 |
+
|
1350 |
+
$request = new ApiRequest(
|
1351 |
+
$this->api,
|
1352 |
+
$this->data['id'],
|
1353 |
+
RequestInterface::METHOD_POST,
|
1354 |
+
'/push_token_register',
|
1355 |
+
new AbstractCrudObject(),
|
1356 |
+
'EDGE',
|
1357 |
+
array(),
|
1358 |
+
new TypeChecker($param_types, $enums)
|
1359 |
+
);
|
1360 |
+
$request->addParams($params);
|
1361 |
+
$request->addFields($fields);
|
1362 |
+
return $pending ? $request : $request->execute();
|
1363 |
+
}
|
1364 |
+
|
1365 |
public function getRoles(array $fields = array(), array $params = array(), $pending = false) {
|
1366 |
$this->assureId();
|
1367 |
|
1385 |
return $pending ? $request : $request->execute();
|
1386 |
}
|
1387 |
|
1388 |
+
public function createSendNotification(array $fields = array(), array $params = array(), $pending = false) {
|
1389 |
+
$this->assureId();
|
1390 |
+
|
1391 |
+
$param_types = array(
|
1392 |
+
'payload' => 'string',
|
1393 |
+
'token_id' => 'string',
|
1394 |
+
);
|
1395 |
+
$enums = array(
|
1396 |
+
);
|
1397 |
+
|
1398 |
+
$request = new ApiRequest(
|
1399 |
+
$this->api,
|
1400 |
+
$this->data['id'],
|
1401 |
+
RequestInterface::METHOD_POST,
|
1402 |
+
'/send_notification',
|
1403 |
+
new AbstractCrudObject(),
|
1404 |
+
'EDGE',
|
1405 |
+
array(),
|
1406 |
+
new TypeChecker($param_types, $enums)
|
1407 |
+
);
|
1408 |
+
$request->addParams($params);
|
1409 |
+
$request->addFields($fields);
|
1410 |
+
return $pending ? $request : $request->execute();
|
1411 |
+
}
|
1412 |
+
|
1413 |
public function getSubscribedDomains(array $fields = array(), array $params = array(), $pending = false) {
|
1414 |
$this->assureId();
|
1415 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AudioCopyright.php
CHANGED
@@ -54,6 +54,29 @@ class AudioCopyright extends AbstractCrudObject {
|
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
54 |
}
|
55 |
|
56 |
|
57 |
+
public function getUpdateRecords(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
+
$this->assureId();
|
59 |
+
|
60 |
+
$param_types = array(
|
61 |
+
);
|
62 |
+
$enums = array(
|
63 |
+
);
|
64 |
+
|
65 |
+
$request = new ApiRequest(
|
66 |
+
$this->api,
|
67 |
+
$this->data['id'],
|
68 |
+
RequestInterface::METHOD_GET,
|
69 |
+
'/update_records',
|
70 |
+
new AbstractCrudObject(),
|
71 |
+
'EDGE',
|
72 |
+
array(),
|
73 |
+
new TypeChecker($param_types, $enums)
|
74 |
+
);
|
75 |
+
$request->addParams($params);
|
76 |
+
$request->addFields($fields);
|
77 |
+
return $pending ? $request : $request->execute();
|
78 |
+
}
|
79 |
+
|
80 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
81 |
$this->assureId();
|
82 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AutomotiveModel.php
CHANGED
@@ -30,6 +30,7 @@ use FacebookAds\Http\RequestInterface;
|
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AutomotiveModelFields;
|
32 |
use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
|
|
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
@@ -58,11 +59,81 @@ class AutomotiveModel extends AbstractCrudObject {
|
|
58 |
|
59 |
protected static function getReferencedEnums() {
|
60 |
$ref_enums = array();
|
|
|
61 |
$ref_enums['BodyStyle'] = AutomotiveModelBodyStyleValues::getInstance()->getValues();
|
62 |
return $ref_enums;
|
63 |
}
|
64 |
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
67 |
$this->assureId();
|
68 |
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AutomotiveModelFields;
|
32 |
use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
|
33 |
+
use FacebookAds\Object\Values\AutomotiveModelImageFetchStatusValues;
|
34 |
|
35 |
/**
|
36 |
* This class is auto-generated.
|
59 |
|
60 |
protected static function getReferencedEnums() {
|
61 |
$ref_enums = array();
|
62 |
+
$ref_enums['ImageFetchStatus'] = AutomotiveModelImageFetchStatusValues::getInstance()->getValues();
|
63 |
$ref_enums['BodyStyle'] = AutomotiveModelBodyStyleValues::getInstance()->getValues();
|
64 |
return $ref_enums;
|
65 |
}
|
66 |
|
67 |
|
68 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
69 |
+
$this->assureId();
|
70 |
+
|
71 |
+
$param_types = array(
|
72 |
+
);
|
73 |
+
$enums = array(
|
74 |
+
);
|
75 |
+
|
76 |
+
$request = new ApiRequest(
|
77 |
+
$this->api,
|
78 |
+
$this->data['id'],
|
79 |
+
RequestInterface::METHOD_GET,
|
80 |
+
'/augmented_realities_metadata',
|
81 |
+
new AbstractCrudObject(),
|
82 |
+
'EDGE',
|
83 |
+
array(),
|
84 |
+
new TypeChecker($param_types, $enums)
|
85 |
+
);
|
86 |
+
$request->addParams($params);
|
87 |
+
$request->addFields($fields);
|
88 |
+
return $pending ? $request : $request->execute();
|
89 |
+
}
|
90 |
+
|
91 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
92 |
+
$this->assureId();
|
93 |
+
|
94 |
+
$param_types = array(
|
95 |
+
);
|
96 |
+
$enums = array(
|
97 |
+
);
|
98 |
+
|
99 |
+
$request = new ApiRequest(
|
100 |
+
$this->api,
|
101 |
+
$this->data['id'],
|
102 |
+
RequestInterface::METHOD_GET,
|
103 |
+
'/channels_to_integrity_status',
|
104 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
105 |
+
'EDGE',
|
106 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
107 |
+
new TypeChecker($param_types, $enums)
|
108 |
+
);
|
109 |
+
$request->addParams($params);
|
110 |
+
$request->addFields($fields);
|
111 |
+
return $pending ? $request : $request->execute();
|
112 |
+
}
|
113 |
+
|
114 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
115 |
+
$this->assureId();
|
116 |
+
|
117 |
+
$param_types = array(
|
118 |
+
);
|
119 |
+
$enums = array(
|
120 |
+
);
|
121 |
+
|
122 |
+
$request = new ApiRequest(
|
123 |
+
$this->api,
|
124 |
+
$this->data['id'],
|
125 |
+
RequestInterface::METHOD_GET,
|
126 |
+
'/videos_metadata',
|
127 |
+
new AbstractCrudObject(),
|
128 |
+
'EDGE',
|
129 |
+
array(),
|
130 |
+
new TypeChecker($param_types, $enums)
|
131 |
+
);
|
132 |
+
$request->addParams($params);
|
133 |
+
$request->addFields($fields);
|
134 |
+
return $pending ? $request : $request->execute();
|
135 |
+
}
|
136 |
+
|
137 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
138 |
$this->assureId();
|
139 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php
CHANGED
@@ -53,7 +53,7 @@ use FacebookAds\Object\Values\MeasurementUploadEventEventStatusValues;
|
|
53 |
use FacebookAds\Object\Values\MeasurementUploadEventLookbackWindowValues;
|
54 |
use FacebookAds\Object\Values\MeasurementUploadEventMatchUniverseValues;
|
55 |
use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
|
56 |
-
use FacebookAds\Object\Values\
|
57 |
use FacebookAds\Object\Values\ProductCatalogVerticalValues;
|
58 |
use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
|
59 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
@@ -363,6 +363,7 @@ class Business extends AbstractCrudObject {
|
|
363 |
$this->assureId();
|
364 |
|
365 |
$param_types = array(
|
|
|
366 |
'name' => 'string',
|
367 |
);
|
368 |
$enums = array(
|
@@ -437,6 +438,7 @@ class Business extends AbstractCrudObject {
|
|
437 |
'ecpms' => 'list<string>',
|
438 |
'query_ids' => 'list<string>',
|
439 |
'request_id' => 'string',
|
|
|
440 |
);
|
441 |
$enums = array(
|
442 |
);
|
@@ -531,7 +533,7 @@ class Business extends AbstractCrudObject {
|
|
531 |
|
532 |
$param_types = array(
|
533 |
'end_date' => 'string',
|
534 |
-
'invoice_id' => '
|
535 |
'issue_end_date' => 'string',
|
536 |
'issue_start_date' => 'string',
|
537 |
'root_id' => 'unsigned int',
|
@@ -539,7 +541,7 @@ class Business extends AbstractCrudObject {
|
|
539 |
'type' => 'type_enum',
|
540 |
);
|
541 |
$enums = array(
|
542 |
-
'type_enum' =>
|
543 |
);
|
544 |
|
545 |
$request = new ApiRequest(
|
@@ -547,9 +549,9 @@ class Business extends AbstractCrudObject {
|
|
547 |
$this->data['id'],
|
548 |
RequestInterface::METHOD_GET,
|
549 |
'/business_invoices',
|
550 |
-
new
|
551 |
'EDGE',
|
552 |
-
|
553 |
new TypeChecker($param_types, $enums)
|
554 |
);
|
555 |
$request->addParams($params);
|
@@ -700,32 +702,6 @@ class Business extends AbstractCrudObject {
|
|
700 |
return $pending ? $request : $request->execute();
|
701 |
}
|
702 |
|
703 |
-
public function createClientAdAccount(array $fields = array(), array $params = array(), $pending = false) {
|
704 |
-
$this->assureId();
|
705 |
-
|
706 |
-
$param_types = array(
|
707 |
-
'adaccount_id' => 'string',
|
708 |
-
'permitted_tasks' => 'list<permitted_tasks_enum>',
|
709 |
-
);
|
710 |
-
$enums = array(
|
711 |
-
'permitted_tasks_enum' => BusinessPermittedTasksValues::getInstance()->getValues(),
|
712 |
-
);
|
713 |
-
|
714 |
-
$request = new ApiRequest(
|
715 |
-
$this->api,
|
716 |
-
$this->data['id'],
|
717 |
-
RequestInterface::METHOD_POST,
|
718 |
-
'/client_ad_accounts',
|
719 |
-
new Business(),
|
720 |
-
'EDGE',
|
721 |
-
Business::getFieldsEnum()->getValues(),
|
722 |
-
new TypeChecker($param_types, $enums)
|
723 |
-
);
|
724 |
-
$request->addParams($params);
|
725 |
-
$request->addFields($fields);
|
726 |
-
return $pending ? $request : $request->execute();
|
727 |
-
}
|
728 |
-
|
729 |
public function getClientApps(array $fields = array(), array $params = array(), $pending = false) {
|
730 |
$this->assureId();
|
731 |
|
@@ -1176,11 +1152,11 @@ class Business extends AbstractCrudObject {
|
|
1176 |
return $pending ? $request : $request->execute();
|
1177 |
}
|
1178 |
|
1179 |
-
public function
|
1180 |
$this->assureId();
|
1181 |
|
1182 |
$param_types = array(
|
1183 |
-
'
|
1184 |
);
|
1185 |
$enums = array(
|
1186 |
);
|
@@ -1189,10 +1165,10 @@ class Business extends AbstractCrudObject {
|
|
1189 |
$this->api,
|
1190 |
$this->data['id'],
|
1191 |
RequestInterface::METHOD_GET,
|
1192 |
-
'/
|
1193 |
-
new
|
1194 |
'EDGE',
|
1195 |
-
|
1196 |
new TypeChecker($param_types, $enums)
|
1197 |
);
|
1198 |
$request->addParams($params);
|
@@ -1200,35 +1176,23 @@ class Business extends AbstractCrudObject {
|
|
1200 |
return $pending ? $request : $request->execute();
|
1201 |
}
|
1202 |
|
1203 |
-
public function
|
1204 |
$this->assureId();
|
1205 |
|
1206 |
$param_types = array(
|
1207 |
-
'
|
1208 |
-
'creative_folder' => 'string',
|
1209 |
-
'creative_spec_template_data' => 'map',
|
1210 |
-
'description' => 'string',
|
1211 |
-
'end_date' => 'datetime',
|
1212 |
-
'name' => 'string',
|
1213 |
-
'program_approval_type' => 'program_approval_type_enum',
|
1214 |
-
'shared_custom_audience' => 'string',
|
1215 |
-
'start_date' => 'datetime',
|
1216 |
);
|
1217 |
$enums = array(
|
1218 |
-
'program_approval_type_enum' => array(
|
1219 |
-
'APPROVAL',
|
1220 |
-
'PUBLIC',
|
1221 |
-
),
|
1222 |
);
|
1223 |
|
1224 |
$request = new ApiRequest(
|
1225 |
$this->api,
|
1226 |
$this->data['id'],
|
1227 |
-
RequestInterface::
|
1228 |
-
'/
|
1229 |
-
new
|
1230 |
'EDGE',
|
1231 |
-
|
1232 |
new TypeChecker($param_types, $enums)
|
1233 |
);
|
1234 |
$request->addParams($params);
|
@@ -1799,6 +1763,7 @@ class Business extends AbstractCrudObject {
|
|
1799 |
'flight_catalog_settings' => 'map',
|
1800 |
'name' => 'string',
|
1801 |
'parent_catalog_id' => 'string',
|
|
|
1802 |
'store_catalog_settings' => 'map',
|
1803 |
'vertical' => 'vertical_enum',
|
1804 |
);
|
@@ -2112,6 +2077,29 @@ class Business extends AbstractCrudObject {
|
|
2112 |
return $pending ? $request : $request->execute();
|
2113 |
}
|
2114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2115 |
public function getSystemUsers(array $fields = array(), array $params = array(), $pending = false) {
|
2116 |
$this->assureId();
|
2117 |
|
53 |
use FacebookAds\Object\Values\MeasurementUploadEventLookbackWindowValues;
|
54 |
use FacebookAds\Object\Values\MeasurementUploadEventMatchUniverseValues;
|
55 |
use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
|
56 |
+
use FacebookAds\Object\Values\OmegaCustomerTrxTypeValues;
|
57 |
use FacebookAds\Object\Values\ProductCatalogVerticalValues;
|
58 |
use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
|
59 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
363 |
$this->assureId();
|
364 |
|
365 |
$param_types = array(
|
366 |
+
'is_crm' => 'bool',
|
367 |
'name' => 'string',
|
368 |
);
|
369 |
$enums = array(
|
438 |
'ecpms' => 'list<string>',
|
439 |
'query_ids' => 'list<string>',
|
440 |
'request_id' => 'string',
|
441 |
+
'sync_api' => 'bool',
|
442 |
);
|
443 |
$enums = array(
|
444 |
);
|
533 |
|
534 |
$param_types = array(
|
535 |
'end_date' => 'string',
|
536 |
+
'invoice_id' => 'string',
|
537 |
'issue_end_date' => 'string',
|
538 |
'issue_start_date' => 'string',
|
539 |
'root_id' => 'unsigned int',
|
541 |
'type' => 'type_enum',
|
542 |
);
|
543 |
$enums = array(
|
544 |
+
'type_enum' => OmegaCustomerTrxTypeValues::getInstance()->getValues(),
|
545 |
);
|
546 |
|
547 |
$request = new ApiRequest(
|
549 |
$this->data['id'],
|
550 |
RequestInterface::METHOD_GET,
|
551 |
'/business_invoices',
|
552 |
+
new OmegaCustomerTrx(),
|
553 |
'EDGE',
|
554 |
+
OmegaCustomerTrx::getFieldsEnum()->getValues(),
|
555 |
new TypeChecker($param_types, $enums)
|
556 |
);
|
557 |
$request->addParams($params);
|
702 |
return $pending ? $request : $request->execute();
|
703 |
}
|
704 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
705 |
public function getClientApps(array $fields = array(), array $params = array(), $pending = false) {
|
706 |
$this->assureId();
|
707 |
|
1152 |
return $pending ? $request : $request->execute();
|
1153 |
}
|
1154 |
|
1155 |
+
public function getExtendedCreditApplications(array $fields = array(), array $params = array(), $pending = false) {
|
1156 |
$this->assureId();
|
1157 |
|
1158 |
$param_types = array(
|
1159 |
+
'only_show_pending' => 'bool',
|
1160 |
);
|
1161 |
$enums = array(
|
1162 |
);
|
1165 |
$this->api,
|
1166 |
$this->data['id'],
|
1167 |
RequestInterface::METHOD_GET,
|
1168 |
+
'/extendedcreditapplications',
|
1169 |
+
new AbstractCrudObject(),
|
1170 |
'EDGE',
|
1171 |
+
array(),
|
1172 |
new TypeChecker($param_types, $enums)
|
1173 |
);
|
1174 |
$request->addParams($params);
|
1176 |
return $pending ? $request : $request->execute();
|
1177 |
}
|
1178 |
|
1179 |
+
public function getExtendedCredits(array $fields = array(), array $params = array(), $pending = false) {
|
1180 |
$this->assureId();
|
1181 |
|
1182 |
$param_types = array(
|
1183 |
+
'order_by_is_owned_credential' => 'bool',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1184 |
);
|
1185 |
$enums = array(
|
|
|
|
|
|
|
|
|
1186 |
);
|
1187 |
|
1188 |
$request = new ApiRequest(
|
1189 |
$this->api,
|
1190 |
$this->data['id'],
|
1191 |
+
RequestInterface::METHOD_GET,
|
1192 |
+
'/extendedcredits',
|
1193 |
+
new ExtendedCredit(),
|
1194 |
'EDGE',
|
1195 |
+
ExtendedCredit::getFieldsEnum()->getValues(),
|
1196 |
new TypeChecker($param_types, $enums)
|
1197 |
);
|
1198 |
$request->addParams($params);
|
1763 |
'flight_catalog_settings' => 'map',
|
1764 |
'name' => 'string',
|
1765 |
'parent_catalog_id' => 'string',
|
1766 |
+
'partner_integration' => 'map',
|
1767 |
'store_catalog_settings' => 'map',
|
1768 |
'vertical' => 'vertical_enum',
|
1769 |
);
|
2077 |
return $pending ? $request : $request->execute();
|
2078 |
}
|
2079 |
|
2080 |
+
public function getSpacoDataSetCollections(array $fields = array(), array $params = array(), $pending = false) {
|
2081 |
+
$this->assureId();
|
2082 |
+
|
2083 |
+
$param_types = array(
|
2084 |
+
);
|
2085 |
+
$enums = array(
|
2086 |
+
);
|
2087 |
+
|
2088 |
+
$request = new ApiRequest(
|
2089 |
+
$this->api,
|
2090 |
+
$this->data['id'],
|
2091 |
+
RequestInterface::METHOD_GET,
|
2092 |
+
'/spaco_dataset_collections',
|
2093 |
+
new AbstractCrudObject(),
|
2094 |
+
'EDGE',
|
2095 |
+
array(),
|
2096 |
+
new TypeChecker($param_types, $enums)
|
2097 |
+
);
|
2098 |
+
$request->addParams($params);
|
2099 |
+
$request->addFields($fields);
|
2100 |
+
return $pending ? $request : $request->execute();
|
2101 |
+
}
|
2102 |
+
|
2103 |
public function getSystemUsers(array $fields = array(), array $params = array(), $pending = false) {
|
2104 |
$this->assureId();
|
2105 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php
CHANGED
@@ -470,7 +470,7 @@ class Campaign extends AbstractArchivableCrudObject {
|
|
470 |
'last_week_mon_sun',
|
471 |
'last_week_sun_sat',
|
472 |
'last_year',
|
473 |
-
'
|
474 |
'this_month',
|
475 |
'this_quarter',
|
476 |
'this_week_mon_today',
|
@@ -519,7 +519,9 @@ class Campaign extends AbstractArchivableCrudObject {
|
|
519 |
'special_ad_category' => 'special_ad_category_enum',
|
520 |
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
521 |
'spend_cap' => 'unsigned int',
|
|
|
522 |
'status' => 'status_enum',
|
|
|
523 |
'upstream_events' => 'map',
|
524 |
);
|
525 |
$enums = array(
|
470 |
'last_week_mon_sun',
|
471 |
'last_week_sun_sat',
|
472 |
'last_year',
|
473 |
+
'maximum',
|
474 |
'this_month',
|
475 |
'this_quarter',
|
476 |
'this_week_mon_today',
|
519 |
'special_ad_category' => 'special_ad_category_enum',
|
520 |
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
521 |
'spend_cap' => 'unsigned int',
|
522 |
+
'start_time' => 'datetime',
|
523 |
'status' => 'status_enum',
|
524 |
+
'stop_time' => 'datetime',
|
525 |
'upstream_events' => 'map',
|
526 |
);
|
527 |
$enums = array(
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Canvas.php
CHANGED
@@ -157,6 +157,7 @@ class Canvas extends AbstractCrudObject {
|
|
157 |
'is_hidden' => 'bool',
|
158 |
'is_published' => 'bool',
|
159 |
'name' => 'string',
|
|
|
160 |
);
|
161 |
$enums = array(
|
162 |
);
|
157 |
'is_hidden' => 'bool',
|
158 |
'is_published' => 'bool',
|
159 |
'name' => 'string',
|
160 |
+
'source_template_id' => 'string',
|
161 |
);
|
162 |
$enums = array(
|
163 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CanvasTemplate.php
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\CanvasTemplateFields;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* This class is auto-generated.
|
35 |
+
*
|
36 |
+
* For any issues or feature requests related to this class, please let us know
|
37 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
38 |
+
* pull request for this class.
|
39 |
+
*
|
40 |
+
*/
|
41 |
+
|
42 |
+
class CanvasTemplate extends AbstractCrudObject {
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @return CanvasTemplateFields
|
46 |
+
*/
|
47 |
+
public static function getFieldsEnum() {
|
48 |
+
return CanvasTemplateFields::getInstance();
|
49 |
+
}
|
50 |
+
|
51 |
+
protected static function getReferencedEnums() {
|
52 |
+
$ref_enums = array();
|
53 |
+
return $ref_enums;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
+
$this->assureId();
|
59 |
+
|
60 |
+
$param_types = array(
|
61 |
+
);
|
62 |
+
$enums = array(
|
63 |
+
);
|
64 |
+
|
65 |
+
$request = new ApiRequest(
|
66 |
+
$this->api,
|
67 |
+
$this->data['id'],
|
68 |
+
RequestInterface::METHOD_GET,
|
69 |
+
'/',
|
70 |
+
new CanvasTemplate(),
|
71 |
+
'NODE',
|
72 |
+
CanvasTemplate::getFieldsEnum()->getValues(),
|
73 |
+
new TypeChecker($param_types, $enums)
|
74 |
+
);
|
75 |
+
$request->addParams($params);
|
76 |
+
$request->addFields($fields);
|
77 |
+
return $pending ? $request : $request->execute();
|
78 |
+
}
|
79 |
+
|
80 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php
CHANGED
@@ -29,6 +29,8 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\CommerceMerchantSettingsFields;
|
|
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -54,6 +56,111 @@ class CommerceMerchantSettings extends AbstractCrudObject {
|
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getOrderManagementApps(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\CommerceMerchantSettingsFields;
|
32 |
+
use FacebookAds\Object\Values\CommerceOrderFiltersValues;
|
33 |
+
use FacebookAds\Object\Values\CommerceOrderStateValues;
|
34 |
|
35 |
/**
|
36 |
* This class is auto-generated.
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function createAcknowledgeOrder(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
'idempotency_key' => 'string',
|
64 |
+
'orders' => 'list<map>',
|
65 |
+
);
|
66 |
+
$enums = array(
|
67 |
+
);
|
68 |
+
|
69 |
+
$request = new ApiRequest(
|
70 |
+
$this->api,
|
71 |
+
$this->data['id'],
|
72 |
+
RequestInterface::METHOD_POST,
|
73 |
+
'/acknowledge_orders',
|
74 |
+
new CommerceMerchantSettings(),
|
75 |
+
'EDGE',
|
76 |
+
CommerceMerchantSettings::getFieldsEnum()->getValues(),
|
77 |
+
new TypeChecker($param_types, $enums)
|
78 |
+
);
|
79 |
+
$request->addParams($params);
|
80 |
+
$request->addFields($fields);
|
81 |
+
return $pending ? $request : $request->execute();
|
82 |
+
}
|
83 |
+
|
84 |
+
public function getCommerceOrders(array $fields = array(), array $params = array(), $pending = false) {
|
85 |
+
$this->assureId();
|
86 |
+
|
87 |
+
$param_types = array(
|
88 |
+
'filters' => 'list<filters_enum>',
|
89 |
+
'state' => 'list<state_enum>',
|
90 |
+
'updated_after' => 'datetime',
|
91 |
+
'updated_before' => 'datetime',
|
92 |
+
);
|
93 |
+
$enums = array(
|
94 |
+
'filters_enum' => CommerceOrderFiltersValues::getInstance()->getValues(),
|
95 |
+
'state_enum' => CommerceOrderStateValues::getInstance()->getValues(),
|
96 |
+
);
|
97 |
+
|
98 |
+
$request = new ApiRequest(
|
99 |
+
$this->api,
|
100 |
+
$this->data['id'],
|
101 |
+
RequestInterface::METHOD_GET,
|
102 |
+
'/commerce_orders',
|
103 |
+
new CommerceOrder(),
|
104 |
+
'EDGE',
|
105 |
+
CommerceOrder::getFieldsEnum()->getValues(),
|
106 |
+
new TypeChecker($param_types, $enums)
|
107 |
+
);
|
108 |
+
$request->addParams($params);
|
109 |
+
$request->addFields($fields);
|
110 |
+
return $pending ? $request : $request->execute();
|
111 |
+
}
|
112 |
+
|
113 |
+
public function getCommercePayouts(array $fields = array(), array $params = array(), $pending = false) {
|
114 |
+
$this->assureId();
|
115 |
+
|
116 |
+
$param_types = array(
|
117 |
+
'end_time' => 'datetime',
|
118 |
+
'start_time' => 'datetime',
|
119 |
+
);
|
120 |
+
$enums = array(
|
121 |
+
);
|
122 |
+
|
123 |
+
$request = new ApiRequest(
|
124 |
+
$this->api,
|
125 |
+
$this->data['id'],
|
126 |
+
RequestInterface::METHOD_GET,
|
127 |
+
'/commerce_payouts',
|
128 |
+
new CommercePayout(),
|
129 |
+
'EDGE',
|
130 |
+
CommercePayout::getFieldsEnum()->getValues(),
|
131 |
+
new TypeChecker($param_types, $enums)
|
132 |
+
);
|
133 |
+
$request->addParams($params);
|
134 |
+
$request->addFields($fields);
|
135 |
+
return $pending ? $request : $request->execute();
|
136 |
+
}
|
137 |
+
|
138 |
+
public function getCommerceTransactions(array $fields = array(), array $params = array(), $pending = false) {
|
139 |
+
$this->assureId();
|
140 |
+
|
141 |
+
$param_types = array(
|
142 |
+
'end_time' => 'datetime',
|
143 |
+
'payout_reference_id' => 'string',
|
144 |
+
'start_time' => 'datetime',
|
145 |
+
);
|
146 |
+
$enums = array(
|
147 |
+
);
|
148 |
+
|
149 |
+
$request = new ApiRequest(
|
150 |
+
$this->api,
|
151 |
+
$this->data['id'],
|
152 |
+
RequestInterface::METHOD_GET,
|
153 |
+
'/commerce_transactions',
|
154 |
+
new CommerceOrderTransactionDetail(),
|
155 |
+
'EDGE',
|
156 |
+
CommerceOrderTransactionDetail::getFieldsEnum()->getValues(),
|
157 |
+
new TypeChecker($param_types, $enums)
|
158 |
+
);
|
159 |
+
$request->addParams($params);
|
160 |
+
$request->addFields($fields);
|
161 |
+
return $pending ? $request : $request->execute();
|
162 |
+
}
|
163 |
+
|
164 |
public function getOrderManagementApps(array $fields = array(), array $params = array(), $pending = false) {
|
165 |
$this->assureId();
|
166 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrder.php
CHANGED
@@ -53,9 +53,9 @@ class CommerceOrder extends AbstractCrudObject {
|
|
53 |
|
54 |
protected static function getReferencedEnums() {
|
55 |
$ref_enums = array();
|
56 |
-
$ref_enums['ReasonCode'] = CommerceOrderReasonCodeValues::getInstance()->getValues();
|
57 |
$ref_enums['Filters'] = CommerceOrderFiltersValues::getInstance()->getValues();
|
58 |
$ref_enums['State'] = CommerceOrderStateValues::getInstance()->getValues();
|
|
|
59 |
return $ref_enums;
|
60 |
}
|
61 |
|
53 |
|
54 |
protected static function getReferencedEnums() {
|
55 |
$ref_enums = array();
|
|
|
56 |
$ref_enums['Filters'] = CommerceOrderFiltersValues::getInstance()->getValues();
|
57 |
$ref_enums['State'] = CommerceOrderStateValues::getInstance()->getValues();
|
58 |
+
$ref_enums['ReasonCode'] = CommerceOrderReasonCodeValues::getInstance()->getValues();
|
59 |
return $ref_enums;
|
60 |
}
|
61 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CustomAudience.php
CHANGED
@@ -362,40 +362,26 @@ class CustomAudience extends AbstractCrudObject {
|
|
362 |
$this->assureId();
|
363 |
|
364 |
$param_types = array(
|
365 |
-
'accountID' => 'string',
|
366 |
-
'additionalMetadata' => 'string',
|
367 |
'allowed_domains' => 'list<string>',
|
368 |
'claim_objective' => 'claim_objective_enum',
|
369 |
'content_type' => 'content_type_enum',
|
370 |
'countries' => 'string',
|
371 |
'customer_file_source' => 'customer_file_source_enum',
|
372 |
'description' => 'string',
|
373 |
-
'details' => 'string',
|
374 |
'enable_fetch_or_create' => 'bool',
|
375 |
'event_source_group' => 'string',
|
376 |
'event_sources' => 'list<map>',
|
377 |
'exclusions' => 'list<Object>',
|
378 |
-
'expectedSize' => 'unsigned int',
|
379 |
-
'gender' => 'string',
|
380 |
'inclusions' => 'list<Object>',
|
381 |
-
'isPrivate' => 'bool',
|
382 |
-
'is_household' => 'bool',
|
383 |
-
'is_household_exclusion' => 'bool',
|
384 |
'lookalike_spec' => 'string',
|
385 |
-
'maxAge' => 'unsigned int',
|
386 |
-
'minAge' => 'unsigned int',
|
387 |
'name' => 'string',
|
388 |
'opt_out_link' => 'string',
|
389 |
'parent_audience_id' => 'unsigned int',
|
390 |
-
'partnerID' => 'string',
|
391 |
-
'partner_reference_key' => 'string',
|
392 |
'product_set_id' => 'string',
|
393 |
'retention_days' => 'unsigned int',
|
394 |
'rev_share_policy_id' => 'unsigned int',
|
395 |
'rule' => 'string',
|
396 |
'rule_aggregation' => 'string',
|
397 |
-
'seed_audience' => 'unsigned int',
|
398 |
-
'source' => 'string',
|
399 |
'tags' => 'list<string>',
|
400 |
);
|
401 |
$enums = array(
|
362 |
$this->assureId();
|
363 |
|
364 |
$param_types = array(
|
|
|
|
|
365 |
'allowed_domains' => 'list<string>',
|
366 |
'claim_objective' => 'claim_objective_enum',
|
367 |
'content_type' => 'content_type_enum',
|
368 |
'countries' => 'string',
|
369 |
'customer_file_source' => 'customer_file_source_enum',
|
370 |
'description' => 'string',
|
|
|
371 |
'enable_fetch_or_create' => 'bool',
|
372 |
'event_source_group' => 'string',
|
373 |
'event_sources' => 'list<map>',
|
374 |
'exclusions' => 'list<Object>',
|
|
|
|
|
375 |
'inclusions' => 'list<Object>',
|
|
|
|
|
|
|
376 |
'lookalike_spec' => 'string',
|
|
|
|
|
377 |
'name' => 'string',
|
378 |
'opt_out_link' => 'string',
|
379 |
'parent_audience_id' => 'unsigned int',
|
|
|
|
|
380 |
'product_set_id' => 'string',
|
381 |
'retention_days' => 'unsigned int',
|
382 |
'rev_share_policy_id' => 'unsigned int',
|
383 |
'rule' => 'string',
|
384 |
'rule_aggregation' => 'string',
|
|
|
|
|
385 |
'tags' => 'list<string>',
|
386 |
);
|
387 |
$enums = array(
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/DeliveryWindow.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\DeliveryWindowFields;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* This class is auto-generated.
|
35 |
+
*
|
36 |
+
* For any issues or feature requests related to this class, please let us know
|
37 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
38 |
+
* pull request for this class.
|
39 |
+
*
|
40 |
+
*/
|
41 |
+
|
42 |
+
class DeliveryWindow extends AbstractCrudObject {
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @return DeliveryWindowFields
|
46 |
+
*/
|
47 |
+
public static function getFieldsEnum() {
|
48 |
+
return DeliveryWindowFields::getInstance();
|
49 |
+
}
|
50 |
+
|
51 |
+
protected static function getReferencedEnums() {
|
52 |
+
$ref_enums = array();
|
53 |
+
return $ref_enums;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Destination.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\DestinationFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,10 +51,80 @@ class Destination extends AbstractCrudObject {
|
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\DestinationFields;
|
32 |
+
use FacebookAds\Object\Values\DestinationImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['ImageFetchStatus'] = DestinationImageFetchStatusValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/augmented_realities_metadata',
|
72 |
+
new AbstractCrudObject(),
|
73 |
+
'EDGE',
|
74 |
+
array(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/channels_to_integrity_status',
|
95 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
96 |
+
'EDGE',
|
97 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
106 |
+
$this->assureId();
|
107 |
+
|
108 |
+
$param_types = array(
|
109 |
+
);
|
110 |
+
$enums = array(
|
111 |
+
);
|
112 |
+
|
113 |
+
$request = new ApiRequest(
|
114 |
+
$this->api,
|
115 |
+
$this->data['id'],
|
116 |
+
RequestInterface::METHOD_GET,
|
117 |
+
'/videos_metadata',
|
118 |
+
new AbstractCrudObject(),
|
119 |
+
'EDGE',
|
120 |
+
array(),
|
121 |
+
new TypeChecker($param_types, $enums)
|
122 |
+
);
|
123 |
+
$request->addParams($params);
|
124 |
+
$request->addFields($fields);
|
125 |
+
return $pending ? $request : $request->execute();
|
126 |
+
}
|
127 |
+
|
128 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
129 |
$this->assureId();
|
130 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php
CHANGED
@@ -279,6 +279,29 @@ class Event extends AbstractCrudObject {
|
|
279 |
return $pending ? $request : $request->execute();
|
280 |
}
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
public function getVideos(array $fields = array(), array $params = array(), $pending = false) {
|
283 |
$this->assureId();
|
284 |
|
279 |
return $pending ? $request : $request->execute();
|
280 |
}
|
281 |
|
282 |
+
public function getTicketTiers(array $fields = array(), array $params = array(), $pending = false) {
|
283 |
+
$this->assureId();
|
284 |
+
|
285 |
+
$param_types = array(
|
286 |
+
);
|
287 |
+
$enums = array(
|
288 |
+
);
|
289 |
+
|
290 |
+
$request = new ApiRequest(
|
291 |
+
$this->api,
|
292 |
+
$this->data['id'],
|
293 |
+
RequestInterface::METHOD_GET,
|
294 |
+
'/ticket_tiers',
|
295 |
+
new AbstractCrudObject(),
|
296 |
+
'EDGE',
|
297 |
+
array(),
|
298 |
+
new TypeChecker($param_types, $enums)
|
299 |
+
);
|
300 |
+
$request->addParams($params);
|
301 |
+
$request->addFields($fields);
|
302 |
+
return $pending ? $request : $request->execute();
|
303 |
+
}
|
304 |
+
|
305 |
public function getVideos(array $fields = array(), array $params = array(), $pending = false) {
|
306 |
$this->assureId();
|
307 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountIosFourteenCampaignLimitsFields.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class AdAccountIosFourteenCampaignLimitsFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const CAMPAIGN_GROUP_LIMIT = 'campaign_group_limit';
|
41 |
+
const CAMPAIGN_GROUP_LIMITS_DETAILS = 'campaign_group_limits_details';
|
42 |
+
const CAMPAIGN_LIMIT = 'campaign_limit';
|
43 |
+
|
44 |
+
public function getFieldTypes() {
|
45 |
+
return array(
|
46 |
+
'campaign_group_limit' => 'int',
|
47 |
+
'campaign_group_limits_details' => 'list<Object>',
|
48 |
+
'campaign_limit' => 'int',
|
49 |
+
);
|
50 |
+
}
|
51 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeFields.php
CHANGED
@@ -104,7 +104,7 @@ class AdCreativeFields extends AbstractEnum {
|
|
104 |
'account_id' => 'string',
|
105 |
'actor_id' => 'string',
|
106 |
'adlabels' => 'list<AdLabel>',
|
107 |
-
'applink_treatment' => '
|
108 |
'asset_feed_spec' => 'AdAssetFeedSpec',
|
109 |
'authorization_category' => 'string',
|
110 |
'auto_update' => 'bool',
|
104 |
'account_id' => 'string',
|
105 |
'actor_id' => 'string',
|
106 |
'adlabels' => 'list<AdLabel>',
|
107 |
+
'applink_treatment' => 'string',
|
108 |
'asset_feed_spec' => 'AdAssetFeedSpec',
|
109 |
'authorization_category' => 'string',
|
110 |
'auto_update' => 'bool',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeLinkDataFields.php
CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class AdCreativeLinkDataFields extends AbstractEnum {
|
39 |
|
|
|
40 |
const ADDITIONAL_IMAGE_INDEX = 'additional_image_index';
|
41 |
const APP_LINK_SPEC = 'app_link_spec';
|
42 |
const ATTACHMENT_STYLE = 'attachment_style';
|
@@ -72,6 +73,7 @@ class AdCreativeLinkDataFields extends AbstractEnum {
|
|
72 |
|
73 |
public function getFieldTypes() {
|
74 |
return array(
|
|
|
75 |
'additional_image_index' => 'int',
|
76 |
'app_link_spec' => 'AdCreativeLinkDataAppLinkSpec',
|
77 |
'attachment_style' => 'AttachmentStyle',
|
37 |
|
38 |
class AdCreativeLinkDataFields extends AbstractEnum {
|
39 |
|
40 |
+
const AD_CONTEXT = 'ad_context';
|
41 |
const ADDITIONAL_IMAGE_INDEX = 'additional_image_index';
|
42 |
const APP_LINK_SPEC = 'app_link_spec';
|
43 |
const ATTACHMENT_STYLE = 'attachment_style';
|
73 |
|
74 |
public function getFieldTypes() {
|
75 |
return array(
|
76 |
+
'ad_context' => 'string',
|
77 |
'additional_image_index' => 'int',
|
78 |
'app_link_spec' => 'AdCreativeLinkDataAppLinkSpec',
|
79 |
'attachment_style' => 'AttachmentStyle',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativePortraitCustomizationsFields.php
CHANGED
@@ -37,10 +37,12 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class AdCreativePortraitCustomizationsFields extends AbstractEnum {
|
39 |
|
|
|
40 |
const SPECIFICATIONS = 'specifications';
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
|
|
44 |
'specifications' => 'list<Object>',
|
45 |
);
|
46 |
}
|
37 |
|
38 |
class AdCreativePortraitCustomizationsFields extends AbstractEnum {
|
39 |
|
40 |
+
const CAROUSEL_DELIVERY_MODE = 'carousel_delivery_mode';
|
41 |
const SPECIFICATIONS = 'specifications';
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
+
'carousel_delivery_mode' => 'string',
|
46 |
'specifications' => 'list<Object>',
|
47 |
);
|
48 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdRuleEvaluationSpecFields.php
CHANGED
@@ -40,12 +40,14 @@ class AdRuleEvaluationSpecFields extends AbstractEnum {
|
|
40 |
const EVALUATION_TYPE = 'evaluation_type';
|
41 |
const FILTERS = 'filters';
|
42 |
const TRIGGER = 'trigger';
|
|
|
43 |
|
44 |
public function getFieldTypes() {
|
45 |
return array(
|
46 |
'evaluation_type' => 'EvaluationType',
|
47 |
'filters' => 'list<AdRuleFilters>',
|
48 |
'trigger' => 'AdRuleTrigger',
|
|
|
49 |
);
|
50 |
}
|
51 |
}
|
40 |
const EVALUATION_TYPE = 'evaluation_type';
|
41 |
const FILTERS = 'filters';
|
42 |
const TRIGGER = 'trigger';
|
43 |
+
const ID = 'id';
|
44 |
|
45 |
public function getFieldTypes() {
|
46 |
return array(
|
47 |
'evaluation_type' => 'EvaluationType',
|
48 |
'filters' => 'list<AdRuleFilters>',
|
49 |
'trigger' => 'AdRuleTrigger',
|
50 |
+
'id' => 'string',
|
51 |
);
|
52 |
}
|
53 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdRuleExecutionSpecFields.php
CHANGED
@@ -39,11 +39,13 @@ class AdRuleExecutionSpecFields extends AbstractEnum {
|
|
39 |
|
40 |
const EXECUTION_OPTIONS = 'execution_options';
|
41 |
const EXECUTION_TYPE = 'execution_type';
|
|
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
'execution_options' => 'list<AdRuleExecutionOptions>',
|
46 |
'execution_type' => 'ExecutionType',
|
|
|
47 |
);
|
48 |
}
|
49 |
}
|
39 |
|
40 |
const EXECUTION_OPTIONS = 'execution_options';
|
41 |
const EXECUTION_TYPE = 'execution_type';
|
42 |
+
const ID = 'id';
|
43 |
|
44 |
public function getFieldTypes() {
|
45 |
return array(
|
46 |
'execution_options' => 'list<AdRuleExecutionOptions>',
|
47 |
'execution_type' => 'ExecutionType',
|
48 |
+
'id' => 'string',
|
49 |
);
|
50 |
}
|
51 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupActivityFields.php
CHANGED
@@ -83,8 +83,6 @@ class AdgroupActivityFields extends AbstractEnum {
|
|
83 |
const TARGET_SPEC_ID_OLD = 'target_spec_id_old';
|
84 |
const TARGETS_SPEC_NEW = 'targets_spec_new';
|
85 |
const TARGETS_SPEC_OLD = 'targets_spec_old';
|
86 |
-
const TRACKING_PIXEL_IDS_NEW = 'tracking_pixel_ids_new';
|
87 |
-
const TRACKING_PIXEL_IDS_OLD = 'tracking_pixel_ids_old';
|
88 |
const TRACKING_SPECS_NEW = 'tracking_specs_new';
|
89 |
const TRACKING_SPECS_OLD = 'tracking_specs_old';
|
90 |
const UPDATE_TIME_NEW = 'update_time_new';
|
@@ -140,8 +138,6 @@ class AdgroupActivityFields extends AbstractEnum {
|
|
140 |
'target_spec_id_old' => 'string',
|
141 |
'targets_spec_new' => 'Object',
|
142 |
'targets_spec_old' => 'Object',
|
143 |
-
'tracking_pixel_ids_new' => 'list<string>',
|
144 |
-
'tracking_pixel_ids_old' => 'list<string>',
|
145 |
'tracking_specs_new' => 'list<Object>',
|
146 |
'tracking_specs_old' => 'list<Object>',
|
147 |
'update_time_new' => 'datetime',
|
83 |
const TARGET_SPEC_ID_OLD = 'target_spec_id_old';
|
84 |
const TARGETS_SPEC_NEW = 'targets_spec_new';
|
85 |
const TARGETS_SPEC_OLD = 'targets_spec_old';
|
|
|
|
|
86 |
const TRACKING_SPECS_NEW = 'tracking_specs_new';
|
87 |
const TRACKING_SPECS_OLD = 'tracking_specs_old';
|
88 |
const UPDATE_TIME_NEW = 'update_time_new';
|
138 |
'target_spec_id_old' => 'string',
|
139 |
'targets_spec_new' => 'Object',
|
140 |
'targets_spec_old' => 'Object',
|
|
|
|
|
141 |
'tracking_specs_new' => 'list<Object>',
|
142 |
'tracking_specs_old' => 'list<Object>',
|
143 |
'update_time_new' => 'datetime',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php
CHANGED
@@ -52,6 +52,7 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
|
|
52 |
const DRI_COUNTERFEIT = 'dri_counterfeit';
|
53 |
const FACEBOOK = 'facebook';
|
54 |
const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
|
|
|
55 |
const INSTAGRAM = 'instagram';
|
56 |
const INSTAGRAM_SHOP = 'instagram_shop';
|
57 |
const JOB_SEARCH = 'job_search';
|
@@ -88,6 +89,7 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
|
|
88 |
'dri_counterfeit' => 'map<string, string>',
|
89 |
'facebook' => 'map<string, string>',
|
90 |
'facebook_pages_live_shopping' => 'map<string, string>',
|
|
|
91 |
'instagram' => 'map<string, string>',
|
92 |
'instagram_shop' => 'map<string, string>',
|
93 |
'job_search' => 'map<string, string>',
|
52 |
const DRI_COUNTERFEIT = 'dri_counterfeit';
|
53 |
const FACEBOOK = 'facebook';
|
54 |
const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
|
55 |
+
const INDEPENDENT_WORK = 'independent_work';
|
56 |
const INSTAGRAM = 'instagram';
|
57 |
const INSTAGRAM_SHOP = 'instagram_shop';
|
58 |
const JOB_SEARCH = 'job_search';
|
89 |
'dri_counterfeit' => 'map<string, string>',
|
90 |
'facebook' => 'map<string, string>',
|
91 |
'facebook_pages_live_shopping' => 'map<string, string>',
|
92 |
+
'independent_work' => 'map<string, string>',
|
93 |
'instagram' => 'map<string, string>',
|
94 |
'instagram_shop' => 'map<string, string>',
|
95 |
'job_search' => 'map<string, string>',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdoptablePetFields.php
CHANGED
@@ -53,6 +53,7 @@ class AdoptablePetFields extends AbstractEnum {
|
|
53 |
const FEATURES = 'features';
|
54 |
const GENDER = 'gender';
|
55 |
const ID = 'id';
|
|
|
56 |
const IMAGES = 'images';
|
57 |
const NAME = 'name';
|
58 |
const PRICE = 'price';
|
@@ -84,6 +85,7 @@ class AdoptablePetFields extends AbstractEnum {
|
|
84 |
'features' => 'list<string>',
|
85 |
'gender' => 'string',
|
86 |
'id' => 'string',
|
|
|
87 |
'images' => 'list<string>',
|
88 |
'name' => 'string',
|
89 |
'price' => 'string',
|
53 |
const FEATURES = 'features';
|
54 |
const GENDER = 'gender';
|
55 |
const ID = 'id';
|
56 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
57 |
const IMAGES = 'images';
|
58 |
const NAME = 'name';
|
59 |
const PRICE = 'price';
|
85 |
'features' => 'list<string>',
|
86 |
'gender' => 'string',
|
87 |
'id' => 'string',
|
88 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
89 |
'images' => 'list<string>',
|
90 |
'name' => 'string',
|
91 |
'price' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php
CHANGED
@@ -90,7 +90,6 @@ class AdsInsightsFields extends AbstractEnum {
|
|
90 |
const COST_PER_INLINE_POST_ENGAGEMENT = 'cost_per_inline_post_engagement';
|
91 |
const COST_PER_ONE_THOUSAND_AD_IMPRESSION = 'cost_per_one_thousand_ad_impression';
|
92 |
const COST_PER_OUTBOUND_CLICK = 'cost_per_outbound_click';
|
93 |
-
const COST_PER_STORE_VISIT_ACTION = 'cost_per_store_visit_action';
|
94 |
const COST_PER_THRUPLAY = 'cost_per_thruplay';
|
95 |
const COST_PER_UNIQUE_ACTION_TYPE = 'cost_per_unique_action_type';
|
96 |
const COST_PER_UNIQUE_CLICK = 'cost_per_unique_click';
|
@@ -105,6 +104,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
105 |
const DATE_START = 'date_start';
|
106 |
const DATE_STOP = 'date_stop';
|
107 |
const DDA_COUNTBY_CONVS = 'dda_countby_convs';
|
|
|
108 |
const ENGAGEMENT_RATE_RANKING = 'engagement_rate_ranking';
|
109 |
const ESTIMATED_AD_RECALL_RATE = 'estimated_ad_recall_rate';
|
110 |
const ESTIMATED_AD_RECALL_RATE_LOWER_BOUND = 'estimated_ad_recall_rate_lower_bound';
|
@@ -128,6 +128,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
128 |
const LOCATION = 'location';
|
129 |
const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
|
130 |
const OBJECTIVE = 'objective';
|
|
|
131 |
const OUTBOUND_CLICKS = 'outbound_clicks';
|
132 |
const OUTBOUND_CLICKS_CTR = 'outbound_clicks_ctr';
|
133 |
const PLACE_PAGE_NAME = 'place_page_name';
|
@@ -140,7 +141,6 @@ class AdsInsightsFields extends AbstractEnum {
|
|
140 |
const REACH = 'reach';
|
141 |
const SOCIAL_SPEND = 'social_spend';
|
142 |
const SPEND = 'spend';
|
143 |
-
const STORE_VISIT_ACTIONS = 'store_visit_actions';
|
144 |
const UNIQUE_ACTIONS = 'unique_actions';
|
145 |
const UNIQUE_CLICKS = 'unique_clicks';
|
146 |
const UNIQUE_CONVERSIONS = 'unique_conversions';
|
@@ -228,7 +228,6 @@ class AdsInsightsFields extends AbstractEnum {
|
|
228 |
'cost_per_inline_post_engagement' => 'string',
|
229 |
'cost_per_one_thousand_ad_impression' => 'list<AdsActionStats>',
|
230 |
'cost_per_outbound_click' => 'list<AdsActionStats>',
|
231 |
-
'cost_per_store_visit_action' => 'list<AdsActionStats>',
|
232 |
'cost_per_thruplay' => 'list<AdsActionStats>',
|
233 |
'cost_per_unique_action_type' => 'list<AdsActionStats>',
|
234 |
'cost_per_unique_click' => 'string',
|
@@ -243,6 +242,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
243 |
'date_start' => 'string',
|
244 |
'date_stop' => 'string',
|
245 |
'dda_countby_convs' => 'string',
|
|
|
246 |
'engagement_rate_ranking' => 'string',
|
247 |
'estimated_ad_recall_rate' => 'string',
|
248 |
'estimated_ad_recall_rate_lower_bound' => 'string',
|
@@ -260,12 +260,13 @@ class AdsInsightsFields extends AbstractEnum {
|
|
260 |
'inline_post_engagement' => 'string',
|
261 |
'instant_experience_clicks_to_open' => 'string',
|
262 |
'instant_experience_clicks_to_start' => 'string',
|
263 |
-
'instant_experience_outbound_clicks' => '
|
264 |
'interactive_component_tap' => 'list<AdsActionStats>',
|
265 |
'labels' => 'string',
|
266 |
'location' => 'string',
|
267 |
'mobile_app_purchase_roas' => 'list<AdsActionStats>',
|
268 |
'objective' => 'string',
|
|
|
269 |
'outbound_clicks' => 'list<AdsActionStats>',
|
270 |
'outbound_clicks_ctr' => 'list<AdsActionStats>',
|
271 |
'place_page_name' => 'string',
|
@@ -278,7 +279,6 @@ class AdsInsightsFields extends AbstractEnum {
|
|
278 |
'reach' => 'string',
|
279 |
'social_spend' => 'string',
|
280 |
'spend' => 'string',
|
281 |
-
'store_visit_actions' => 'list<AdsActionStats>',
|
282 |
'unique_actions' => 'list<AdsActionStats>',
|
283 |
'unique_clicks' => 'string',
|
284 |
'unique_conversions' => 'list<AdsActionStats>',
|
90 |
const COST_PER_INLINE_POST_ENGAGEMENT = 'cost_per_inline_post_engagement';
|
91 |
const COST_PER_ONE_THOUSAND_AD_IMPRESSION = 'cost_per_one_thousand_ad_impression';
|
92 |
const COST_PER_OUTBOUND_CLICK = 'cost_per_outbound_click';
|
|
|
93 |
const COST_PER_THRUPLAY = 'cost_per_thruplay';
|
94 |
const COST_PER_UNIQUE_ACTION_TYPE = 'cost_per_unique_action_type';
|
95 |
const COST_PER_UNIQUE_CLICK = 'cost_per_unique_click';
|
104 |
const DATE_START = 'date_start';
|
105 |
const DATE_STOP = 'date_stop';
|
106 |
const DDA_COUNTBY_CONVS = 'dda_countby_convs';
|
107 |
+
const DDA_RESULTS = 'dda_results';
|
108 |
const ENGAGEMENT_RATE_RANKING = 'engagement_rate_ranking';
|
109 |
const ESTIMATED_AD_RECALL_RATE = 'estimated_ad_recall_rate';
|
110 |
const ESTIMATED_AD_RECALL_RATE_LOWER_BOUND = 'estimated_ad_recall_rate_lower_bound';
|
128 |
const LOCATION = 'location';
|
129 |
const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
|
130 |
const OBJECTIVE = 'objective';
|
131 |
+
const OPTIMIZATION_GOAL = 'optimization_goal';
|
132 |
const OUTBOUND_CLICKS = 'outbound_clicks';
|
133 |
const OUTBOUND_CLICKS_CTR = 'outbound_clicks_ctr';
|
134 |
const PLACE_PAGE_NAME = 'place_page_name';
|
141 |
const REACH = 'reach';
|
142 |
const SOCIAL_SPEND = 'social_spend';
|
143 |
const SPEND = 'spend';
|
|
|
144 |
const UNIQUE_ACTIONS = 'unique_actions';
|
145 |
const UNIQUE_CLICKS = 'unique_clicks';
|
146 |
const UNIQUE_CONVERSIONS = 'unique_conversions';
|
228 |
'cost_per_inline_post_engagement' => 'string',
|
229 |
'cost_per_one_thousand_ad_impression' => 'list<AdsActionStats>',
|
230 |
'cost_per_outbound_click' => 'list<AdsActionStats>',
|
|
|
231 |
'cost_per_thruplay' => 'list<AdsActionStats>',
|
232 |
'cost_per_unique_action_type' => 'list<AdsActionStats>',
|
233 |
'cost_per_unique_click' => 'string',
|
242 |
'date_start' => 'string',
|
243 |
'date_stop' => 'string',
|
244 |
'dda_countby_convs' => 'string',
|
245 |
+
'dda_results' => 'list<Object>',
|
246 |
'engagement_rate_ranking' => 'string',
|
247 |
'estimated_ad_recall_rate' => 'string',
|
248 |
'estimated_ad_recall_rate_lower_bound' => 'string',
|
260 |
'inline_post_engagement' => 'string',
|
261 |
'instant_experience_clicks_to_open' => 'string',
|
262 |
'instant_experience_clicks_to_start' => 'string',
|
263 |
+
'instant_experience_outbound_clicks' => 'list<AdsActionStats>',
|
264 |
'interactive_component_tap' => 'list<AdsActionStats>',
|
265 |
'labels' => 'string',
|
266 |
'location' => 'string',
|
267 |
'mobile_app_purchase_roas' => 'list<AdsActionStats>',
|
268 |
'objective' => 'string',
|
269 |
+
'optimization_goal' => 'string',
|
270 |
'outbound_clicks' => 'list<AdsActionStats>',
|
271 |
'outbound_clicks_ctr' => 'list<AdsActionStats>',
|
272 |
'place_page_name' => 'string',
|
279 |
'reach' => 'string',
|
280 |
'social_spend' => 'string',
|
281 |
'spend' => 'string',
|
|
|
282 |
'unique_actions' => 'list<AdsActionStats>',
|
283 |
'unique_clicks' => 'string',
|
284 |
'unique_conversions' => 'list<AdsActionStats>',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsPixelFields.php
CHANGED
@@ -47,6 +47,7 @@ class AdsPixelFields extends AbstractEnum {
|
|
47 |
const FIRST_PARTY_COOKIE_STATUS = 'first_party_cookie_status';
|
48 |
const ID = 'id';
|
49 |
const IS_CREATED_BY_BUSINESS = 'is_created_by_business';
|
|
|
50 |
const IS_UNAVAILABLE = 'is_unavailable';
|
51 |
const LAST_FIRED_TIME = 'last_fired_time';
|
52 |
const NAME = 'name';
|
@@ -65,6 +66,7 @@ class AdsPixelFields extends AbstractEnum {
|
|
65 |
'first_party_cookie_status' => 'string',
|
66 |
'id' => 'string',
|
67 |
'is_created_by_business' => 'bool',
|
|
|
68 |
'is_unavailable' => 'bool',
|
69 |
'last_fired_time' => 'datetime',
|
70 |
'name' => 'string',
|
47 |
const FIRST_PARTY_COOKIE_STATUS = 'first_party_cookie_status';
|
48 |
const ID = 'id';
|
49 |
const IS_CREATED_BY_BUSINESS = 'is_created_by_business';
|
50 |
+
const IS_CRM = 'is_crm';
|
51 |
const IS_UNAVAILABLE = 'is_unavailable';
|
52 |
const LAST_FIRED_TIME = 'last_fired_time';
|
53 |
const NAME = 'name';
|
66 |
'first_party_cookie_status' => 'string',
|
67 |
'id' => 'string',
|
68 |
'is_created_by_business' => 'bool',
|
69 |
+
'is_crm' => 'bool',
|
70 |
'is_unavailable' => 'bool',
|
71 |
'last_fired_time' => 'datetime',
|
72 |
'name' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AtlasCampaignFields.php
CHANGED
@@ -44,14 +44,6 @@ class AtlasCampaignFields extends AbstractEnum {
|
|
44 |
const COST_PER_VISIT = 'cost_per_visit';
|
45 |
const CREATED_BY = 'created_by';
|
46 |
const CREATED_DATE = 'created_date';
|
47 |
-
const DATA_DRIVEN_CONVS = 'data_driven_convs';
|
48 |
-
const DATA_DRIVEN_CONVS_PER_1K_IMPRESS = 'data_driven_convs_per_1k_impress';
|
49 |
-
const DATA_DRIVEN_CONVS_PER_CLICK = 'data_driven_convs_per_click';
|
50 |
-
const DATA_DRIVEN_CONVS_PER_VISIT = 'data_driven_convs_per_visit';
|
51 |
-
const DATA_DRIVEN_CPA = 'data_driven_cpa';
|
52 |
-
const DATA_DRIVEN_NULLABLE_CONVS = 'data_driven_nullable_convs';
|
53 |
-
const DATA_DRIVEN_REVENUE = 'data_driven_revenue';
|
54 |
-
const DATA_DRIVEN_ROAS = 'data_driven_roas';
|
55 |
const EVEN_CREDIT_CONVS = 'even_credit_convs';
|
56 |
const EVEN_CREDIT_CONVS_PER_1K_IMPRESS = 'even_credit_convs_per_1k_impress';
|
57 |
const EVEN_CREDIT_CONVS_PER_CLICK = 'even_credit_convs_per_click';
|
@@ -145,14 +137,6 @@ class AtlasCampaignFields extends AbstractEnum {
|
|
145 |
'cost_per_visit' => 'float',
|
146 |
'created_by' => 'Object',
|
147 |
'created_date' => 'datetime',
|
148 |
-
'data_driven_convs' => 'float',
|
149 |
-
'data_driven_convs_per_1k_impress' => 'float',
|
150 |
-
'data_driven_convs_per_click' => 'float',
|
151 |
-
'data_driven_convs_per_visit' => 'float',
|
152 |
-
'data_driven_cpa' => 'float',
|
153 |
-
'data_driven_nullable_convs' => 'float',
|
154 |
-
'data_driven_revenue' => 'float',
|
155 |
-
'data_driven_roas' => 'float',
|
156 |
'even_credit_convs' => 'float',
|
157 |
'even_credit_convs_per_1k_impress' => 'float',
|
158 |
'even_credit_convs_per_click' => 'float',
|
44 |
const COST_PER_VISIT = 'cost_per_visit';
|
45 |
const CREATED_BY = 'created_by';
|
46 |
const CREATED_DATE = 'created_date';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
const EVEN_CREDIT_CONVS = 'even_credit_convs';
|
48 |
const EVEN_CREDIT_CONVS_PER_1K_IMPRESS = 'even_credit_convs_per_1k_impress';
|
49 |
const EVEN_CREDIT_CONVS_PER_CLICK = 'even_credit_convs_per_click';
|
137 |
'cost_per_visit' => 'float',
|
138 |
'created_by' => 'Object',
|
139 |
'created_date' => 'datetime',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
'even_credit_convs' => 'float',
|
141 |
'even_credit_convs_per_1k_impress' => 'float',
|
142 |
'even_credit_convs_per_click' => 'float',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AutomotiveModelFields.php
CHANGED
@@ -52,6 +52,7 @@ class AutomotiveModelFields extends AbstractEnum {
|
|
52 |
const FUEL_TYPE = 'fuel_type';
|
53 |
const GENERATION = 'generation';
|
54 |
const ID = 'id';
|
|
|
55 |
const IMAGES = 'images';
|
56 |
const INTERIOR_COLOR = 'interior_color';
|
57 |
const INTERIOR_UPHOLSTERY = 'interior_upholstery';
|
@@ -82,6 +83,7 @@ class AutomotiveModelFields extends AbstractEnum {
|
|
82 |
'fuel_type' => 'string',
|
83 |
'generation' => 'string',
|
84 |
'id' => 'string',
|
|
|
85 |
'images' => 'list<string>',
|
86 |
'interior_color' => 'string',
|
87 |
'interior_upholstery' => 'string',
|
52 |
const FUEL_TYPE = 'fuel_type';
|
53 |
const GENERATION = 'generation';
|
54 |
const ID = 'id';
|
55 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
56 |
const IMAGES = 'images';
|
57 |
const INTERIOR_COLOR = 'interior_color';
|
58 |
const INTERIOR_UPHOLSTERY = 'interior_upholstery';
|
83 |
'fuel_type' => 'string',
|
84 |
'generation' => 'string',
|
85 |
'id' => 'string',
|
86 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
87 |
'images' => 'list<string>',
|
88 |
'interior_color' => 'string',
|
89 |
'interior_upholstery' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CanvasFields.php
CHANGED
@@ -44,8 +44,10 @@ class CanvasFields extends AbstractEnum {
|
|
44 |
const IS_HIDDEN = 'is_hidden';
|
45 |
const IS_PUBLISHED = 'is_published';
|
46 |
const LAST_EDITOR = 'last_editor';
|
|
|
47 |
const NAME = 'name';
|
48 |
const OWNER = 'owner';
|
|
|
49 |
const UPDATE_TIME = 'update_time';
|
50 |
|
51 |
public function getFieldTypes() {
|
@@ -57,8 +59,10 @@ class CanvasFields extends AbstractEnum {
|
|
57 |
'is_hidden' => 'bool',
|
58 |
'is_published' => 'bool',
|
59 |
'last_editor' => 'User',
|
|
|
60 |
'name' => 'string',
|
61 |
'owner' => 'Page',
|
|
|
62 |
'update_time' => 'int',
|
63 |
);
|
64 |
}
|
44 |
const IS_HIDDEN = 'is_hidden';
|
45 |
const IS_PUBLISHED = 'is_published';
|
46 |
const LAST_EDITOR = 'last_editor';
|
47 |
+
const LINKED_DOCUMENTS = 'linked_documents';
|
48 |
const NAME = 'name';
|
49 |
const OWNER = 'owner';
|
50 |
+
const SOURCE_TEMPLATE = 'source_template';
|
51 |
const UPDATE_TIME = 'update_time';
|
52 |
|
53 |
public function getFieldTypes() {
|
59 |
'is_hidden' => 'bool',
|
60 |
'is_published' => 'bool',
|
61 |
'last_editor' => 'User',
|
62 |
+
'linked_documents' => 'list<Canvas>',
|
63 |
'name' => 'string',
|
64 |
'owner' => 'Page',
|
65 |
+
'source_template' => 'CanvasTemplate',
|
66 |
'update_time' => 'int',
|
67 |
);
|
68 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CanvasTemplateFields.php
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class CanvasTemplateFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const CHANNELS = 'channels';
|
41 |
+
const DESCRIPTION = 'description';
|
42 |
+
const DOCUMENT = 'document';
|
43 |
+
const ID = 'id';
|
44 |
+
const IS_MULTI_TAB_SUPPORTABLE = 'is_multi_tab_supportable';
|
45 |
+
const IS_NEW = 'is_new';
|
46 |
+
const NAME = 'name';
|
47 |
+
const OBJECTIVES = 'objectives';
|
48 |
+
const OWNER_ID = 'owner_id';
|
49 |
+
const REQUIRED_CAPABILITIES = 'required_capabilities';
|
50 |
+
const SNAPSHOT_PHOTO = 'snapshot_photo';
|
51 |
+
const STATUS = 'status';
|
52 |
+
const SUB_VERTICALS = 'sub_verticals';
|
53 |
+
const VERTICALS = 'verticals';
|
54 |
+
|
55 |
+
public function getFieldTypes() {
|
56 |
+
return array(
|
57 |
+
'channels' => 'map<string, map<string, string>>',
|
58 |
+
'description' => 'string',
|
59 |
+
'document' => 'Canvas',
|
60 |
+
'id' => 'string',
|
61 |
+
'is_multi_tab_supportable' => 'bool',
|
62 |
+
'is_new' => 'bool',
|
63 |
+
'name' => 'string',
|
64 |
+
'objectives' => 'map<Object, Object>',
|
65 |
+
'owner_id' => 'User',
|
66 |
+
'required_capabilities' => 'list<string>',
|
67 |
+
'snapshot_photo' => 'Photo',
|
68 |
+
'status' => 'string',
|
69 |
+
'sub_verticals' => 'list<string>',
|
70 |
+
'verticals' => 'map<string, string>',
|
71 |
+
);
|
72 |
+
}
|
73 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php
CHANGED
@@ -49,7 +49,6 @@ class CatalogSubVerticalListFields extends AbstractEnum {
|
|
49 |
const CLO_OFFER = 'clo_offer';
|
50 |
const CLOTHING = 'clothing';
|
51 |
const CLOTHING_ACCESSORIES = 'clothing_accessories';
|
52 |
-
const CLOTHING_GROUP = 'clothing_group';
|
53 |
const COMPUTER_COMPONENTS = 'computer_components';
|
54 |
const COMPUTERS_AND_TABLETS = 'computers_and_tablets';
|
55 |
const COMPUTERS_LAPTOPS_AND_TABLETS = 'computers_laptops_and_tablets';
|
@@ -107,7 +106,6 @@ class CatalogSubVerticalListFields extends AbstractEnum {
|
|
107 |
'clo_offer' => 'Object',
|
108 |
'clothing' => 'Object',
|
109 |
'clothing_accessories' => 'Object',
|
110 |
-
'clothing_group' => 'Object',
|
111 |
'computer_components' => 'Object',
|
112 |
'computers_and_tablets' => 'Object',
|
113 |
'computers_laptops_and_tablets' => 'Object',
|
49 |
const CLO_OFFER = 'clo_offer';
|
50 |
const CLOTHING = 'clothing';
|
51 |
const CLOTHING_ACCESSORIES = 'clothing_accessories';
|
|
|
52 |
const COMPUTER_COMPONENTS = 'computer_components';
|
53 |
const COMPUTERS_AND_TABLETS = 'computers_and_tablets';
|
54 |
const COMPUTERS_LAPTOPS_AND_TABLETS = 'computers_laptops_and_tablets';
|
106 |
'clo_offer' => 'Object',
|
107 |
'clothing' => 'Object',
|
108 |
'clothing_accessories' => 'Object',
|
|
|
109 |
'computer_components' => 'Object',
|
110 |
'computers_and_tablets' => 'Object',
|
111 |
'computers_laptops_and_tablets' => 'Object',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommentFields.php
CHANGED
@@ -83,7 +83,7 @@ class CommentFields extends AbstractEnum {
|
|
83 |
'message_tags' => 'list<EntityAtTextRange>',
|
84 |
'object' => 'Object',
|
85 |
'parent' => 'Comment',
|
86 |
-
'permalink_url' => '
|
87 |
'private_reply_conversation' => 'Object',
|
88 |
'user_likes' => 'bool',
|
89 |
);
|
83 |
'message_tags' => 'list<EntityAtTextRange>',
|
84 |
'object' => 'Object',
|
85 |
'parent' => 'Comment',
|
86 |
+
'permalink_url' => 'Object',
|
87 |
'private_reply_conversation' => 'Object',
|
88 |
'user_likes' => 'bool',
|
89 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php
CHANGED
@@ -45,6 +45,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
|
|
45 |
const DISPLAY_NAME = 'display_name';
|
46 |
const EXTERNAL_MERCHANT_ID = 'external_merchant_id';
|
47 |
const FACEBOOK_CHANNEL = 'facebook_channel';
|
|
|
48 |
const HAS_DISCOUNT_CODE = 'has_discount_code';
|
49 |
const HAS_ONSITE_INTENT = 'has_onsite_intent';
|
50 |
const ID = 'id';
|
@@ -73,6 +74,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
|
|
73 |
'display_name' => 'string',
|
74 |
'external_merchant_id' => 'string',
|
75 |
'facebook_channel' => 'Object',
|
|
|
76 |
'has_discount_code' => 'bool',
|
77 |
'has_onsite_intent' => 'bool',
|
78 |
'id' => 'string',
|
45 |
const DISPLAY_NAME = 'display_name';
|
46 |
const EXTERNAL_MERCHANT_ID = 'external_merchant_id';
|
47 |
const FACEBOOK_CHANNEL = 'facebook_channel';
|
48 |
+
const FEATURE_ELIGIBILITY = 'feature_eligibility';
|
49 |
const HAS_DISCOUNT_CODE = 'has_discount_code';
|
50 |
const HAS_ONSITE_INTENT = 'has_onsite_intent';
|
51 |
const ID = 'id';
|
74 |
'display_name' => 'string',
|
75 |
'external_merchant_id' => 'string',
|
76 |
'facebook_channel' => 'Object',
|
77 |
+
'feature_eligibility' => 'Object',
|
78 |
'has_discount_code' => 'bool',
|
79 |
'has_onsite_intent' => 'bool',
|
80 |
'id' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CustomAudienceFields.php
CHANGED
@@ -43,6 +43,7 @@ class CustomAudienceFields extends AbstractEnum {
|
|
43 |
const DATA_SOURCE = 'data_source';
|
44 |
const DATA_SOURCE_TYPES = 'data_source_types';
|
45 |
const DATAFILE_CUSTOM_AUDIENCE_UPLOADING_STATUS = 'datafile_custom_audience_uploading_status';
|
|
|
46 |
const DELIVERY_STATUS = 'delivery_status';
|
47 |
const DESCRIPTION = 'description';
|
48 |
const EXCLUDED_CUSTOM_AUDIENCES = 'excluded_custom_audiences';
|
@@ -72,8 +73,6 @@ class CustomAudienceFields extends AbstractEnum {
|
|
72 |
const TIME_CONTENT_UPDATED = 'time_content_updated';
|
73 |
const TIME_CREATED = 'time_created';
|
74 |
const TIME_UPDATED = 'time_updated';
|
75 |
-
const ACCOUNTID = 'accountID';
|
76 |
-
const ADDITIONALMETADATA = 'additionalMetadata';
|
77 |
const ALLOWED_DOMAINS = 'allowed_domains';
|
78 |
const ASSOCIATED_AUDIENCE_ID = 'associated_audience_id';
|
79 |
const CLAIM_OBJECTIVE = 'claim_objective';
|
@@ -81,27 +80,17 @@ class CustomAudienceFields extends AbstractEnum {
|
|
81 |
const COUNTRIES = 'countries';
|
82 |
const CREATION_PARAMS = 'creation_params';
|
83 |
const DATASET_ID = 'dataset_id';
|
84 |
-
const DETAILS = 'details';
|
85 |
const ENABLE_FETCH_OR_CREATE = 'enable_fetch_or_create';
|
86 |
const EVENT_SOURCE_GROUP = 'event_source_group';
|
87 |
const EVENT_SOURCES = 'event_sources';
|
88 |
const EXCLUSIONS = 'exclusions';
|
89 |
-
const EXPECTEDSIZE = 'expectedSize';
|
90 |
-
const GENDER = 'gender';
|
91 |
const INCLUSIONS = 'inclusions';
|
92 |
-
const ISPRIVATE = 'isPrivate';
|
93 |
-
const IS_HOUSEHOLD_EXCLUSION = 'is_household_exclusion';
|
94 |
const LIST_OF_ACCOUNTS = 'list_of_accounts';
|
95 |
-
const MAXAGE = 'maxAge';
|
96 |
-
const MINAGE = 'minAge';
|
97 |
const ORIGIN_AUDIENCE_ID = 'origin_audience_id';
|
98 |
const PARENT_AUDIENCE_ID = 'parent_audience_id';
|
99 |
-
const PARTNERID = 'partnerID';
|
100 |
const PARTNER_REFERENCE_KEY = 'partner_reference_key';
|
101 |
const PREFILL = 'prefill';
|
102 |
const PRODUCT_SET_ID = 'product_set_id';
|
103 |
-
const SOURCE = 'source';
|
104 |
-
const TAGS = 'tags';
|
105 |
const VIDEO_GROUP_IDS = 'video_group_ids';
|
106 |
|
107 |
public function getFieldTypes() {
|
@@ -112,6 +101,7 @@ class CustomAudienceFields extends AbstractEnum {
|
|
112 |
'data_source' => 'CustomAudienceDataSource',
|
113 |
'data_source_types' => 'string',
|
114 |
'datafile_custom_audience_uploading_status' => 'string',
|
|
|
115 |
'delivery_status' => 'CustomAudienceStatus',
|
116 |
'description' => 'string',
|
117 |
'excluded_custom_audiences' => 'list<CustomAudience>',
|
@@ -141,8 +131,6 @@ class CustomAudienceFields extends AbstractEnum {
|
|
141 |
'time_content_updated' => 'unsigned int',
|
142 |
'time_created' => 'unsigned int',
|
143 |
'time_updated' => 'unsigned int',
|
144 |
-
'accountID' => 'string',
|
145 |
-
'additionalMetadata' => 'string',
|
146 |
'allowed_domains' => 'list<string>',
|
147 |
'associated_audience_id' => 'unsigned int',
|
148 |
'claim_objective' => 'ClaimObjective',
|
@@ -150,27 +138,17 @@ class CustomAudienceFields extends AbstractEnum {
|
|
150 |
'countries' => 'string',
|
151 |
'creation_params' => 'map',
|
152 |
'dataset_id' => 'string',
|
153 |
-
'details' => 'string',
|
154 |
'enable_fetch_or_create' => 'bool',
|
155 |
'event_source_group' => 'string',
|
156 |
'event_sources' => 'list<map>',
|
157 |
'exclusions' => 'list<Object>',
|
158 |
-
'expectedSize' => 'unsigned int',
|
159 |
-
'gender' => 'string',
|
160 |
'inclusions' => 'list<Object>',
|
161 |
-
'isPrivate' => 'bool',
|
162 |
-
'is_household_exclusion' => 'bool',
|
163 |
'list_of_accounts' => 'list<unsigned int>',
|
164 |
-
'maxAge' => 'unsigned int',
|
165 |
-
'minAge' => 'unsigned int',
|
166 |
'origin_audience_id' => 'string',
|
167 |
'parent_audience_id' => 'unsigned int',
|
168 |
-
'partnerID' => 'string',
|
169 |
'partner_reference_key' => 'string',
|
170 |
'prefill' => 'bool',
|
171 |
'product_set_id' => 'string',
|
172 |
-
'source' => 'string',
|
173 |
-
'tags' => 'list<string>',
|
174 |
'video_group_ids' => 'list<string>',
|
175 |
);
|
176 |
}
|
43 |
const DATA_SOURCE = 'data_source';
|
44 |
const DATA_SOURCE_TYPES = 'data_source_types';
|
45 |
const DATAFILE_CUSTOM_AUDIENCE_UPLOADING_STATUS = 'datafile_custom_audience_uploading_status';
|
46 |
+
const DELETE_TIME = 'delete_time';
|
47 |
const DELIVERY_STATUS = 'delivery_status';
|
48 |
const DESCRIPTION = 'description';
|
49 |
const EXCLUDED_CUSTOM_AUDIENCES = 'excluded_custom_audiences';
|
73 |
const TIME_CONTENT_UPDATED = 'time_content_updated';
|
74 |
const TIME_CREATED = 'time_created';
|
75 |
const TIME_UPDATED = 'time_updated';
|
|
|
|
|
76 |
const ALLOWED_DOMAINS = 'allowed_domains';
|
77 |
const ASSOCIATED_AUDIENCE_ID = 'associated_audience_id';
|
78 |
const CLAIM_OBJECTIVE = 'claim_objective';
|
80 |
const COUNTRIES = 'countries';
|
81 |
const CREATION_PARAMS = 'creation_params';
|
82 |
const DATASET_ID = 'dataset_id';
|
|
|
83 |
const ENABLE_FETCH_OR_CREATE = 'enable_fetch_or_create';
|
84 |
const EVENT_SOURCE_GROUP = 'event_source_group';
|
85 |
const EVENT_SOURCES = 'event_sources';
|
86 |
const EXCLUSIONS = 'exclusions';
|
|
|
|
|
87 |
const INCLUSIONS = 'inclusions';
|
|
|
|
|
88 |
const LIST_OF_ACCOUNTS = 'list_of_accounts';
|
|
|
|
|
89 |
const ORIGIN_AUDIENCE_ID = 'origin_audience_id';
|
90 |
const PARENT_AUDIENCE_ID = 'parent_audience_id';
|
|
|
91 |
const PARTNER_REFERENCE_KEY = 'partner_reference_key';
|
92 |
const PREFILL = 'prefill';
|
93 |
const PRODUCT_SET_ID = 'product_set_id';
|
|
|
|
|
94 |
const VIDEO_GROUP_IDS = 'video_group_ids';
|
95 |
|
96 |
public function getFieldTypes() {
|
101 |
'data_source' => 'CustomAudienceDataSource',
|
102 |
'data_source_types' => 'string',
|
103 |
'datafile_custom_audience_uploading_status' => 'string',
|
104 |
+
'delete_time' => 'int',
|
105 |
'delivery_status' => 'CustomAudienceStatus',
|
106 |
'description' => 'string',
|
107 |
'excluded_custom_audiences' => 'list<CustomAudience>',
|
131 |
'time_content_updated' => 'unsigned int',
|
132 |
'time_created' => 'unsigned int',
|
133 |
'time_updated' => 'unsigned int',
|
|
|
|
|
134 |
'allowed_domains' => 'list<string>',
|
135 |
'associated_audience_id' => 'unsigned int',
|
136 |
'claim_objective' => 'ClaimObjective',
|
138 |
'countries' => 'string',
|
139 |
'creation_params' => 'map',
|
140 |
'dataset_id' => 'string',
|
|
|
141 |
'enable_fetch_or_create' => 'bool',
|
142 |
'event_source_group' => 'string',
|
143 |
'event_sources' => 'list<map>',
|
144 |
'exclusions' => 'list<Object>',
|
|
|
|
|
145 |
'inclusions' => 'list<Object>',
|
|
|
|
|
146 |
'list_of_accounts' => 'list<unsigned int>',
|
|
|
|
|
147 |
'origin_audience_id' => 'string',
|
148 |
'parent_audience_id' => 'unsigned int',
|
|
|
149 |
'partner_reference_key' => 'string',
|
150 |
'prefill' => 'bool',
|
151 |
'product_set_id' => 'string',
|
|
|
|
|
152 |
'video_group_ids' => 'list<string>',
|
153 |
);
|
154 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DeliveryWindowFields.php
ADDED
@@ -0,0 +1,549 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class DeliveryWindowFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const AD = 'ad';
|
41 |
+
const AE = 'ae';
|
42 |
+
const AF = 'af';
|
43 |
+
const AG = 'ag';
|
44 |
+
const AI = 'ai';
|
45 |
+
const AL = 'al';
|
46 |
+
const ALL = 'all';
|
47 |
+
const AM = 'am';
|
48 |
+
const AN = 'an';
|
49 |
+
const AO = 'ao';
|
50 |
+
const AQ = 'aq';
|
51 |
+
const AR = 'ar';
|
52 |
+
const FIELD_AS = 'as';
|
53 |
+
const AT = 'at';
|
54 |
+
const AU = 'au';
|
55 |
+
const AW = 'aw';
|
56 |
+
const AX = 'ax';
|
57 |
+
const AZ = 'az';
|
58 |
+
const BA = 'ba';
|
59 |
+
const BB = 'bb';
|
60 |
+
const BD = 'bd';
|
61 |
+
const BE = 'be';
|
62 |
+
const BF = 'bf';
|
63 |
+
const BG = 'bg';
|
64 |
+
const BH = 'bh';
|
65 |
+
const BI = 'bi';
|
66 |
+
const BJ = 'bj';
|
67 |
+
const BL = 'bl';
|
68 |
+
const BM = 'bm';
|
69 |
+
const BN = 'bn';
|
70 |
+
const BO = 'bo';
|
71 |
+
const BQ = 'bq';
|
72 |
+
const BR = 'br';
|
73 |
+
const BS = 'bs';
|
74 |
+
const BT = 'bt';
|
75 |
+
const BV = 'bv';
|
76 |
+
const BW = 'bw';
|
77 |
+
const BY = 'by';
|
78 |
+
const BZ = 'bz';
|
79 |
+
const CA = 'ca';
|
80 |
+
const CC = 'cc';
|
81 |
+
const CD = 'cd';
|
82 |
+
const CF = 'cf';
|
83 |
+
const CG = 'cg';
|
84 |
+
const CH = 'ch';
|
85 |
+
const CI = 'ci';
|
86 |
+
const CK = 'ck';
|
87 |
+
const CL = 'cl';
|
88 |
+
const CM = 'cm';
|
89 |
+
const CN = 'cn';
|
90 |
+
const CO = 'co';
|
91 |
+
const CR = 'cr';
|
92 |
+
const CU = 'cu';
|
93 |
+
const CV = 'cv';
|
94 |
+
const CW = 'cw';
|
95 |
+
const CX = 'cx';
|
96 |
+
const CY = 'cy';
|
97 |
+
const CZ = 'cz';
|
98 |
+
const DE = 'de';
|
99 |
+
const DJ = 'dj';
|
100 |
+
const DK = 'dk';
|
101 |
+
const DM = 'dm';
|
102 |
+
const FIELD_DO = 'do';
|
103 |
+
const DZ = 'dz';
|
104 |
+
const EC = 'ec';
|
105 |
+
const EE = 'ee';
|
106 |
+
const EG = 'eg';
|
107 |
+
const EH = 'eh';
|
108 |
+
const ER = 'er';
|
109 |
+
const ES = 'es';
|
110 |
+
const ET = 'et';
|
111 |
+
const FI = 'fi';
|
112 |
+
const FJ = 'fj';
|
113 |
+
const FK = 'fk';
|
114 |
+
const FM = 'fm';
|
115 |
+
const FO = 'fo';
|
116 |
+
const FR = 'fr';
|
117 |
+
const GA = 'ga';
|
118 |
+
const GB = 'gb';
|
119 |
+
const GD = 'gd';
|
120 |
+
const GE = 'ge';
|
121 |
+
const GF = 'gf';
|
122 |
+
const GG = 'gg';
|
123 |
+
const GH = 'gh';
|
124 |
+
const GI = 'gi';
|
125 |
+
const GL = 'gl';
|
126 |
+
const GM = 'gm';
|
127 |
+
const GN = 'gn';
|
128 |
+
const GP = 'gp';
|
129 |
+
const GQ = 'gq';
|
130 |
+
const GR = 'gr';
|
131 |
+
const GS = 'gs';
|
132 |
+
const GT = 'gt';
|
133 |
+
const GU = 'gu';
|
134 |
+
const GW = 'gw';
|
135 |
+
const GY = 'gy';
|
136 |
+
const HK = 'hk';
|
137 |
+
const HM = 'hm';
|
138 |
+
const HN = 'hn';
|
139 |
+
const HR = 'hr';
|
140 |
+
const HT = 'ht';
|
141 |
+
const HU = 'hu';
|
142 |
+
const ID = 'id';
|
143 |
+
const IE = 'ie';
|
144 |
+
const IL = 'il';
|
145 |
+
const IM = 'im';
|
146 |
+
const IN = 'in';
|
147 |
+
const IO = 'io';
|
148 |
+
const IQ = 'iq';
|
149 |
+
const IR = 'ir';
|
150 |
+
const IS = 'is';
|
151 |
+
const IT = 'it';
|
152 |
+
const JE = 'je';
|
153 |
+
const JM = 'jm';
|
154 |
+
const JO = 'jo';
|
155 |
+
const JP = 'jp';
|
156 |
+
const KE = 'ke';
|
157 |
+
const KG = 'kg';
|
158 |
+
const KH = 'kh';
|
159 |
+
const KI = 'ki';
|
160 |
+
const KM = 'km';
|
161 |
+
const KN = 'kn';
|
162 |
+
const KP = 'kp';
|
163 |
+
const KR = 'kr';
|
164 |
+
const KW = 'kw';
|
165 |
+
const KY = 'ky';
|
166 |
+
const KZ = 'kz';
|
167 |
+
const LA = 'la';
|
168 |
+
const LB = 'lb';
|
169 |
+
const LC = 'lc';
|
170 |
+
const LI = 'li';
|
171 |
+
const LK = 'lk';
|
172 |
+
const LR = 'lr';
|
173 |
+
const LS = 'ls';
|
174 |
+
const LT = 'lt';
|
175 |
+
const LU = 'lu';
|
176 |
+
const LV = 'lv';
|
177 |
+
const LY = 'ly';
|
178 |
+
const MA = 'ma';
|
179 |
+
const MC = 'mc';
|
180 |
+
const MD = 'md';
|
181 |
+
const ME = 'me';
|
182 |
+
const MF = 'mf';
|
183 |
+
const MG = 'mg';
|
184 |
+
const MH = 'mh';
|
185 |
+
const MK = 'mk';
|
186 |
+
const ML = 'ml';
|
187 |
+
const MM = 'mm';
|
188 |
+
const MN = 'mn';
|
189 |
+
const MO = 'mo';
|
190 |
+
const MP = 'mp';
|
191 |
+
const MQ = 'mq';
|
192 |
+
const MR = 'mr';
|
193 |
+
const MS = 'ms';
|
194 |
+
const MT = 'mt';
|
195 |
+
const MU = 'mu';
|
196 |
+
const MV = 'mv';
|
197 |
+
const MW = 'mw';
|
198 |
+
const MX = 'mx';
|
199 |
+
const MY = 'my';
|
200 |
+
const MZ = 'mz';
|
201 |
+
const NA = 'na';
|
202 |
+
const NC = 'nc';
|
203 |
+
const NE = 'ne';
|
204 |
+
const NF = 'nf';
|
205 |
+
const NG = 'ng';
|
206 |
+
const NI = 'ni';
|
207 |
+
const NL = 'nl';
|
208 |
+
const NO = 'no';
|
209 |
+
const NP = 'np';
|
210 |
+
const NR = 'nr';
|
211 |
+
const NU = 'nu';
|
212 |
+
const NZ = 'nz';
|
213 |
+
const OM = 'om';
|
214 |
+
const PA = 'pa';
|
215 |
+
const PE = 'pe';
|
216 |
+
const PF = 'pf';
|
217 |
+
const PG = 'pg';
|
218 |
+
const PH = 'ph';
|
219 |
+
const PK = 'pk';
|
220 |
+
const PL = 'pl';
|
221 |
+
const PM = 'pm';
|
222 |
+
const PN = 'pn';
|
223 |
+
const PR = 'pr';
|
224 |
+
const PS = 'ps';
|
225 |
+
const PT = 'pt';
|
226 |
+
const PW = 'pw';
|
227 |
+
const PY = 'py';
|
228 |
+
const QA = 'qa';
|
229 |
+
const RE = 're';
|
230 |
+
const RO = 'ro';
|
231 |
+
const RS = 'rs';
|
232 |
+
const RU = 'ru';
|
233 |
+
const RW = 'rw';
|
234 |
+
const SA = 'sa';
|
235 |
+
const SB = 'sb';
|
236 |
+
const SC = 'sc';
|
237 |
+
const SD = 'sd';
|
238 |
+
const SE = 'se';
|
239 |
+
const SG = 'sg';
|
240 |
+
const SH = 'sh';
|
241 |
+
const SI = 'si';
|
242 |
+
const SJ = 'sj';
|
243 |
+
const SK = 'sk';
|
244 |
+
const SL = 'sl';
|
245 |
+
const SM = 'sm';
|
246 |
+
const SN = 'sn';
|
247 |
+
const SO = 'so';
|
248 |
+
const SR = 'sr';
|
249 |
+
const SS = 'ss';
|
250 |
+
const ST = 'st';
|
251 |
+
const SV = 'sv';
|
252 |
+
const SX = 'sx';
|
253 |
+
const SY = 'sy';
|
254 |
+
const SZ = 'sz';
|
255 |
+
const TC = 'tc';
|
256 |
+
const TD = 'td';
|
257 |
+
const TF = 'tf';
|
258 |
+
const TG = 'tg';
|
259 |
+
const TH = 'th';
|
260 |
+
const TJ = 'tj';
|
261 |
+
const TK = 'tk';
|
262 |
+
const TL = 'tl';
|
263 |
+
const TM = 'tm';
|
264 |
+
const TN = 'tn';
|
265 |
+
const TO = 'to';
|
266 |
+
const TR = 'tr';
|
267 |
+
const TT = 'tt';
|
268 |
+
const TV = 'tv';
|
269 |
+
const TW = 'tw';
|
270 |
+
const TZ = 'tz';
|
271 |
+
const UA = 'ua';
|
272 |
+
const UG = 'ug';
|
273 |
+
const UM = 'um';
|
274 |
+
const US = 'us';
|
275 |
+
const UY = 'uy';
|
276 |
+
const UZ = 'uz';
|
277 |
+
const VA = 'va';
|
278 |
+
const VC = 'vc';
|
279 |
+
const VE = 've';
|
280 |
+
const VG = 'vg';
|
281 |
+
const VI = 'vi';
|
282 |
+
const VN = 'vn';
|
283 |
+
const VU = 'vu';
|
284 |
+
const WF = 'wf';
|
285 |
+
const WS = 'ws';
|
286 |
+
const XK = 'xk';
|
287 |
+
const YE = 'ye';
|
288 |
+
const YT = 'yt';
|
289 |
+
const ZA = 'za';
|
290 |
+
const ZM = 'zm';
|
291 |
+
const ZW = 'zw';
|
292 |
+
|
293 |
+
public function getFieldTypes() {
|
294 |
+
return array(
|
295 |
+
'ad' => 'int',
|
296 |
+
'ae' => 'int',
|
297 |
+
'af' => 'int',
|
298 |
+
'ag' => 'int',
|
299 |
+
'ai' => 'int',
|
300 |
+
'al' => 'int',
|
301 |
+
'all' => 'int',
|
302 |
+
'am' => 'int',
|
303 |
+
'an' => 'int',
|
304 |
+
'ao' => 'int',
|
305 |
+
'aq' => 'int',
|
306 |
+
'ar' => 'int',
|
307 |
+
'as' => 'int',
|
308 |
+
'at' => 'int',
|
309 |
+
'au' => 'int',
|
310 |
+
'aw' => 'int',
|
311 |
+
'ax' => 'int',
|
312 |
+
'az' => 'int',
|
313 |
+
'ba' => 'int',
|
314 |
+
'bb' => 'int',
|
315 |
+
'bd' => 'int',
|
316 |
+
'be' => 'int',
|
317 |
+
'bf' => 'int',
|
318 |
+
'bg' => 'int',
|
319 |
+
'bh' => 'int',
|
320 |
+
'bi' => 'int',
|
321 |
+
'bj' => 'int',
|
322 |
+
'bl' => 'int',
|
323 |
+
'bm' => 'int',
|
324 |
+
'bn' => 'int',
|
325 |
+
'bo' => 'int',
|
326 |
+
'bq' => 'int',
|
327 |
+
'br' => 'int',
|
328 |
+
'bs' => 'int',
|
329 |
+
'bt' => 'int',
|
330 |
+
'bv' => 'int',
|
331 |
+
'bw' => 'int',
|
332 |
+
'by' => 'int',
|
333 |
+
'bz' => 'int',
|
334 |
+
'ca' => 'int',
|
335 |
+
'cc' => 'int',
|
336 |
+
'cd' => 'int',
|
337 |
+
'cf' => 'int',
|
338 |
+
'cg' => 'int',
|
339 |
+
'ch' => 'int',
|
340 |
+
'ci' => 'int',
|
341 |
+
'ck' => 'int',
|
342 |
+
'cl' => 'int',
|
343 |
+
'cm' => 'int',
|
344 |
+
'cn' => 'int',
|
345 |
+
'co' => 'int',
|
346 |
+
'cr' => 'int',
|
347 |
+
'cu' => 'int',
|
348 |
+
'cv' => 'int',
|
349 |
+
'cw' => 'int',
|
350 |
+
'cx' => 'int',
|
351 |
+
'cy' => 'int',
|
352 |
+
'cz' => 'int',
|
353 |
+
'de' => 'int',
|
354 |
+
'dj' => 'int',
|
355 |
+
'dk' => 'int',
|
356 |
+
'dm' => 'int',
|
357 |
+
'do' => 'int',
|
358 |
+
'dz' => 'int',
|
359 |
+
'ec' => 'int',
|
360 |
+
'ee' => 'int',
|
361 |
+
'eg' => 'int',
|
362 |
+
'eh' => 'int',
|
363 |
+
'er' => 'int',
|
364 |
+
'es' => 'int',
|
365 |
+
'et' => 'int',
|
366 |
+
'fi' => 'int',
|
367 |
+
'fj' => 'int',
|
368 |
+
'fk' => 'int',
|
369 |
+
'fm' => 'int',
|
370 |
+
'fo' => 'int',
|
371 |
+
'fr' => 'int',
|
372 |
+
'ga' => 'int',
|
373 |
+
'gb' => 'int',
|
374 |
+
'gd' => 'int',
|
375 |
+
'ge' => 'int',
|
376 |
+
'gf' => 'int',
|
377 |
+
'gg' => 'int',
|
378 |
+
'gh' => 'int',
|
379 |
+
'gi' => 'int',
|
380 |
+
'gl' => 'int',
|
381 |
+
'gm' => 'int',
|
382 |
+
'gn' => 'int',
|
383 |
+
'gp' => 'int',
|
384 |
+
'gq' => 'int',
|
385 |
+
'gr' => 'int',
|
386 |
+
'gs' => 'int',
|
387 |
+
'gt' => 'int',
|
388 |
+
'gu' => 'int',
|
389 |
+
'gw' => 'int',
|
390 |
+
'gy' => 'int',
|
391 |
+
'hk' => 'int',
|
392 |
+
'hm' => 'int',
|
393 |
+
'hn' => 'int',
|
394 |
+
'hr' => 'int',
|
395 |
+
'ht' => 'int',
|
396 |
+
'hu' => 'int',
|
397 |
+
'id' => 'int',
|
398 |
+
'ie' => 'int',
|
399 |
+
'il' => 'int',
|
400 |
+
'im' => 'int',
|
401 |
+
'in' => 'int',
|
402 |
+
'io' => 'int',
|
403 |
+
'iq' => 'int',
|
404 |
+
'ir' => 'int',
|
405 |
+
'is' => 'int',
|
406 |
+
'it' => 'int',
|
407 |
+
'je' => 'int',
|
408 |
+
'jm' => 'int',
|
409 |
+
'jo' => 'int',
|
410 |
+
'jp' => 'int',
|
411 |
+
'ke' => 'int',
|
412 |
+
'kg' => 'int',
|
413 |
+
'kh' => 'int',
|
414 |
+
'ki' => 'int',
|
415 |
+
'km' => 'int',
|
416 |
+
'kn' => 'int',
|
417 |
+
'kp' => 'int',
|
418 |
+
'kr' => 'int',
|
419 |
+
'kw' => 'int',
|
420 |
+
'ky' => 'int',
|
421 |
+
'kz' => 'int',
|
422 |
+
'la' => 'int',
|
423 |
+
'lb' => 'int',
|
424 |
+
'lc' => 'int',
|
425 |
+
'li' => 'int',
|
426 |
+
'lk' => 'int',
|
427 |
+
'lr' => 'int',
|
428 |
+
'ls' => 'int',
|
429 |
+
'lt' => 'int',
|
430 |
+
'lu' => 'int',
|
431 |
+
'lv' => 'int',
|
432 |
+
'ly' => 'int',
|
433 |
+
'ma' => 'int',
|
434 |
+
'mc' => 'int',
|
435 |
+
'md' => 'int',
|
436 |
+
'me' => 'int',
|
437 |
+
'mf' => 'int',
|
438 |
+
'mg' => 'int',
|
439 |
+
'mh' => 'int',
|
440 |
+
'mk' => 'int',
|
441 |
+
'ml' => 'int',
|
442 |
+
'mm' => 'int',
|
443 |
+
'mn' => 'int',
|
444 |
+
'mo' => 'int',
|
445 |
+
'mp' => 'int',
|
446 |
+
'mq' => 'int',
|
447 |
+
'mr' => 'int',
|
448 |
+
'ms' => 'int',
|
449 |
+
'mt' => 'int',
|
450 |
+
'mu' => 'int',
|
451 |
+
'mv' => 'int',
|
452 |
+
'mw' => 'int',
|
453 |
+
'mx' => 'int',
|
454 |
+
'my' => 'int',
|
455 |
+
'mz' => 'int',
|
456 |
+
'na' => 'int',
|
457 |
+
'nc' => 'int',
|
458 |
+
'ne' => 'int',
|
459 |
+
'nf' => 'int',
|
460 |
+
'ng' => 'int',
|
461 |
+
'ni' => 'int',
|
462 |
+
'nl' => 'int',
|
463 |
+
'no' => 'int',
|
464 |
+
'np' => 'int',
|
465 |
+
'nr' => 'int',
|
466 |
+
'nu' => 'int',
|
467 |
+
'nz' => 'int',
|
468 |
+
'om' => 'int',
|
469 |
+
'pa' => 'int',
|
470 |
+
'pe' => 'int',
|
471 |
+
'pf' => 'int',
|
472 |
+
'pg' => 'int',
|
473 |
+
'ph' => 'int',
|
474 |
+
'pk' => 'int',
|
475 |
+
'pl' => 'int',
|
476 |
+
'pm' => 'int',
|
477 |
+
'pn' => 'int',
|
478 |
+
'pr' => 'int',
|
479 |
+
'ps' => 'int',
|
480 |
+
'pt' => 'int',
|
481 |
+
'pw' => 'int',
|
482 |
+
'py' => 'int',
|
483 |
+
'qa' => 'int',
|
484 |
+
're' => 'int',
|
485 |
+
'ro' => 'int',
|
486 |
+
'rs' => 'int',
|
487 |
+
'ru' => 'int',
|
488 |
+
'rw' => 'int',
|
489 |
+
'sa' => 'int',
|
490 |
+
'sb' => 'int',
|
491 |
+
'sc' => 'int',
|
492 |
+
'sd' => 'int',
|
493 |
+
'se' => 'int',
|
494 |
+
'sg' => 'int',
|
495 |
+
'sh' => 'int',
|
496 |
+
'si' => 'int',
|
497 |
+
'sj' => 'int',
|
498 |
+
'sk' => 'int',
|
499 |
+
'sl' => 'int',
|
500 |
+
'sm' => 'int',
|
501 |
+
'sn' => 'int',
|
502 |
+
'so' => 'int',
|
503 |
+
'sr' => 'int',
|
504 |
+
'ss' => 'int',
|
505 |
+
'st' => 'int',
|
506 |
+
'sv' => 'int',
|
507 |
+
'sx' => 'int',
|
508 |
+
'sy' => 'int',
|
509 |
+
'sz' => 'int',
|
510 |
+
'tc' => 'int',
|
511 |
+
'td' => 'int',
|
512 |
+
'tf' => 'int',
|
513 |
+
'tg' => 'int',
|
514 |
+
'th' => 'int',
|
515 |
+
'tj' => 'int',
|
516 |
+
'tk' => 'int',
|
517 |
+
'tl' => 'int',
|
518 |
+
'tm' => 'int',
|
519 |
+
'tn' => 'int',
|
520 |
+
'to' => 'int',
|
521 |
+
'tr' => 'int',
|
522 |
+
'tt' => 'int',
|
523 |
+
'tv' => 'int',
|
524 |
+
'tw' => 'int',
|
525 |
+
'tz' => 'int',
|
526 |
+
'ua' => 'int',
|
527 |
+
'ug' => 'int',
|
528 |
+
'um' => 'int',
|
529 |
+
'us' => 'int',
|
530 |
+
'uy' => 'int',
|
531 |
+
'uz' => 'int',
|
532 |
+
'va' => 'int',
|
533 |
+
'vc' => 'int',
|
534 |
+
've' => 'int',
|
535 |
+
'vg' => 'int',
|
536 |
+
'vi' => 'int',
|
537 |
+
'vn' => 'int',
|
538 |
+
'vu' => 'int',
|
539 |
+
'wf' => 'int',
|
540 |
+
'ws' => 'int',
|
541 |
+
'xk' => 'int',
|
542 |
+
'ye' => 'int',
|
543 |
+
'yt' => 'int',
|
544 |
+
'za' => 'int',
|
545 |
+
'zm' => 'int',
|
546 |
+
'zw' => 'int',
|
547 |
+
);
|
548 |
+
}
|
549 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DestinationFields.php
CHANGED
@@ -44,6 +44,7 @@ class DestinationFields extends AbstractEnum {
|
|
44 |
const DESCRIPTION = 'description';
|
45 |
const DESTINATION_ID = 'destination_id';
|
46 |
const ID = 'id';
|
|
|
47 |
const IMAGES = 'images';
|
48 |
const NAME = 'name';
|
49 |
const PRICE = 'price';
|
@@ -61,6 +62,7 @@ class DestinationFields extends AbstractEnum {
|
|
61 |
'description' => 'string',
|
62 |
'destination_id' => 'string',
|
63 |
'id' => 'string',
|
|
|
64 |
'images' => 'list<string>',
|
65 |
'name' => 'string',
|
66 |
'price' => 'string',
|
44 |
const DESCRIPTION = 'description';
|
45 |
const DESTINATION_ID = 'destination_id';
|
46 |
const ID = 'id';
|
47 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
48 |
const IMAGES = 'images';
|
49 |
const NAME = 'name';
|
50 |
const PRICE = 'price';
|
62 |
'description' => 'string',
|
63 |
'destination_id' => 'string',
|
64 |
'id' => 'string',
|
65 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
66 |
'images' => 'list<string>',
|
67 |
'name' => 'string',
|
68 |
'price' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/FlightFields.php
CHANGED
@@ -45,6 +45,7 @@ class FlightFields extends AbstractEnum {
|
|
45 |
const DESTINATION_CITY = 'destination_city';
|
46 |
const FLIGHT_ID = 'flight_id';
|
47 |
const ID = 'id';
|
|
|
48 |
const IMAGES = 'images';
|
49 |
const ONEWAY_CURRENCY = 'oneway_currency';
|
50 |
const ONEWAY_PRICE = 'oneway_price';
|
@@ -64,6 +65,7 @@ class FlightFields extends AbstractEnum {
|
|
64 |
'destination_city' => 'string',
|
65 |
'flight_id' => 'string',
|
66 |
'id' => 'string',
|
|
|
67 |
'images' => 'list<string>',
|
68 |
'oneway_currency' => 'string',
|
69 |
'oneway_price' => 'string',
|
45 |
const DESTINATION_CITY = 'destination_city';
|
46 |
const FLIGHT_ID = 'flight_id';
|
47 |
const ID = 'id';
|
48 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
49 |
const IMAGES = 'images';
|
50 |
const ONEWAY_CURRENCY = 'oneway_currency';
|
51 |
const ONEWAY_PRICE = 'oneway_price';
|
65 |
'destination_city' => 'string',
|
66 |
'flight_id' => 'string',
|
67 |
'id' => 'string',
|
68 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
69 |
'images' => 'list<string>',
|
70 |
'oneway_currency' => 'string',
|
71 |
'oneway_price' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HomeListingFields.php
CHANGED
@@ -60,6 +60,7 @@ class HomeListingFields extends AbstractEnum {
|
|
60 |
const HEATING_TYPE = 'heating_type';
|
61 |
const HOME_LISTING_ID = 'home_listing_id';
|
62 |
const ID = 'id';
|
|
|
63 |
const IMAGES = 'images';
|
64 |
const LAUNDRY_TYPE = 'laundry_type';
|
65 |
const LISTING_TYPE = 'listing_type';
|
@@ -106,6 +107,7 @@ class HomeListingFields extends AbstractEnum {
|
|
106 |
'heating_type' => 'string',
|
107 |
'home_listing_id' => 'string',
|
108 |
'id' => 'string',
|
|
|
109 |
'images' => 'list<string>',
|
110 |
'laundry_type' => 'string',
|
111 |
'listing_type' => 'string',
|
60 |
const HEATING_TYPE = 'heating_type';
|
61 |
const HOME_LISTING_ID = 'home_listing_id';
|
62 |
const ID = 'id';
|
63 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
64 |
const IMAGES = 'images';
|
65 |
const LAUNDRY_TYPE = 'laundry_type';
|
66 |
const LISTING_TYPE = 'listing_type';
|
107 |
'heating_type' => 'string',
|
108 |
'home_listing_id' => 'string',
|
109 |
'id' => 'string',
|
110 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
111 |
'images' => 'list<string>',
|
112 |
'laundry_type' => 'string',
|
113 |
'listing_type' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HotelFields.php
CHANGED
@@ -47,6 +47,7 @@ class HotelFields extends AbstractEnum {
|
|
47 |
const GUEST_RATINGS = 'guest_ratings';
|
48 |
const HOTEL_ID = 'hotel_id';
|
49 |
const ID = 'id';
|
|
|
50 |
const IMAGES = 'images';
|
51 |
const LOWEST_BASE_PRICE = 'lowest_base_price';
|
52 |
const LOYALTY_PROGRAM = 'loyalty_program';
|
@@ -71,6 +72,7 @@ class HotelFields extends AbstractEnum {
|
|
71 |
'guest_ratings' => 'string',
|
72 |
'hotel_id' => 'string',
|
73 |
'id' => 'string',
|
|
|
74 |
'images' => 'list<string>',
|
75 |
'lowest_base_price' => 'string',
|
76 |
'loyalty_program' => 'string',
|
47 |
const GUEST_RATINGS = 'guest_ratings';
|
48 |
const HOTEL_ID = 'hotel_id';
|
49 |
const ID = 'id';
|
50 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
51 |
const IMAGES = 'images';
|
52 |
const LOWEST_BASE_PRICE = 'lowest_base_price';
|
53 |
const LOYALTY_PROGRAM = 'loyalty_program';
|
72 |
'guest_ratings' => 'string',
|
73 |
'hotel_id' => 'string',
|
74 |
'id' => 'string',
|
75 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
76 |
'images' => 'list<string>',
|
77 |
'lowest_base_price' => 'string',
|
78 |
'loyalty_program' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php
CHANGED
@@ -43,6 +43,7 @@ class IGMediaFields extends AbstractEnum {
|
|
43 |
const IG_ID = 'ig_id';
|
44 |
const IS_COMMENT_ENABLED = 'is_comment_enabled';
|
45 |
const LIKE_COUNT = 'like_count';
|
|
|
46 |
const MEDIA_TYPE = 'media_type';
|
47 |
const MEDIA_URL = 'media_url';
|
48 |
const OWNER = 'owner';
|
@@ -51,6 +52,7 @@ class IGMediaFields extends AbstractEnum {
|
|
51 |
const THUMBNAIL_URL = 'thumbnail_url';
|
52 |
const TIMESTAMP = 'timestamp';
|
53 |
const USERNAME = 'username';
|
|
|
54 |
|
55 |
public function getFieldTypes() {
|
56 |
return array(
|
@@ -60,6 +62,7 @@ class IGMediaFields extends AbstractEnum {
|
|
60 |
'ig_id' => 'string',
|
61 |
'is_comment_enabled' => 'bool',
|
62 |
'like_count' => 'int',
|
|
|
63 |
'media_type' => 'string',
|
64 |
'media_url' => 'string',
|
65 |
'owner' => 'IGUser',
|
@@ -68,6 +71,7 @@ class IGMediaFields extends AbstractEnum {
|
|
68 |
'thumbnail_url' => 'string',
|
69 |
'timestamp' => 'datetime',
|
70 |
'username' => 'string',
|
|
|
71 |
);
|
72 |
}
|
73 |
}
|
43 |
const IG_ID = 'ig_id';
|
44 |
const IS_COMMENT_ENABLED = 'is_comment_enabled';
|
45 |
const LIKE_COUNT = 'like_count';
|
46 |
+
const MEDIA_PRODUCT_TYPE = 'media_product_type';
|
47 |
const MEDIA_TYPE = 'media_type';
|
48 |
const MEDIA_URL = 'media_url';
|
49 |
const OWNER = 'owner';
|
52 |
const THUMBNAIL_URL = 'thumbnail_url';
|
53 |
const TIMESTAMP = 'timestamp';
|
54 |
const USERNAME = 'username';
|
55 |
+
const VIDEO_TITLE = 'video_title';
|
56 |
|
57 |
public function getFieldTypes() {
|
58 |
return array(
|
62 |
'ig_id' => 'string',
|
63 |
'is_comment_enabled' => 'bool',
|
64 |
'like_count' => 'int',
|
65 |
+
'media_product_type' => 'string',
|
66 |
'media_type' => 'string',
|
67 |
'media_url' => 'string',
|
68 |
'owner' => 'IGUser',
|
71 |
'thumbnail_url' => 'string',
|
72 |
'timestamp' => 'datetime',
|
73 |
'username' => 'string',
|
74 |
+
'video_title' => 'string',
|
75 |
);
|
76 |
}
|
77 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/LiveVideoFields.php
CHANGED
@@ -84,7 +84,7 @@ class LiveVideoFields extends AbstractEnum {
|
|
84 |
'live_encoders' => 'list<LiveEncoder>',
|
85 |
'live_views' => 'unsigned int',
|
86 |
'overlay_url' => 'string',
|
87 |
-
'permalink_url' => '
|
88 |
'planned_start_time' => 'datetime',
|
89 |
'seconds_left' => 'int',
|
90 |
'secure_stream_url' => 'string',
|
84 |
'live_encoders' => 'list<LiveEncoder>',
|
85 |
'live_views' => 'unsigned int',
|
86 |
'overlay_url' => 'string',
|
87 |
+
'permalink_url' => 'Object',
|
88 |
'planned_start_time' => 'datetime',
|
89 |
'seconds_left' => 'int',
|
90 |
'secure_stream_url' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OmegaCustomerTrxFields.php
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class OmegaCustomerTrxFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const AD_ACCOUNT_IDS = 'ad_account_ids';
|
41 |
+
const AMOUNT = 'amount';
|
42 |
+
const AMOUNT_DUE = 'amount_due';
|
43 |
+
const BILLED_AMOUNT_DETAILS = 'billed_amount_details';
|
44 |
+
const BILLING_PERIOD = 'billing_period';
|
45 |
+
const CAMPAIGN = 'campaign';
|
46 |
+
const CDN_DOWNLOAD_URI = 'cdn_download_uri';
|
47 |
+
const CURRENCY = 'currency';
|
48 |
+
const DOWNLOAD_URI = 'download_uri';
|
49 |
+
const DUE_DATE = 'due_date';
|
50 |
+
const ENTITY = 'entity';
|
51 |
+
const ID = 'id';
|
52 |
+
const INVOICE_DATE = 'invoice_date';
|
53 |
+
const INVOICE_ID = 'invoice_id';
|
54 |
+
const INVOICE_TYPE = 'invoice_type';
|
55 |
+
const LIABILITY_TYPE = 'liability_type';
|
56 |
+
const PAYMENT_STATUS = 'payment_status';
|
57 |
+
const PAYMENT_TERM = 'payment_term';
|
58 |
+
const TYPE = 'type';
|
59 |
+
|
60 |
+
public function getFieldTypes() {
|
61 |
+
return array(
|
62 |
+
'ad_account_ids' => 'list<string>',
|
63 |
+
'amount' => 'string',
|
64 |
+
'amount_due' => 'CurrencyAmount',
|
65 |
+
'billed_amount_details' => 'BilledAmountDetails',
|
66 |
+
'billing_period' => 'string',
|
67 |
+
'campaign' => 'AtlasCampaign',
|
68 |
+
'cdn_download_uri' => 'string',
|
69 |
+
'currency' => 'string',
|
70 |
+
'download_uri' => 'string',
|
71 |
+
'due_date' => 'datetime',
|
72 |
+
'entity' => 'string',
|
73 |
+
'id' => 'string',
|
74 |
+
'invoice_date' => 'datetime',
|
75 |
+
'invoice_id' => 'string',
|
76 |
+
'invoice_type' => 'string',
|
77 |
+
'liability_type' => 'string',
|
78 |
+
'payment_status' => 'string',
|
79 |
+
'payment_term' => 'string',
|
80 |
+
'type' => 'string',
|
81 |
+
);
|
82 |
+
}
|
83 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php
CHANGED
@@ -88,6 +88,7 @@ class PageFields extends AbstractEnum {
|
|
88 |
const GLOBAL_BRAND_PAGE_NAME = 'global_brand_page_name';
|
89 |
const GLOBAL_BRAND_ROOT_ID = 'global_brand_root_id';
|
90 |
const HAS_ADDED_APP = 'has_added_app';
|
|
|
91 |
const HAS_WHATSAPP_BUSINESS_NUMBER = 'has_whatsapp_business_number';
|
92 |
const HAS_WHATSAPP_NUMBER = 'has_whatsapp_number';
|
93 |
const HOMETOWN = 'hometown';
|
@@ -234,6 +235,7 @@ class PageFields extends AbstractEnum {
|
|
234 |
'global_brand_page_name' => 'string',
|
235 |
'global_brand_root_id' => 'string',
|
236 |
'has_added_app' => 'bool',
|
|
|
237 |
'has_whatsapp_business_number' => 'bool',
|
238 |
'has_whatsapp_number' => 'bool',
|
239 |
'hometown' => 'string',
|
88 |
const GLOBAL_BRAND_PAGE_NAME = 'global_brand_page_name';
|
89 |
const GLOBAL_BRAND_ROOT_ID = 'global_brand_root_id';
|
90 |
const HAS_ADDED_APP = 'has_added_app';
|
91 |
+
const HAS_TRANSITIONED_TO_NEW_PAGE_EXPERIENCE = 'has_transitioned_to_new_page_experience';
|
92 |
const HAS_WHATSAPP_BUSINESS_NUMBER = 'has_whatsapp_business_number';
|
93 |
const HAS_WHATSAPP_NUMBER = 'has_whatsapp_number';
|
94 |
const HOMETOWN = 'hometown';
|
235 |
'global_brand_page_name' => 'string',
|
236 |
'global_brand_root_id' => 'string',
|
237 |
'has_added_app' => 'bool',
|
238 |
+
'has_transitioned_to_new_page_experience' => 'bool',
|
239 |
'has_whatsapp_business_number' => 'bool',
|
240 |
'has_whatsapp_number' => 'bool',
|
241 |
'hometown' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PrivateLiftStudyInstanceFields.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class PrivateLiftStudyInstanceFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const BREAKDOWN_KEY = 'breakdown_key';
|
41 |
+
const CREATED_TIME = 'created_time';
|
42 |
+
const ID = 'id';
|
43 |
+
const LATEST_STATUS_UPDATE_TIME = 'latest_status_update_time';
|
44 |
+
const SERVER_IPS = 'server_ips';
|
45 |
+
const STATUS = 'status';
|
46 |
+
|
47 |
+
public function getFieldTypes() {
|
48 |
+
return array(
|
49 |
+
'breakdown_key' => 'string',
|
50 |
+
'created_time' => 'datetime',
|
51 |
+
'id' => 'string',
|
52 |
+
'latest_status_update_time' => 'datetime',
|
53 |
+
'server_ips' => 'list<string>',
|
54 |
+
'status' => 'string',
|
55 |
+
);
|
56 |
+
}
|
57 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogDiagnosticGroupFields.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Fields;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
*/
|
37 |
+
|
38 |
+
class ProductCatalogDiagnosticGroupFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const AFFECTED_CHANNELS = 'affected_channels';
|
41 |
+
const AFFECTED_FEATURES = 'affected_features';
|
42 |
+
const DIAGNOSTICS = 'diagnostics';
|
43 |
+
const ERROR_CODE = 'error_code';
|
44 |
+
const NUMBER_OF_AFFECTED_ITEMS = 'number_of_affected_items';
|
45 |
+
const SEVERITY = 'severity';
|
46 |
+
const SUBTITLE = 'subtitle';
|
47 |
+
const TITLE = 'title';
|
48 |
+
const TYPE = 'type';
|
49 |
+
|
50 |
+
public function getFieldTypes() {
|
51 |
+
return array(
|
52 |
+
'affected_channels' => 'list<AffectedChannels>',
|
53 |
+
'affected_features' => 'list<AffectedFeatures>',
|
54 |
+
'diagnostics' => 'list<Object>',
|
55 |
+
'error_code' => 'int',
|
56 |
+
'number_of_affected_items' => 'int',
|
57 |
+
'severity' => 'Severity',
|
58 |
+
'subtitle' => 'string',
|
59 |
+
'title' => 'string',
|
60 |
+
'type' => 'Type',
|
61 |
+
);
|
62 |
+
}
|
63 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogFields.php
CHANGED
@@ -54,6 +54,7 @@ class ProductCatalogFields extends AbstractEnum {
|
|
54 |
const DESTINATION_CATALOG_SETTINGS = 'destination_catalog_settings';
|
55 |
const FLIGHT_CATALOG_SETTINGS = 'flight_catalog_settings';
|
56 |
const PARENT_CATALOG_ID = 'parent_catalog_id';
|
|
|
57 |
|
58 |
public function getFieldTypes() {
|
59 |
return array(
|
@@ -74,6 +75,7 @@ class ProductCatalogFields extends AbstractEnum {
|
|
74 |
'destination_catalog_settings' => 'map',
|
75 |
'flight_catalog_settings' => 'map',
|
76 |
'parent_catalog_id' => 'string',
|
|
|
77 |
);
|
78 |
}
|
79 |
}
|
54 |
const DESTINATION_CATALOG_SETTINGS = 'destination_catalog_settings';
|
55 |
const FLIGHT_CATALOG_SETTINGS = 'flight_catalog_settings';
|
56 |
const PARENT_CATALOG_ID = 'parent_catalog_id';
|
57 |
+
const PARTNER_INTEGRATION = 'partner_integration';
|
58 |
|
59 |
public function getFieldTypes() {
|
60 |
return array(
|
75 |
'destination_catalog_settings' => 'map',
|
76 |
'flight_catalog_settings' => 'map',
|
77 |
'parent_catalog_id' => 'string',
|
78 |
+
'partner_integration' => 'map',
|
79 |
);
|
80 |
}
|
81 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php
CHANGED
@@ -65,10 +65,12 @@ class ProductItemFields extends AbstractEnum {
|
|
65 |
const GTIN = 'gtin';
|
66 |
const ID = 'id';
|
67 |
const IMAGE_CDN_URLS = 'image_cdn_urls';
|
|
|
68 |
const IMAGE_URL = 'image_url';
|
69 |
const IMAGES = 'images';
|
70 |
const INVENTORY = 'inventory';
|
71 |
const MANUFACTURER_PART_NUMBER = 'manufacturer_part_number';
|
|
|
72 |
const MATERIAL = 'material';
|
73 |
const MOBILE_LINK = 'mobile_link';
|
74 |
const NAME = 'name';
|
@@ -80,6 +82,7 @@ class ProductItemFields extends AbstractEnum {
|
|
80 |
const PRODUCT_FEED = 'product_feed';
|
81 |
const PRODUCT_GROUP = 'product_group';
|
82 |
const PRODUCT_TYPE = 'product_type';
|
|
|
83 |
const RETAILER_ID = 'retailer_id';
|
84 |
const RETAILER_PRODUCT_GROUP_ID = 'retailer_product_group_id';
|
85 |
const REVIEW_REJECTION_REASONS = 'review_rejection_reasons';
|
@@ -149,10 +152,12 @@ class ProductItemFields extends AbstractEnum {
|
|
149 |
'gtin' => 'string',
|
150 |
'id' => 'string',
|
151 |
'image_cdn_urls' => 'map<string, string>',
|
|
|
152 |
'image_url' => 'string',
|
153 |
'images' => 'list<string>',
|
154 |
'inventory' => 'int',
|
155 |
'manufacturer_part_number' => 'string',
|
|
|
156 |
'material' => 'string',
|
157 |
'mobile_link' => 'string',
|
158 |
'name' => 'string',
|
@@ -164,6 +169,7 @@ class ProductItemFields extends AbstractEnum {
|
|
164 |
'product_feed' => 'ProductFeed',
|
165 |
'product_group' => 'ProductGroup',
|
166 |
'product_type' => 'string',
|
|
|
167 |
'retailer_id' => 'string',
|
168 |
'retailer_product_group_id' => 'string',
|
169 |
'review_rejection_reasons' => 'list<string>',
|
65 |
const GTIN = 'gtin';
|
66 |
const ID = 'id';
|
67 |
const IMAGE_CDN_URLS = 'image_cdn_urls';
|
68 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
69 |
const IMAGE_URL = 'image_url';
|
70 |
const IMAGES = 'images';
|
71 |
const INVENTORY = 'inventory';
|
72 |
const MANUFACTURER_PART_NUMBER = 'manufacturer_part_number';
|
73 |
+
const MARKED_FOR_PRODUCT_LAUNCH = 'marked_for_product_launch';
|
74 |
const MATERIAL = 'material';
|
75 |
const MOBILE_LINK = 'mobile_link';
|
76 |
const NAME = 'name';
|
82 |
const PRODUCT_FEED = 'product_feed';
|
83 |
const PRODUCT_GROUP = 'product_group';
|
84 |
const PRODUCT_TYPE = 'product_type';
|
85 |
+
const QUANTITY_TO_SELL_ON_FACEBOOK = 'quantity_to_sell_on_facebook';
|
86 |
const RETAILER_ID = 'retailer_id';
|
87 |
const RETAILER_PRODUCT_GROUP_ID = 'retailer_product_group_id';
|
88 |
const REVIEW_REJECTION_REASONS = 'review_rejection_reasons';
|
152 |
'gtin' => 'string',
|
153 |
'id' => 'string',
|
154 |
'image_cdn_urls' => 'map<string, string>',
|
155 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
156 |
'image_url' => 'string',
|
157 |
'images' => 'list<string>',
|
158 |
'inventory' => 'int',
|
159 |
'manufacturer_part_number' => 'string',
|
160 |
+
'marked_for_product_launch' => 'string',
|
161 |
'material' => 'string',
|
162 |
'mobile_link' => 'string',
|
163 |
'name' => 'string',
|
169 |
'product_feed' => 'ProductFeed',
|
170 |
'product_group' => 'ProductGroup',
|
171 |
'product_type' => 'string',
|
172 |
+
'quantity_to_sell_on_facebook' => 'int',
|
173 |
'retailer_id' => 'string',
|
174 |
'retailer_product_group_id' => 'string',
|
175 |
'review_rejection_reasons' => 'list<string>',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SavedAudienceFields.php
CHANGED
@@ -39,10 +39,13 @@ class SavedAudienceFields extends AbstractEnum {
|
|
39 |
|
40 |
const ACCOUNT = 'account';
|
41 |
const APPROXIMATE_COUNT = 'approximate_count';
|
|
|
|
|
42 |
const DESCRIPTION = 'description';
|
43 |
const EXTRA_INFO = 'extra_info';
|
44 |
const ID = 'id';
|
45 |
const NAME = 'name';
|
|
|
46 |
const PERMISSION_FOR_ACTIONS = 'permission_for_actions';
|
47 |
const RUN_STATUS = 'run_status';
|
48 |
const SENTENCE_LINES = 'sentence_lines';
|
@@ -54,10 +57,13 @@ class SavedAudienceFields extends AbstractEnum {
|
|
54 |
return array(
|
55 |
'account' => 'AdAccount',
|
56 |
'approximate_count' => 'int',
|
|
|
|
|
57 |
'description' => 'string',
|
58 |
'extra_info' => 'string',
|
59 |
'id' => 'string',
|
60 |
'name' => 'string',
|
|
|
61 |
'permission_for_actions' => 'AudiencePermissionForActions',
|
62 |
'run_status' => 'string',
|
63 |
'sentence_lines' => 'list',
|
39 |
|
40 |
const ACCOUNT = 'account';
|
41 |
const APPROXIMATE_COUNT = 'approximate_count';
|
42 |
+
const APPROXIMATE_COUNT_64BIT = 'approximate_count_64bit';
|
43 |
+
const DELETE_TIME = 'delete_time';
|
44 |
const DESCRIPTION = 'description';
|
45 |
const EXTRA_INFO = 'extra_info';
|
46 |
const ID = 'id';
|
47 |
const NAME = 'name';
|
48 |
+
const OPERATION_STATUS = 'operation_status';
|
49 |
const PERMISSION_FOR_ACTIONS = 'permission_for_actions';
|
50 |
const RUN_STATUS = 'run_status';
|
51 |
const SENTENCE_LINES = 'sentence_lines';
|
57 |
return array(
|
58 |
'account' => 'AdAccount',
|
59 |
'approximate_count' => 'int',
|
60 |
+
'approximate_count_64bit' => 'int',
|
61 |
+
'delete_time' => 'int',
|
62 |
'description' => 'string',
|
63 |
'extra_info' => 'string',
|
64 |
'id' => 'string',
|
65 |
'name' => 'string',
|
66 |
+
'operation_status' => 'CustomAudienceStatus',
|
67 |
'permission_for_actions' => 'AudiencePermissionForActions',
|
68 |
'run_status' => 'string',
|
69 |
'sentence_lines' => 'list',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleFields.php
CHANGED
@@ -59,6 +59,7 @@ class VehicleFields extends AbstractEnum {
|
|
59 |
const FEATURES = 'features';
|
60 |
const FUEL_TYPE = 'fuel_type';
|
61 |
const ID = 'id';
|
|
|
62 |
const IMAGES = 'images';
|
63 |
const INTERIOR_COLOR = 'interior_color';
|
64 |
const LEGAL_DISCLOSURE_IMPRESSUM_URL = 'legal_disclosure_impressum_url';
|
@@ -107,6 +108,7 @@ class VehicleFields extends AbstractEnum {
|
|
107 |
'features' => 'list<Object>',
|
108 |
'fuel_type' => 'string',
|
109 |
'id' => 'string',
|
|
|
110 |
'images' => 'list<string>',
|
111 |
'interior_color' => 'string',
|
112 |
'legal_disclosure_impressum_url' => 'string',
|
59 |
const FEATURES = 'features';
|
60 |
const FUEL_TYPE = 'fuel_type';
|
61 |
const ID = 'id';
|
62 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
63 |
const IMAGES = 'images';
|
64 |
const INTERIOR_COLOR = 'interior_color';
|
65 |
const LEGAL_DISCLOSURE_IMPRESSUM_URL = 'legal_disclosure_impressum_url';
|
108 |
'features' => 'list<Object>',
|
109 |
'fuel_type' => 'string',
|
110 |
'id' => 'string',
|
111 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
112 |
'images' => 'list<string>',
|
113 |
'interior_color' => 'string',
|
114 |
'legal_disclosure_impressum_url' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleOfferFields.php
CHANGED
@@ -54,6 +54,7 @@ class VehicleOfferFields extends AbstractEnum {
|
|
54 |
const END_DATE = 'end_date';
|
55 |
const END_TIME = 'end_time';
|
56 |
const ID = 'id';
|
|
|
57 |
const IMAGES = 'images';
|
58 |
const MAKE = 'make';
|
59 |
const MODEL = 'model';
|
@@ -91,6 +92,7 @@ class VehicleOfferFields extends AbstractEnum {
|
|
91 |
'end_date' => 'string',
|
92 |
'end_time' => 'int',
|
93 |
'id' => 'string',
|
|
|
94 |
'images' => 'list<string>',
|
95 |
'make' => 'string',
|
96 |
'model' => 'string',
|
54 |
const END_DATE = 'end_date';
|
55 |
const END_TIME = 'end_time';
|
56 |
const ID = 'id';
|
57 |
+
const IMAGE_FETCH_STATUS = 'image_fetch_status';
|
58 |
const IMAGES = 'images';
|
59 |
const MAKE = 'make';
|
60 |
const MODEL = 'model';
|
92 |
'end_date' => 'string',
|
93 |
'end_time' => 'int',
|
94 |
'id' => 'string',
|
95 |
+
'image_fetch_status' => 'ImageFetchStatus',
|
96 |
'images' => 'list<string>',
|
97 |
'make' => 'string',
|
98 |
'model' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php
CHANGED
@@ -37,7 +37,9 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class WhatsAppBusinessAccountFields extends AbstractEnum {
|
39 |
|
|
|
40 |
const ANALYTICS = 'analytics';
|
|
|
41 |
const CURRENCY = 'currency';
|
42 |
const ID = 'id';
|
43 |
const MESSAGE_TEMPLATE_NAMESPACE = 'message_template_namespace';
|
@@ -51,7 +53,9 @@ class WhatsAppBusinessAccountFields extends AbstractEnum {
|
|
51 |
|
52 |
public function getFieldTypes() {
|
53 |
return array(
|
|
|
54 |
'analytics' => 'Object',
|
|
|
55 |
'currency' => 'string',
|
56 |
'id' => 'string',
|
57 |
'message_template_namespace' => 'string',
|
37 |
|
38 |
class WhatsAppBusinessAccountFields extends AbstractEnum {
|
39 |
|
40 |
+
const ACCOUNT_REVIEW_STATUS = 'account_review_status';
|
41 |
const ANALYTICS = 'analytics';
|
42 |
+
const CREATION_TIME = 'creation_time';
|
43 |
const CURRENCY = 'currency';
|
44 |
const ID = 'id';
|
45 |
const MESSAGE_TEMPLATE_NAMESPACE = 'message_template_namespace';
|
53 |
|
54 |
public function getFieldTypes() {
|
55 |
return array(
|
56 |
+
'account_review_status' => 'string',
|
57 |
'analytics' => 'Object',
|
58 |
+
'creation_time' => 'int',
|
59 |
'currency' => 'string',
|
60 |
'id' => 'string',
|
61 |
'message_template_namespace' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php
CHANGED
@@ -39,11 +39,13 @@ class WhatsAppBusinessProfileFields extends AbstractEnum {
|
|
39 |
|
40 |
const ID = 'id';
|
41 |
const NAME_VERIFICATION = 'name_verification';
|
|
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
'id' => 'string',
|
46 |
'name_verification' => 'Object',
|
|
|
47 |
);
|
48 |
}
|
49 |
}
|
39 |
|
40 |
const ID = 'id';
|
41 |
const NAME_VERIFICATION = 'name_verification';
|
42 |
+
const WHATSAPP_BUSINESS_API_DATA = 'whatsapp_business_api_data';
|
43 |
|
44 |
public function getFieldTypes() {
|
45 |
return array(
|
46 |
'id' => 'string',
|
47 |
'name_verification' => 'Object',
|
48 |
+
'whatsapp_business_api_data' => 'Object',
|
49 |
);
|
50 |
}
|
51 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Flight.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\FlightFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,10 +51,80 @@ class Flight extends AbstractCrudObject {
|
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\FlightFields;
|
32 |
+
use FacebookAds\Object\Values\FlightImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['ImageFetchStatus'] = FlightImageFetchStatusValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/augmented_realities_metadata',
|
72 |
+
new AbstractCrudObject(),
|
73 |
+
'EDGE',
|
74 |
+
array(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/channels_to_integrity_status',
|
95 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
96 |
+
'EDGE',
|
97 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
106 |
+
$this->assureId();
|
107 |
+
|
108 |
+
$param_types = array(
|
109 |
+
);
|
110 |
+
$enums = array(
|
111 |
+
);
|
112 |
+
|
113 |
+
$request = new ApiRequest(
|
114 |
+
$this->api,
|
115 |
+
$this->data['id'],
|
116 |
+
RequestInterface::METHOD_GET,
|
117 |
+
'/videos_metadata',
|
118 |
+
new AbstractCrudObject(),
|
119 |
+
'EDGE',
|
120 |
+
array(),
|
121 |
+
new TypeChecker($param_types, $enums)
|
122 |
+
);
|
123 |
+
$request->addParams($params);
|
124 |
+
$request->addFields($fields);
|
125 |
+
return $pending ? $request : $request->execute();
|
126 |
+
}
|
127 |
+
|
128 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
129 |
$this->assureId();
|
130 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php
CHANGED
@@ -917,7 +917,6 @@ class Group extends AbstractCrudObject {
|
|
917 |
$this->assureId();
|
918 |
|
919 |
$param_types = array(
|
920 |
-
'archive' => 'bool',
|
921 |
'cover' => 'string',
|
922 |
'cover_url' => 'string',
|
923 |
'description' => 'string',
|
917 |
$this->assureId();
|
918 |
|
919 |
$param_types = array(
|
|
|
920 |
'cover' => 'string',
|
921 |
'cover_url' => 'string',
|
922 |
'description' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/HomeListing.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\HomeListingFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -57,10 +58,80 @@ class HomeListing extends AbstractCrudObject {
|
|
57 |
|
58 |
protected static function getReferencedEnums() {
|
59 |
$ref_enums = array();
|
|
|
60 |
return $ref_enums;
|
61 |
}
|
62 |
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
65 |
$this->assureId();
|
66 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\HomeListingFields;
|
32 |
+
use FacebookAds\Object\Values\HomeListingImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
58 |
|
59 |
protected static function getReferencedEnums() {
|
60 |
$ref_enums = array();
|
61 |
+
$ref_enums['ImageFetchStatus'] = HomeListingImageFetchStatusValues::getInstance()->getValues();
|
62 |
return $ref_enums;
|
63 |
}
|
64 |
|
65 |
|
66 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
67 |
+
$this->assureId();
|
68 |
+
|
69 |
+
$param_types = array(
|
70 |
+
);
|
71 |
+
$enums = array(
|
72 |
+
);
|
73 |
+
|
74 |
+
$request = new ApiRequest(
|
75 |
+
$this->api,
|
76 |
+
$this->data['id'],
|
77 |
+
RequestInterface::METHOD_GET,
|
78 |
+
'/augmented_realities_metadata',
|
79 |
+
new AbstractCrudObject(),
|
80 |
+
'EDGE',
|
81 |
+
array(),
|
82 |
+
new TypeChecker($param_types, $enums)
|
83 |
+
);
|
84 |
+
$request->addParams($params);
|
85 |
+
$request->addFields($fields);
|
86 |
+
return $pending ? $request : $request->execute();
|
87 |
+
}
|
88 |
+
|
89 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
90 |
+
$this->assureId();
|
91 |
+
|
92 |
+
$param_types = array(
|
93 |
+
);
|
94 |
+
$enums = array(
|
95 |
+
);
|
96 |
+
|
97 |
+
$request = new ApiRequest(
|
98 |
+
$this->api,
|
99 |
+
$this->data['id'],
|
100 |
+
RequestInterface::METHOD_GET,
|
101 |
+
'/channels_to_integrity_status',
|
102 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
103 |
+
'EDGE',
|
104 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
105 |
+
new TypeChecker($param_types, $enums)
|
106 |
+
);
|
107 |
+
$request->addParams($params);
|
108 |
+
$request->addFields($fields);
|
109 |
+
return $pending ? $request : $request->execute();
|
110 |
+
}
|
111 |
+
|
112 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
113 |
+
$this->assureId();
|
114 |
+
|
115 |
+
$param_types = array(
|
116 |
+
);
|
117 |
+
$enums = array(
|
118 |
+
);
|
119 |
+
|
120 |
+
$request = new ApiRequest(
|
121 |
+
$this->api,
|
122 |
+
$this->data['id'],
|
123 |
+
RequestInterface::METHOD_GET,
|
124 |
+
'/videos_metadata',
|
125 |
+
new AbstractCrudObject(),
|
126 |
+
'EDGE',
|
127 |
+
array(),
|
128 |
+
new TypeChecker($param_types, $enums)
|
129 |
+
);
|
130 |
+
$request->addParams($params);
|
131 |
+
$request->addFields($fields);
|
132 |
+
return $pending ? $request : $request->execute();
|
133 |
+
}
|
134 |
+
|
135 |
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
136 |
$this->assureId();
|
137 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Hotel.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\HotelFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -57,10 +58,57 @@ class Hotel extends AbstractCrudObject {
|
|
57 |
|
58 |
protected static function getReferencedEnums() {
|
59 |
$ref_enums = array();
|
|
|
60 |
return $ref_enums;
|
61 |
}
|
62 |
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
public function getHotelRooms(array $fields = array(), array $params = array(), $pending = false) {
|
65 |
$this->assureId();
|
66 |
|
@@ -84,6 +132,29 @@ class Hotel extends AbstractCrudObject {
|
|
84 |
return $pending ? $request : $request->execute();
|
85 |
}
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
88 |
$this->assureId();
|
89 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\HotelFields;
|
32 |
+
use FacebookAds\Object\Values\HotelImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
58 |
|
59 |
protected static function getReferencedEnums() {
|
60 |
$ref_enums = array();
|
61 |
+
$ref_enums['ImageFetchStatus'] = HotelImageFetchStatusValues::getInstance()->getValues();
|
62 |
return $ref_enums;
|
63 |
}
|
64 |
|
65 |
|
66 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
67 |
+
$this->assureId();
|
68 |
+
|
69 |
+
$param_types = array(
|
70 |
+
);
|
71 |
+
$enums = array(
|
72 |
+
);
|
73 |
+
|
74 |
+
$request = new ApiRequest(
|
75 |
+
$this->api,
|
76 |
+
$this->data['id'],
|
77 |
+
RequestInterface::METHOD_GET,
|
78 |
+
'/augmented_realities_metadata',
|
79 |
+
new AbstractCrudObject(),
|
80 |
+
'EDGE',
|
81 |
+
array(),
|
82 |
+
new TypeChecker($param_types, $enums)
|
83 |
+
);
|
84 |
+
$request->addParams($params);
|
85 |
+
$request->addFields($fields);
|
86 |
+
return $pending ? $request : $request->execute();
|
87 |
+
}
|
88 |
+
|
89 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
90 |
+
$this->assureId();
|
91 |
+
|
92 |
+
$param_types = array(
|
93 |
+
);
|
94 |
+
$enums = array(
|
95 |
+
);
|
96 |
+
|
97 |
+
$request = new ApiRequest(
|
98 |
+
$this->api,
|
99 |
+
$this->data['id'],
|
100 |
+
RequestInterface::METHOD_GET,
|
101 |
+
'/channels_to_integrity_status',
|
102 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
103 |
+
'EDGE',
|
104 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
105 |
+
new TypeChecker($param_types, $enums)
|
106 |
+
);
|
107 |
+
$request->addParams($params);
|
108 |
+
$request->addFields($fields);
|
109 |
+
return $pending ? $request : $request->execute();
|
110 |
+
}
|
111 |
+
|
112 |
public function getHotelRooms(array $fields = array(), array $params = array(), $pending = false) {
|
113 |
$this->assureId();
|
114 |
|
132 |
return $pending ? $request : $request->execute();
|
133 |
}
|
134 |
|
135 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
136 |
+
$this->assureId();
|
137 |
+
|
138 |
+
$param_types = array(
|
139 |
+
);
|
140 |
+
$enums = array(
|
141 |
+
);
|
142 |
+
|
143 |
+
$request = new ApiRequest(
|
144 |
+
$this->api,
|
145 |
+
$this->data['id'],
|
146 |
+
RequestInterface::METHOD_GET,
|
147 |
+
'/videos_metadata',
|
148 |
+
new AbstractCrudObject(),
|
149 |
+
'EDGE',
|
150 |
+
array(),
|
151 |
+
new TypeChecker($param_types, $enums)
|
152 |
+
);
|
153 |
+
$request->addParams($params);
|
154 |
+
$request->addFields($fields);
|
155 |
+
return $pending ? $request : $request->execute();
|
156 |
+
}
|
157 |
+
|
158 |
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
159 |
$this->assureId();
|
160 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/IGUser.php
CHANGED
@@ -113,6 +113,8 @@ class IGUser extends AbstractCrudObject {
|
|
113 |
$this->assureId();
|
114 |
|
115 |
$param_types = array(
|
|
|
|
|
116 |
);
|
117 |
$enums = array(
|
118 |
);
|
113 |
$this->assureId();
|
114 |
|
115 |
$param_types = array(
|
116 |
+
'since' => 'datetime',
|
117 |
+
'until' => 'datetime',
|
118 |
);
|
119 |
$enums = array(
|
120 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/InstagramUser.php
CHANGED
@@ -54,30 +54,6 @@ class InstagramUser extends AbstractCrudObject {
|
|
54 |
}
|
55 |
|
56 |
|
57 |
-
public function deleteAgencies(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
-
$this->assureId();
|
59 |
-
|
60 |
-
$param_types = array(
|
61 |
-
'business' => 'string',
|
62 |
-
);
|
63 |
-
$enums = array(
|
64 |
-
);
|
65 |
-
|
66 |
-
$request = new ApiRequest(
|
67 |
-
$this->api,
|
68 |
-
$this->data['id'],
|
69 |
-
RequestInterface::METHOD_DELETE,
|
70 |
-
'/agencies',
|
71 |
-
new AbstractCrudObject(),
|
72 |
-
'EDGE',
|
73 |
-
array(),
|
74 |
-
new TypeChecker($param_types, $enums)
|
75 |
-
);
|
76 |
-
$request->addParams($params);
|
77 |
-
$request->addFields($fields);
|
78 |
-
return $pending ? $request : $request->execute();
|
79 |
-
}
|
80 |
-
|
81 |
public function getAgencies(array $fields = array(), array $params = array(), $pending = false) {
|
82 |
$this->assureId();
|
83 |
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getAgencies(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php
CHANGED
@@ -34,6 +34,7 @@ use FacebookAds\Object\Values\CommentLiveFilterValues;
|
|
34 |
use FacebookAds\Object\Values\CommentOrderValues;
|
35 |
use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues;
|
36 |
use FacebookAds\Object\Values\LiveVideoLiveCommentModerationSettingValues;
|
|
|
37 |
use FacebookAds\Object\Values\LiveVideoProjectionValues;
|
38 |
use FacebookAds\Object\Values\LiveVideoSourceValues;
|
39 |
use FacebookAds\Object\Values\LiveVideoSpatialAudioFormatValues;
|
@@ -70,6 +71,7 @@ class LiveVideo extends AbstractCrudObject {
|
|
70 |
$ref_enums['BroadcastStatus'] = LiveVideoBroadcastStatusValues::getInstance()->getValues();
|
71 |
$ref_enums['Source'] = LiveVideoSourceValues::getInstance()->getValues();
|
72 |
$ref_enums['LiveCommentModerationSetting'] = LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues();
|
|
|
73 |
return $ref_enums;
|
74 |
}
|
75 |
|
@@ -351,6 +353,7 @@ class LiveVideo extends AbstractCrudObject {
|
|
351 |
$param_types = array(
|
352 |
'allow_bm_crossposting' => 'bool',
|
353 |
'content_tags' => 'list<string>',
|
|
|
354 |
'crossposting_actions' => 'list<map>',
|
355 |
'custom_labels' => 'list<string>',
|
356 |
'description' => 'string',
|
@@ -364,6 +367,7 @@ class LiveVideo extends AbstractCrudObject {
|
|
364 |
'master_ingest_stream_id' => 'string',
|
365 |
'og_icon_id' => 'string',
|
366 |
'og_phrase' => 'string',
|
|
|
367 |
'place' => 'Object',
|
368 |
'planned_start_time' => 'int',
|
369 |
'privacy' => 'string',
|
@@ -380,6 +384,7 @@ class LiveVideo extends AbstractCrudObject {
|
|
380 |
);
|
381 |
$enums = array(
|
382 |
'live_comment_moderation_setting_enum' => LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues(),
|
|
|
383 |
'status_enum' => LiveVideoStatusValues::getInstance()->getValues(),
|
384 |
'stream_type_enum' => LiveVideoStreamTypeValues::getInstance()->getValues(),
|
385 |
);
|
34 |
use FacebookAds\Object\Values\CommentOrderValues;
|
35 |
use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues;
|
36 |
use FacebookAds\Object\Values\LiveVideoLiveCommentModerationSettingValues;
|
37 |
+
use FacebookAds\Object\Values\LiveVideoPersistentStreamKeyStatusValues;
|
38 |
use FacebookAds\Object\Values\LiveVideoProjectionValues;
|
39 |
use FacebookAds\Object\Values\LiveVideoSourceValues;
|
40 |
use FacebookAds\Object\Values\LiveVideoSpatialAudioFormatValues;
|
71 |
$ref_enums['BroadcastStatus'] = LiveVideoBroadcastStatusValues::getInstance()->getValues();
|
72 |
$ref_enums['Source'] = LiveVideoSourceValues::getInstance()->getValues();
|
73 |
$ref_enums['LiveCommentModerationSetting'] = LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues();
|
74 |
+
$ref_enums['PersistentStreamKeyStatus'] = LiveVideoPersistentStreamKeyStatusValues::getInstance()->getValues();
|
75 |
return $ref_enums;
|
76 |
}
|
77 |
|
353 |
$param_types = array(
|
354 |
'allow_bm_crossposting' => 'bool',
|
355 |
'content_tags' => 'list<string>',
|
356 |
+
'cross_share_to_group_ids' => 'list<string>',
|
357 |
'crossposting_actions' => 'list<map>',
|
358 |
'custom_labels' => 'list<string>',
|
359 |
'description' => 'string',
|
367 |
'master_ingest_stream_id' => 'string',
|
368 |
'og_icon_id' => 'string',
|
369 |
'og_phrase' => 'string',
|
370 |
+
'persistent_stream_key_status' => 'persistent_stream_key_status_enum',
|
371 |
'place' => 'Object',
|
372 |
'planned_start_time' => 'int',
|
373 |
'privacy' => 'string',
|
384 |
);
|
385 |
$enums = array(
|
386 |
'live_comment_moderation_setting_enum' => LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues(),
|
387 |
+
'persistent_stream_key_status_enum' => LiveVideoPersistentStreamKeyStatusValues::getInstance()->getValues(),
|
388 |
'status_enum' => LiveVideoStatusValues::getInstance()->getValues(),
|
389 |
'stream_type_enum' => LiveVideoStreamTypeValues::getInstance()->getValues(),
|
390 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/OmegaCustomerTrx.php
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\OmegaCustomerTrxFields;
|
32 |
+
use FacebookAds\Object\Values\OmegaCustomerTrxTypeValues;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* This class is auto-generated.
|
36 |
+
*
|
37 |
+
* For any issues or feature requests related to this class, please let us know
|
38 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
39 |
+
* pull request for this class.
|
40 |
+
*
|
41 |
+
*/
|
42 |
+
|
43 |
+
class OmegaCustomerTrx extends AbstractCrudObject {
|
44 |
+
|
45 |
+
/**
|
46 |
+
* @return OmegaCustomerTrxFields
|
47 |
+
*/
|
48 |
+
public static function getFieldsEnum() {
|
49 |
+
return OmegaCustomerTrxFields::getInstance();
|
50 |
+
}
|
51 |
+
|
52 |
+
protected static function getReferencedEnums() {
|
53 |
+
$ref_enums = array();
|
54 |
+
$ref_enums['Type'] = OmegaCustomerTrxTypeValues::getInstance()->getValues();
|
55 |
+
return $ref_enums;
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
public function getCampaigns(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/campaigns',
|
72 |
+
new InvoiceCampaign(),
|
73 |
+
'EDGE',
|
74 |
+
InvoiceCampaign::getFieldsEnum()->getValues(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/',
|
95 |
+
new OmegaCustomerTrx(),
|
96 |
+
'NODE',
|
97 |
+
OmegaCustomerTrx::getFieldsEnum()->getValues(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/OracleTransaction.php
CHANGED
@@ -29,7 +29,6 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\OracleTransactionFields;
|
32 |
-
use FacebookAds\Object\Values\OracleTransactionTypeValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
@@ -51,7 +50,6 @@ class OracleTransaction extends AbstractCrudObject {
|
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
-
$ref_enums['Type'] = OracleTransactionTypeValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\OracleTransactionFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php
CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Object\Values\AdVideoSwapModeValues;
|
|
37 |
use FacebookAds\Object\Values\AdVideoTypeValues;
|
38 |
use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
|
39 |
use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
|
|
|
40 |
use FacebookAds\Object\Values\CommerceOrderFiltersValues;
|
41 |
use FacebookAds\Object\Values\CommerceOrderStateValues;
|
42 |
use FacebookAds\Object\Values\EventEventStateFilterValues;
|
@@ -69,6 +70,7 @@ use FacebookAds\Object\Values\PageNotificationTypeValues;
|
|
69 |
use FacebookAds\Object\Values\PagePermittedTasksValues;
|
70 |
use FacebookAds\Object\Values\PagePickupOptionsValues;
|
71 |
use FacebookAds\Object\Values\PagePlaceAttachmentSettingValues;
|
|
|
72 |
use FacebookAds\Object\Values\PagePostSurfacesBlacklistValues;
|
73 |
use FacebookAds\Object\Values\PagePostWithValues;
|
74 |
use FacebookAds\Object\Values\PagePostingToRedspaceValues;
|
@@ -84,6 +86,7 @@ use FacebookAds\Object\Values\PhotoTypeValues;
|
|
84 |
use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
|
85 |
use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
|
86 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
|
|
87 |
use FacebookAds\Object\Values\VideoCopyrightContentCategoryValues;
|
88 |
use FacebookAds\Object\Values\VideoCopyrightMonitoringTypeValues;
|
89 |
use FacebookAds\Object\Values\VideoCopyrightRuleSourceValues;
|
@@ -133,6 +136,7 @@ class Page extends AbstractCrudObject {
|
|
133 |
$ref_enums['MessagingType'] = PageMessagingTypeValues::getInstance()->getValues();
|
134 |
$ref_enums['NotificationType'] = PageNotificationTypeValues::getInstance()->getValues();
|
135 |
$ref_enums['SenderAction'] = PageSenderActionValues::getInstance()->getValues();
|
|
|
136 |
$ref_enums['Model'] = PageModelValues::getInstance()->getValues();
|
137 |
$ref_enums['SubscribedFields'] = PageSubscribedFieldsValues::getInstance()->getValues();
|
138 |
return $ref_enums;
|
@@ -164,6 +168,29 @@ class Page extends AbstractCrudObject {
|
|
164 |
return $pending ? $request : $request->execute();
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
public function getAdsPosts(array $fields = array(), array $params = array(), $pending = false) {
|
168 |
$this->assureId();
|
169 |
|
@@ -361,6 +388,29 @@ class Page extends AbstractCrudObject {
|
|
361 |
return $pending ? $request : $request->execute();
|
362 |
}
|
363 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
public function deleteBlocked(array $fields = array(), array $params = array(), $pending = false) {
|
365 |
$this->assureId();
|
366 |
|
@@ -440,6 +490,39 @@ class Page extends AbstractCrudObject {
|
|
440 |
return $pending ? $request : $request->execute();
|
441 |
}
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
public function createBusinessDatum(array $fields = array(), array $params = array(), $pending = false) {
|
444 |
$this->assureId();
|
445 |
|
@@ -580,6 +663,7 @@ class Page extends AbstractCrudObject {
|
|
580 |
'is_hidden' => 'bool',
|
581 |
'is_published' => 'bool',
|
582 |
'name' => 'string',
|
|
|
583 |
);
|
584 |
$enums = array(
|
585 |
);
|
@@ -753,10 +837,12 @@ class Page extends AbstractCrudObject {
|
|
753 |
|
754 |
$param_types = array(
|
755 |
'folder' => 'string',
|
|
|
756 |
'tags' => 'list<string>',
|
757 |
'user_id' => 'string',
|
758 |
);
|
759 |
$enums = array(
|
|
|
760 |
);
|
761 |
|
762 |
$request = new ApiRequest(
|
@@ -1244,6 +1330,31 @@ class Page extends AbstractCrudObject {
|
|
1244 |
return $pending ? $request : $request->execute();
|
1245 |
}
|
1246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1247 |
public function getImageCopyrights(array $fields = array(), array $params = array(), $pending = false) {
|
1248 |
$this->assureId();
|
1249 |
|
@@ -1878,6 +1989,7 @@ class Page extends AbstractCrudObject {
|
|
1878 |
'message' => 'Object',
|
1879 |
'messaging_type' => 'messaging_type_enum',
|
1880 |
'notification_type' => 'notification_type_enum',
|
|
|
1881 |
'persona_id' => 'string',
|
1882 |
'recipient' => 'Object',
|
1883 |
'sender_action' => 'sender_action_enum',
|
@@ -1932,6 +2044,7 @@ class Page extends AbstractCrudObject {
|
|
1932 |
|
1933 |
$param_types = array(
|
1934 |
'fields' => 'list<fields_enum>',
|
|
|
1935 |
);
|
1936 |
$enums = array(
|
1937 |
'fields_enum' => array(
|
@@ -1947,6 +2060,7 @@ class Page extends AbstractCrudObject {
|
|
1947 |
'TARGET_AUDIENCE',
|
1948 |
'WHITELISTED_DOMAINS',
|
1949 |
),
|
|
|
1950 |
);
|
1951 |
|
1952 |
$request = new ApiRequest(
|
@@ -1968,8 +2082,10 @@ class Page extends AbstractCrudObject {
|
|
1968 |
$this->assureId();
|
1969 |
|
1970 |
$param_types = array(
|
|
|
1971 |
);
|
1972 |
$enums = array(
|
|
|
1973 |
);
|
1974 |
|
1975 |
$request = new ApiRequest(
|
@@ -1997,10 +2113,12 @@ class Page extends AbstractCrudObject {
|
|
1997 |
'ice_breakers' => 'list<map>',
|
1998 |
'payment_settings' => 'Object',
|
1999 |
'persistent_menu' => 'list<Object>',
|
|
|
2000 |
'target_audience' => 'Object',
|
2001 |
'whitelisted_domains' => 'list<string>',
|
2002 |
);
|
2003 |
$enums = array(
|
|
|
2004 |
);
|
2005 |
|
2006 |
$request = new ApiRequest(
|
@@ -2435,6 +2553,7 @@ class Page extends AbstractCrudObject {
|
|
2435 |
'burn_media_effect' => 'bool',
|
2436 |
'caption' => 'string',
|
2437 |
'composer_session_id' => 'string',
|
|
|
2438 |
'has_umg' => 'bool',
|
2439 |
'height' => 'unsigned int',
|
2440 |
'ios_bundle_id' => 'string',
|
@@ -2531,10 +2650,13 @@ class Page extends AbstractCrudObject {
|
|
2531 |
$this->assureId();
|
2532 |
|
2533 |
$param_types = array(
|
2534 |
-
'
|
2535 |
-
'
|
|
|
|
|
2536 |
);
|
2537 |
$enums = array(
|
|
|
2538 |
);
|
2539 |
|
2540 |
$request = new ApiRequest(
|
@@ -2699,8 +2821,10 @@ class Page extends AbstractCrudObject {
|
|
2699 |
$this->assureId();
|
2700 |
|
2701 |
$param_types = array(
|
|
|
2702 |
);
|
2703 |
$enums = array(
|
|
|
2704 |
);
|
2705 |
|
2706 |
$request = new ApiRequest(
|
@@ -2859,6 +2983,30 @@ class Page extends AbstractCrudObject {
|
|
2859 |
return $pending ? $request : $request->execute();
|
2860 |
}
|
2861 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2862 |
public function getTabs(array $fields = array(), array $params = array(), $pending = false) {
|
2863 |
$this->assureId();
|
2864 |
|
@@ -3010,29 +3158,6 @@ class Page extends AbstractCrudObject {
|
|
3010 |
return $pending ? $request : $request->execute();
|
3011 |
}
|
3012 |
|
3013 |
-
public function getTours(array $fields = array(), array $params = array(), $pending = false) {
|
3014 |
-
$this->assureId();
|
3015 |
-
|
3016 |
-
$param_types = array(
|
3017 |
-
);
|
3018 |
-
$enums = array(
|
3019 |
-
);
|
3020 |
-
|
3021 |
-
$request = new ApiRequest(
|
3022 |
-
$this->api,
|
3023 |
-
$this->data['id'],
|
3024 |
-
RequestInterface::METHOD_GET,
|
3025 |
-
'/tours',
|
3026 |
-
new AbstractCrudObject(),
|
3027 |
-
'EDGE',
|
3028 |
-
array(),
|
3029 |
-
new TypeChecker($param_types, $enums)
|
3030 |
-
);
|
3031 |
-
$request->addParams($params);
|
3032 |
-
$request->addFields($fields);
|
3033 |
-
return $pending ? $request : $request->execute();
|
3034 |
-
}
|
3035 |
-
|
3036 |
public function createUnlinkAccount(array $fields = array(), array $params = array(), $pending = false) {
|
3037 |
$this->assureId();
|
3038 |
|
@@ -3343,6 +3468,40 @@ class Page extends AbstractCrudObject {
|
|
3343 |
return $pending ? $request : $request->execute();
|
3344 |
}
|
3345 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3346 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
3347 |
$this->assureId();
|
3348 |
|
37 |
use FacebookAds\Object\Values\AdVideoTypeValues;
|
38 |
use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
|
39 |
use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
|
40 |
+
use FacebookAds\Object\Values\ApplicationPlatformValues;
|
41 |
use FacebookAds\Object\Values\CommerceOrderFiltersValues;
|
42 |
use FacebookAds\Object\Values\CommerceOrderStateValues;
|
43 |
use FacebookAds\Object\Values\EventEventStateFilterValues;
|
70 |
use FacebookAds\Object\Values\PagePermittedTasksValues;
|
71 |
use FacebookAds\Object\Values\PagePickupOptionsValues;
|
72 |
use FacebookAds\Object\Values\PagePlaceAttachmentSettingValues;
|
73 |
+
use FacebookAds\Object\Values\PagePlatformValues;
|
74 |
use FacebookAds\Object\Values\PagePostSurfacesBlacklistValues;
|
75 |
use FacebookAds\Object\Values\PagePostWithValues;
|
76 |
use FacebookAds\Object\Values\PagePostingToRedspaceValues;
|
86 |
use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
|
87 |
use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
|
88 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
89 |
+
use FacebookAds\Object\Values\UnifiedThreadPlatformValues;
|
90 |
use FacebookAds\Object\Values\VideoCopyrightContentCategoryValues;
|
91 |
use FacebookAds\Object\Values\VideoCopyrightMonitoringTypeValues;
|
92 |
use FacebookAds\Object\Values\VideoCopyrightRuleSourceValues;
|
136 |
$ref_enums['MessagingType'] = PageMessagingTypeValues::getInstance()->getValues();
|
137 |
$ref_enums['NotificationType'] = PageNotificationTypeValues::getInstance()->getValues();
|
138 |
$ref_enums['SenderAction'] = PageSenderActionValues::getInstance()->getValues();
|
139 |
+
$ref_enums['Platform'] = PagePlatformValues::getInstance()->getValues();
|
140 |
$ref_enums['Model'] = PageModelValues::getInstance()->getValues();
|
141 |
$ref_enums['SubscribedFields'] = PageSubscribedFieldsValues::getInstance()->getValues();
|
142 |
return $ref_enums;
|
168 |
return $pending ? $request : $request->execute();
|
169 |
}
|
170 |
|
171 |
+
public function getAdminNotes(array $fields = array(), array $params = array(), $pending = false) {
|
172 |
+
$this->assureId();
|
173 |
+
|
174 |
+
$param_types = array(
|
175 |
+
);
|
176 |
+
$enums = array(
|
177 |
+
);
|
178 |
+
|
179 |
+
$request = new ApiRequest(
|
180 |
+
$this->api,
|
181 |
+
$this->data['id'],
|
182 |
+
RequestInterface::METHOD_GET,
|
183 |
+
'/admin_notes',
|
184 |
+
new PageAdminNote(),
|
185 |
+
'EDGE',
|
186 |
+
PageAdminNote::getFieldsEnum()->getValues(),
|
187 |
+
new TypeChecker($param_types, $enums)
|
188 |
+
);
|
189 |
+
$request->addParams($params);
|
190 |
+
$request->addFields($fields);
|
191 |
+
return $pending ? $request : $request->execute();
|
192 |
+
}
|
193 |
+
|
194 |
public function getAdsPosts(array $fields = array(), array $params = array(), $pending = false) {
|
195 |
$this->assureId();
|
196 |
|
388 |
return $pending ? $request : $request->execute();
|
389 |
}
|
390 |
|
391 |
+
public function getAudioIsrcs(array $fields = array(), array $params = array(), $pending = false) {
|
392 |
+
$this->assureId();
|
393 |
+
|
394 |
+
$param_types = array(
|
395 |
+
);
|
396 |
+
$enums = array(
|
397 |
+
);
|
398 |
+
|
399 |
+
$request = new ApiRequest(
|
400 |
+
$this->api,
|
401 |
+
$this->data['id'],
|
402 |
+
RequestInterface::METHOD_GET,
|
403 |
+
'/audio_isrcs',
|
404 |
+
new AbstractCrudObject(),
|
405 |
+
'EDGE',
|
406 |
+
array(),
|
407 |
+
new TypeChecker($param_types, $enums)
|
408 |
+
);
|
409 |
+
$request->addParams($params);
|
410 |
+
$request->addFields($fields);
|
411 |
+
return $pending ? $request : $request->execute();
|
412 |
+
}
|
413 |
+
|
414 |
public function deleteBlocked(array $fields = array(), array $params = array(), $pending = false) {
|
415 |
$this->assureId();
|
416 |
|
490 |
return $pending ? $request : $request->execute();
|
491 |
}
|
492 |
|
493 |
+
public function deleteBusinessData(array $fields = array(), array $params = array(), $pending = false) {
|
494 |
+
$this->assureId();
|
495 |
+
|
496 |
+
$param_types = array(
|
497 |
+
'email' => 'string',
|
498 |
+
'external_id' => 'string',
|
499 |
+
'object_name' => 'object_name_enum',
|
500 |
+
'order_id' => 'string',
|
501 |
+
'order_item_id' => 'string',
|
502 |
+
);
|
503 |
+
$enums = array(
|
504 |
+
'object_name_enum' => array(
|
505 |
+
'contact',
|
506 |
+
'order',
|
507 |
+
'order_item',
|
508 |
+
),
|
509 |
+
);
|
510 |
+
|
511 |
+
$request = new ApiRequest(
|
512 |
+
$this->api,
|
513 |
+
$this->data['id'],
|
514 |
+
RequestInterface::METHOD_DELETE,
|
515 |
+
'/business_data',
|
516 |
+
new AbstractCrudObject(),
|
517 |
+
'EDGE',
|
518 |
+
array(),
|
519 |
+
new TypeChecker($param_types, $enums)
|
520 |
+
);
|
521 |
+
$request->addParams($params);
|
522 |
+
$request->addFields($fields);
|
523 |
+
return $pending ? $request : $request->execute();
|
524 |
+
}
|
525 |
+
|
526 |
public function createBusinessDatum(array $fields = array(), array $params = array(), $pending = false) {
|
527 |
$this->assureId();
|
528 |
|
663 |
'is_hidden' => 'bool',
|
664 |
'is_published' => 'bool',
|
665 |
'name' => 'string',
|
666 |
+
'source_template_id' => 'string',
|
667 |
);
|
668 |
$enums = array(
|
669 |
);
|
837 |
|
838 |
$param_types = array(
|
839 |
'folder' => 'string',
|
840 |
+
'platform' => 'platform_enum',
|
841 |
'tags' => 'list<string>',
|
842 |
'user_id' => 'string',
|
843 |
);
|
844 |
$enums = array(
|
845 |
+
'platform_enum' => UnifiedThreadPlatformValues::getInstance()->getValues(),
|
846 |
);
|
847 |
|
848 |
$request = new ApiRequest(
|
1330 |
return $pending ? $request : $request->execute();
|
1331 |
}
|
1332 |
|
1333 |
+
public function getGroups(array $fields = array(), array $params = array(), $pending = false) {
|
1334 |
+
$this->assureId();
|
1335 |
+
|
1336 |
+
$param_types = array(
|
1337 |
+
'admin_only' => 'bool',
|
1338 |
+
'parent' => 'string',
|
1339 |
+
);
|
1340 |
+
$enums = array(
|
1341 |
+
);
|
1342 |
+
|
1343 |
+
$request = new ApiRequest(
|
1344 |
+
$this->api,
|
1345 |
+
$this->data['id'],
|
1346 |
+
RequestInterface::METHOD_GET,
|
1347 |
+
'/groups',
|
1348 |
+
new Group(),
|
1349 |
+
'EDGE',
|
1350 |
+
Group::getFieldsEnum()->getValues(),
|
1351 |
+
new TypeChecker($param_types, $enums)
|
1352 |
+
);
|
1353 |
+
$request->addParams($params);
|
1354 |
+
$request->addFields($fields);
|
1355 |
+
return $pending ? $request : $request->execute();
|
1356 |
+
}
|
1357 |
+
|
1358 |
public function getImageCopyrights(array $fields = array(), array $params = array(), $pending = false) {
|
1359 |
$this->assureId();
|
1360 |
|
1989 |
'message' => 'Object',
|
1990 |
'messaging_type' => 'messaging_type_enum',
|
1991 |
'notification_type' => 'notification_type_enum',
|
1992 |
+
'payload' => 'string',
|
1993 |
'persona_id' => 'string',
|
1994 |
'recipient' => 'Object',
|
1995 |
'sender_action' => 'sender_action_enum',
|
2044 |
|
2045 |
$param_types = array(
|
2046 |
'fields' => 'list<fields_enum>',
|
2047 |
+
'platform' => 'platform_enum',
|
2048 |
);
|
2049 |
$enums = array(
|
2050 |
'fields_enum' => array(
|
2060 |
'TARGET_AUDIENCE',
|
2061 |
'WHITELISTED_DOMAINS',
|
2062 |
),
|
2063 |
+
'platform_enum' => PagePlatformValues::getInstance()->getValues(),
|
2064 |
);
|
2065 |
|
2066 |
$request = new ApiRequest(
|
2082 |
$this->assureId();
|
2083 |
|
2084 |
$param_types = array(
|
2085 |
+
'platform' => 'platform_enum',
|
2086 |
);
|
2087 |
$enums = array(
|
2088 |
+
'platform_enum' => PagePlatformValues::getInstance()->getValues(),
|
2089 |
);
|
2090 |
|
2091 |
$request = new ApiRequest(
|
2113 |
'ice_breakers' => 'list<map>',
|
2114 |
'payment_settings' => 'Object',
|
2115 |
'persistent_menu' => 'list<Object>',
|
2116 |
+
'platform' => 'platform_enum',
|
2117 |
'target_audience' => 'Object',
|
2118 |
'whitelisted_domains' => 'list<string>',
|
2119 |
);
|
2120 |
$enums = array(
|
2121 |
+
'platform_enum' => PagePlatformValues::getInstance()->getValues(),
|
2122 |
);
|
2123 |
|
2124 |
$request = new ApiRequest(
|
2553 |
'burn_media_effect' => 'bool',
|
2554 |
'caption' => 'string',
|
2555 |
'composer_session_id' => 'string',
|
2556 |
+
'frame_entrypoint' => 'string',
|
2557 |
'has_umg' => 'bool',
|
2558 |
'height' => 'unsigned int',
|
2559 |
'ios_bundle_id' => 'string',
|
2650 |
$this->assureId();
|
2651 |
|
2652 |
$param_types = array(
|
2653 |
+
'include_hidden' => 'bool',
|
2654 |
+
'limit' => 'unsigned int',
|
2655 |
+
'show_expired' => 'bool',
|
2656 |
+
'with' => 'with_enum',
|
2657 |
);
|
2658 |
$enums = array(
|
2659 |
+
'with_enum' => PagePostWithValues::getInstance()->getValues(),
|
2660 |
);
|
2661 |
|
2662 |
$request = new ApiRequest(
|
2821 |
$this->assureId();
|
2822 |
|
2823 |
$param_types = array(
|
2824 |
+
'platform' => 'platform_enum',
|
2825 |
);
|
2826 |
$enums = array(
|
2827 |
+
'platform_enum' => ApplicationPlatformValues::getInstance()->getValues(),
|
2828 |
);
|
2829 |
|
2830 |
$request = new ApiRequest(
|
2983 |
return $pending ? $request : $request->execute();
|
2984 |
}
|
2985 |
|
2986 |
+
public function deleteTabs(array $fields = array(), array $params = array(), $pending = false) {
|
2987 |
+
$this->assureId();
|
2988 |
+
|
2989 |
+
$param_types = array(
|
2990 |
+
'tab' => 'string',
|
2991 |
+
);
|
2992 |
+
$enums = array(
|
2993 |
+
);
|
2994 |
+
|
2995 |
+
$request = new ApiRequest(
|
2996 |
+
$this->api,
|
2997 |
+
$this->data['id'],
|
2998 |
+
RequestInterface::METHOD_DELETE,
|
2999 |
+
'/tabs',
|
3000 |
+
new AbstractCrudObject(),
|
3001 |
+
'EDGE',
|
3002 |
+
array(),
|
3003 |
+
new TypeChecker($param_types, $enums)
|
3004 |
+
);
|
3005 |
+
$request->addParams($params);
|
3006 |
+
$request->addFields($fields);
|
3007 |
+
return $pending ? $request : $request->execute();
|
3008 |
+
}
|
3009 |
+
|
3010 |
public function getTabs(array $fields = array(), array $params = array(), $pending = false) {
|
3011 |
$this->assureId();
|
3012 |
|
3158 |
return $pending ? $request : $request->execute();
|
3159 |
}
|
3160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3161 |
public function createUnlinkAccount(array $fields = array(), array $params = array(), $pending = false) {
|
3162 |
$this->assureId();
|
3163 |
|
3468 |
return $pending ? $request : $request->execute();
|
3469 |
}
|
3470 |
|
3471 |
+
public function createWorkPageMessage(array $fields = array(), array $params = array(), $pending = false) {
|
3472 |
+
$this->assureId();
|
3473 |
+
|
3474 |
+
$param_types = array(
|
3475 |
+
'message' => 'Object',
|
3476 |
+
'messaging_type' => 'messaging_type_enum',
|
3477 |
+
'notification_type' => 'notification_type_enum',
|
3478 |
+
'payload' => 'string',
|
3479 |
+
'persona_id' => 'string',
|
3480 |
+
'recipient' => 'Object',
|
3481 |
+
'sender_action' => 'sender_action_enum',
|
3482 |
+
'tag' => 'Object',
|
3483 |
+
);
|
3484 |
+
$enums = array(
|
3485 |
+
'messaging_type_enum' => PageMessagingTypeValues::getInstance()->getValues(),
|
3486 |
+
'notification_type_enum' => PageNotificationTypeValues::getInstance()->getValues(),
|
3487 |
+
'sender_action_enum' => PageSenderActionValues::getInstance()->getValues(),
|
3488 |
+
);
|
3489 |
+
|
3490 |
+
$request = new ApiRequest(
|
3491 |
+
$this->api,
|
3492 |
+
$this->data['id'],
|
3493 |
+
RequestInterface::METHOD_POST,
|
3494 |
+
'/workpagemessages',
|
3495 |
+
new Page(),
|
3496 |
+
'EDGE',
|
3497 |
+
Page::getFieldsEnum()->getValues(),
|
3498 |
+
new TypeChecker($param_types, $enums)
|
3499 |
+
);
|
3500 |
+
$request->addParams($params);
|
3501 |
+
$request->addFields($fields);
|
3502 |
+
return $pending ? $request : $request->execute();
|
3503 |
+
}
|
3504 |
+
|
3505 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
3506 |
$this->assureId();
|
3507 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/PagePost.php
CHANGED
@@ -433,6 +433,7 @@ class PagePost extends AbstractCrudObject {
|
|
433 |
'backdated_time_granularity' => 'backdated_time_granularity_enum',
|
434 |
'composer_session_id' => 'string',
|
435 |
'direct_share_status' => 'unsigned int',
|
|
|
436 |
'feed_story_visibility' => 'feed_story_visibility_enum',
|
437 |
'is_explicit_location' => 'bool',
|
438 |
'is_hidden' => 'bool',
|
433 |
'backdated_time_granularity' => 'backdated_time_granularity_enum',
|
434 |
'composer_session_id' => 'string',
|
435 |
'direct_share_status' => 'unsigned int',
|
436 |
+
'explicitly_added_mentionee_ids' => 'list<unsigned int>',
|
437 |
'feed_story_visibility' => 'feed_story_visibility_enum',
|
438 |
'is_explicit_location' => 'bool',
|
439 |
'is_hidden' => 'bool',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php
CHANGED
@@ -422,6 +422,7 @@ class Post extends AbstractCrudObject {
|
|
422 |
'backdated_time_granularity' => 'backdated_time_granularity_enum',
|
423 |
'composer_session_id' => 'string',
|
424 |
'direct_share_status' => 'unsigned int',
|
|
|
425 |
'feed_story_visibility' => 'feed_story_visibility_enum',
|
426 |
'is_explicit_location' => 'bool',
|
427 |
'is_hidden' => 'bool',
|
422 |
'backdated_time_granularity' => 'backdated_time_granularity_enum',
|
423 |
'composer_session_id' => 'string',
|
424 |
'direct_share_status' => 'unsigned int',
|
425 |
+
'explicitly_added_mentionee_ids' => 'list<unsigned int>',
|
426 |
'feed_story_visibility' => 'feed_story_visibility_enum',
|
427 |
'is_explicit_location' => 'bool',
|
428 |
'is_hidden' => 'bool',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/PrivateLiftStudyInstance.php
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\PrivateLiftStudyInstanceFields;
|
32 |
+
use FacebookAds\Object\Values\PrivateLiftStudyInstanceOperationValues;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* This class is auto-generated.
|
36 |
+
*
|
37 |
+
* For any issues or feature requests related to this class, please let us know
|
38 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
39 |
+
* pull request for this class.
|
40 |
+
*
|
41 |
+
*/
|
42 |
+
|
43 |
+
class PrivateLiftStudyInstance extends AbstractCrudObject {
|
44 |
+
|
45 |
+
/**
|
46 |
+
* @return PrivateLiftStudyInstanceFields
|
47 |
+
*/
|
48 |
+
public static function getFieldsEnum() {
|
49 |
+
return PrivateLiftStudyInstanceFields::getInstance();
|
50 |
+
}
|
51 |
+
|
52 |
+
protected static function getReferencedEnums() {
|
53 |
+
$ref_enums = array();
|
54 |
+
$ref_enums['Operation'] = PrivateLiftStudyInstanceOperationValues::getInstance()->getValues();
|
55 |
+
return $ref_enums;
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/',
|
72 |
+
new PrivateLiftStudyInstance(),
|
73 |
+
'NODE',
|
74 |
+
PrivateLiftStudyInstance::getFieldsEnum()->getValues(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
'operation' => 'operation_enum',
|
87 |
+
);
|
88 |
+
$enums = array(
|
89 |
+
'operation_enum' => PrivateLiftStudyInstanceOperationValues::getInstance()->getValues(),
|
90 |
+
);
|
91 |
+
|
92 |
+
$request = new ApiRequest(
|
93 |
+
$this->api,
|
94 |
+
$this->data['id'],
|
95 |
+
RequestInterface::METHOD_POST,
|
96 |
+
'/',
|
97 |
+
new PrivateLiftStudyInstance(),
|
98 |
+
'NODE',
|
99 |
+
PrivateLiftStudyInstance::getFieldsEnum()->getValues(),
|
100 |
+
new TypeChecker($param_types, $enums)
|
101 |
+
);
|
102 |
+
$request->addParams($params);
|
103 |
+
$request->addFields($fields);
|
104 |
+
return $pending ? $request : $request->execute();
|
105 |
+
}
|
106 |
+
|
107 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php
CHANGED
@@ -31,6 +31,10 @@ use FacebookAds\TypeChecker;
|
|
31 |
use FacebookAds\Object\Fields\ProductCatalogFields;
|
32 |
use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
|
33 |
use FacebookAds\Object\Values\ProductCatalogCategoryCategorizationCriteriaValues;
|
|
|
|
|
|
|
|
|
34 |
use FacebookAds\Object\Values\ProductCatalogItemSubTypeValues;
|
35 |
use FacebookAds\Object\Values\ProductCatalogPermittedRolesValues;
|
36 |
use FacebookAds\Object\Values\ProductCatalogPermittedTasksValues;
|
@@ -48,6 +52,7 @@ use FacebookAds\Object\Values\ProductItemAvailabilityValues;
|
|
48 |
use FacebookAds\Object\Values\ProductItemCommerceTaxCategoryValues;
|
49 |
use FacebookAds\Object\Values\ProductItemConditionValues;
|
50 |
use FacebookAds\Object\Values\ProductItemGenderValues;
|
|
|
51 |
use FacebookAds\Object\Values\ProductItemVisibilityValues;
|
52 |
use FacebookAds\Object\Values\VehicleAvailabilityValues;
|
53 |
use FacebookAds\Object\Values\VehicleBodyStyleValues;
|
@@ -245,6 +250,29 @@ class ProductCatalog extends AbstractCrudObject {
|
|
245 |
return $pending ? $request : $request->execute();
|
246 |
}
|
247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
public function getAutomotiveModels(array $fields = array(), array $params = array(), $pending = false) {
|
249 |
$this->assureId();
|
250 |
|
@@ -305,6 +333,29 @@ class ProductCatalog extends AbstractCrudObject {
|
|
305 |
return $pending ? $request : $request->execute();
|
306 |
}
|
307 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
308 |
public function createBatch(array $fields = array(), array $params = array(), $pending = false) {
|
309 |
$this->assureId();
|
310 |
|
@@ -454,6 +505,37 @@ class ProductCatalog extends AbstractCrudObject {
|
|
454 |
return $pending ? $request : $request->execute();
|
455 |
}
|
456 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
public function getEventStats(array $fields = array(), array $params = array(), $pending = false) {
|
458 |
$this->assureId();
|
459 |
|
@@ -483,7 +565,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
483 |
$this->assureId();
|
484 |
|
485 |
$param_types = array(
|
486 |
-
'external_event_sources' => '
|
487 |
);
|
488 |
$enums = array(
|
489 |
);
|
@@ -530,7 +612,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
530 |
$this->assureId();
|
531 |
|
532 |
$param_types = array(
|
533 |
-
'external_event_sources' => '
|
534 |
);
|
535 |
$enums = array(
|
536 |
);
|
@@ -781,6 +863,57 @@ class ProductCatalog extends AbstractCrudObject {
|
|
781 |
return $pending ? $request : $request->execute();
|
782 |
}
|
783 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
784 |
public function getPricingVariablesBatch(array $fields = array(), array $params = array(), $pending = false) {
|
785 |
$this->assureId();
|
786 |
|
@@ -1100,6 +1233,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1100 |
'iphone_url' => 'string',
|
1101 |
'launch_date' => 'string',
|
1102 |
'manufacturer_part_number' => 'string',
|
|
|
1103 |
'material' => 'string',
|
1104 |
'mobile_link' => 'string',
|
1105 |
'name' => 'string',
|
@@ -1110,6 +1244,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1110 |
'pattern' => 'string',
|
1111 |
'price' => 'unsigned int',
|
1112 |
'product_type' => 'string',
|
|
|
1113 |
'retailer_id' => 'string',
|
1114 |
'retailer_product_group_id' => 'string',
|
1115 |
'return_policy_days' => 'unsigned int',
|
@@ -1130,6 +1265,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1130 |
'commerce_tax_category_enum' => ProductItemCommerceTaxCategoryValues::getInstance()->getValues(),
|
1131 |
'condition_enum' => ProductItemConditionValues::getInstance()->getValues(),
|
1132 |
'gender_enum' => ProductItemGenderValues::getInstance()->getValues(),
|
|
|
1133 |
'visibility_enum' => ProductItemVisibilityValues::getInstance()->getValues(),
|
1134 |
);
|
1135 |
|
@@ -1263,6 +1399,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1263 |
$this->assureId();
|
1264 |
|
1265 |
$param_types = array(
|
|
|
1266 |
);
|
1267 |
$enums = array(
|
1268 |
);
|
@@ -1290,9 +1427,12 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1290 |
);
|
1291 |
$enums = array(
|
1292 |
'segment_use_cases_enum' => array(
|
|
|
|
|
1293 |
'COLLAB_ADS',
|
1294 |
'COLLAB_ADS_FOR_MARKETPLACE_PARTNER',
|
1295 |
'COLLAB_ADS_SEGMENT_WITHOUT_SEGMENT_SYNCING',
|
|
|
1296 |
'IG_SHOPPING',
|
1297 |
'IG_SHOPPING_SUGGESTED_PRODUCTS',
|
1298 |
'MARKETPLACE_SHOPS',
|
@@ -1325,6 +1465,7 @@ class ProductCatalog extends AbstractCrudObject {
|
|
1325 |
'fallback_image_url' => 'string',
|
1326 |
'flight_catalog_settings' => 'map',
|
1327 |
'name' => 'string',
|
|
|
1328 |
'store_catalog_settings' => 'map',
|
1329 |
);
|
1330 |
$enums = array(
|
31 |
use FacebookAds\Object\Fields\ProductCatalogFields;
|
32 |
use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
|
33 |
use FacebookAds\Object\Values\ProductCatalogCategoryCategorizationCriteriaValues;
|
34 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupAffectedChannelsValues;
|
35 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupAffectedFeaturesValues;
|
36 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupSeveritiesValues;
|
37 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupTypesValues;
|
38 |
use FacebookAds\Object\Values\ProductCatalogItemSubTypeValues;
|
39 |
use FacebookAds\Object\Values\ProductCatalogPermittedRolesValues;
|
40 |
use FacebookAds\Object\Values\ProductCatalogPermittedTasksValues;
|
52 |
use FacebookAds\Object\Values\ProductItemCommerceTaxCategoryValues;
|
53 |
use FacebookAds\Object\Values\ProductItemConditionValues;
|
54 |
use FacebookAds\Object\Values\ProductItemGenderValues;
|
55 |
+
use FacebookAds\Object\Values\ProductItemMarkedForProductLaunchValues;
|
56 |
use FacebookAds\Object\Values\ProductItemVisibilityValues;
|
57 |
use FacebookAds\Object\Values\VehicleAvailabilityValues;
|
58 |
use FacebookAds\Object\Values\VehicleBodyStyleValues;
|
250 |
return $pending ? $request : $request->execute();
|
251 |
}
|
252 |
|
253 |
+
public function getAutoMarkets(array $fields = array(), array $params = array(), $pending = false) {
|
254 |
+
$this->assureId();
|
255 |
+
|
256 |
+
$param_types = array(
|
257 |
+
);
|
258 |
+
$enums = array(
|
259 |
+
);
|
260 |
+
|
261 |
+
$request = new ApiRequest(
|
262 |
+
$this->api,
|
263 |
+
$this->data['id'],
|
264 |
+
RequestInterface::METHOD_GET,
|
265 |
+
'/auto_markets',
|
266 |
+
new AbstractCrudObject(),
|
267 |
+
'EDGE',
|
268 |
+
array(),
|
269 |
+
new TypeChecker($param_types, $enums)
|
270 |
+
);
|
271 |
+
$request->addParams($params);
|
272 |
+
$request->addFields($fields);
|
273 |
+
return $pending ? $request : $request->execute();
|
274 |
+
}
|
275 |
+
|
276 |
public function getAutomotiveModels(array $fields = array(), array $params = array(), $pending = false) {
|
277 |
$this->assureId();
|
278 |
|
333 |
return $pending ? $request : $request->execute();
|
334 |
}
|
335 |
|
336 |
+
public function getAutos(array $fields = array(), array $params = array(), $pending = false) {
|
337 |
+
$this->assureId();
|
338 |
+
|
339 |
+
$param_types = array(
|
340 |
+
);
|
341 |
+
$enums = array(
|
342 |
+
);
|
343 |
+
|
344 |
+
$request = new ApiRequest(
|
345 |
+
$this->api,
|
346 |
+
$this->data['id'],
|
347 |
+
RequestInterface::METHOD_GET,
|
348 |
+
'/autos',
|
349 |
+
new AbstractCrudObject(),
|
350 |
+
'EDGE',
|
351 |
+
array(),
|
352 |
+
new TypeChecker($param_types, $enums)
|
353 |
+
);
|
354 |
+
$request->addParams($params);
|
355 |
+
$request->addFields($fields);
|
356 |
+
return $pending ? $request : $request->execute();
|
357 |
+
}
|
358 |
+
|
359 |
public function createBatch(array $fields = array(), array $params = array(), $pending = false) {
|
360 |
$this->assureId();
|
361 |
|
505 |
return $pending ? $request : $request->execute();
|
506 |
}
|
507 |
|
508 |
+
public function getDiagnostics(array $fields = array(), array $params = array(), $pending = false) {
|
509 |
+
$this->assureId();
|
510 |
+
|
511 |
+
$param_types = array(
|
512 |
+
'affected_channels' => 'list<affected_channels_enum>',
|
513 |
+
'affected_features' => 'list<affected_features_enum>',
|
514 |
+
'severities' => 'list<severities_enum>',
|
515 |
+
'types' => 'list<types_enum>',
|
516 |
+
);
|
517 |
+
$enums = array(
|
518 |
+
'affected_channels_enum' => ProductCatalogDiagnosticGroupAffectedChannelsValues::getInstance()->getValues(),
|
519 |
+
'affected_features_enum' => ProductCatalogDiagnosticGroupAffectedFeaturesValues::getInstance()->getValues(),
|
520 |
+
'severities_enum' => ProductCatalogDiagnosticGroupSeveritiesValues::getInstance()->getValues(),
|
521 |
+
'types_enum' => ProductCatalogDiagnosticGroupTypesValues::getInstance()->getValues(),
|
522 |
+
);
|
523 |
+
|
524 |
+
$request = new ApiRequest(
|
525 |
+
$this->api,
|
526 |
+
$this->data['id'],
|
527 |
+
RequestInterface::METHOD_GET,
|
528 |
+
'/diagnostics',
|
529 |
+
new ProductCatalogDiagnosticGroup(),
|
530 |
+
'EDGE',
|
531 |
+
ProductCatalogDiagnosticGroup::getFieldsEnum()->getValues(),
|
532 |
+
new TypeChecker($param_types, $enums)
|
533 |
+
);
|
534 |
+
$request->addParams($params);
|
535 |
+
$request->addFields($fields);
|
536 |
+
return $pending ? $request : $request->execute();
|
537 |
+
}
|
538 |
+
|
539 |
public function getEventStats(array $fields = array(), array $params = array(), $pending = false) {
|
540 |
$this->assureId();
|
541 |
|
565 |
$this->assureId();
|
566 |
|
567 |
$param_types = array(
|
568 |
+
'external_event_sources' => 'Object',
|
569 |
);
|
570 |
$enums = array(
|
571 |
);
|
612 |
$this->assureId();
|
613 |
|
614 |
$param_types = array(
|
615 |
+
'external_event_sources' => 'Object',
|
616 |
);
|
617 |
$enums = array(
|
618 |
);
|
863 |
return $pending ? $request : $request->execute();
|
864 |
}
|
865 |
|
866 |
+
public function createLocalizedItemsBatch(array $fields = array(), array $params = array(), $pending = false) {
|
867 |
+
$this->assureId();
|
868 |
+
|
869 |
+
$param_types = array(
|
870 |
+
'allow_upsert' => 'bool',
|
871 |
+
'item_type' => 'string',
|
872 |
+
'requests' => 'map',
|
873 |
+
);
|
874 |
+
$enums = array(
|
875 |
+
);
|
876 |
+
|
877 |
+
$request = new ApiRequest(
|
878 |
+
$this->api,
|
879 |
+
$this->data['id'],
|
880 |
+
RequestInterface::METHOD_POST,
|
881 |
+
'/localized_items_batch',
|
882 |
+
new ProductCatalog(),
|
883 |
+
'EDGE',
|
884 |
+
ProductCatalog::getFieldsEnum()->getValues(),
|
885 |
+
new TypeChecker($param_types, $enums)
|
886 |
+
);
|
887 |
+
$request->addParams($params);
|
888 |
+
$request->addFields($fields);
|
889 |
+
return $pending ? $request : $request->execute();
|
890 |
+
}
|
891 |
+
|
892 |
+
public function getMediaTitles(array $fields = array(), array $params = array(), $pending = false) {
|
893 |
+
$this->assureId();
|
894 |
+
|
895 |
+
$param_types = array(
|
896 |
+
'bulk_pagination' => 'bool',
|
897 |
+
'filter' => 'Object',
|
898 |
+
);
|
899 |
+
$enums = array(
|
900 |
+
);
|
901 |
+
|
902 |
+
$request = new ApiRequest(
|
903 |
+
$this->api,
|
904 |
+
$this->data['id'],
|
905 |
+
RequestInterface::METHOD_GET,
|
906 |
+
'/media_titles',
|
907 |
+
new AbstractCrudObject(),
|
908 |
+
'EDGE',
|
909 |
+
array(),
|
910 |
+
new TypeChecker($param_types, $enums)
|
911 |
+
);
|
912 |
+
$request->addParams($params);
|
913 |
+
$request->addFields($fields);
|
914 |
+
return $pending ? $request : $request->execute();
|
915 |
+
}
|
916 |
+
|
917 |
public function getPricingVariablesBatch(array $fields = array(), array $params = array(), $pending = false) {
|
918 |
$this->assureId();
|
919 |
|
1233 |
'iphone_url' => 'string',
|
1234 |
'launch_date' => 'string',
|
1235 |
'manufacturer_part_number' => 'string',
|
1236 |
+
'marked_for_product_launch' => 'marked_for_product_launch_enum',
|
1237 |
'material' => 'string',
|
1238 |
'mobile_link' => 'string',
|
1239 |
'name' => 'string',
|
1244 |
'pattern' => 'string',
|
1245 |
'price' => 'unsigned int',
|
1246 |
'product_type' => 'string',
|
1247 |
+
'quantity_to_sell_on_facebook' => 'unsigned int',
|
1248 |
'retailer_id' => 'string',
|
1249 |
'retailer_product_group_id' => 'string',
|
1250 |
'return_policy_days' => 'unsigned int',
|
1265 |
'commerce_tax_category_enum' => ProductItemCommerceTaxCategoryValues::getInstance()->getValues(),
|
1266 |
'condition_enum' => ProductItemConditionValues::getInstance()->getValues(),
|
1267 |
'gender_enum' => ProductItemGenderValues::getInstance()->getValues(),
|
1268 |
+
'marked_for_product_launch_enum' => ProductItemMarkedForProductLaunchValues::getInstance()->getValues(),
|
1269 |
'visibility_enum' => ProductItemVisibilityValues::getInstance()->getValues(),
|
1270 |
);
|
1271 |
|
1399 |
$this->assureId();
|
1400 |
|
1401 |
$param_types = array(
|
1402 |
+
'allow_delete_catalog_with_live_product_set' => 'bool',
|
1403 |
);
|
1404 |
$enums = array(
|
1405 |
);
|
1427 |
);
|
1428 |
$enums = array(
|
1429 |
'segment_use_cases_enum' => array(
|
1430 |
+
'AFFILIATE_SELLER_STOREFRONT',
|
1431 |
+
'AFFILIATE_TAGGED_ONLY',
|
1432 |
'COLLAB_ADS',
|
1433 |
'COLLAB_ADS_FOR_MARKETPLACE_PARTNER',
|
1434 |
'COLLAB_ADS_SEGMENT_WITHOUT_SEGMENT_SYNCING',
|
1435 |
+
'CREATORS_AS_SELLERS',
|
1436 |
'IG_SHOPPING',
|
1437 |
'IG_SHOPPING_SUGGESTED_PRODUCTS',
|
1438 |
'MARKETPLACE_SHOPS',
|
1465 |
'fallback_image_url' => 'string',
|
1466 |
'flight_catalog_settings' => 'map',
|
1467 |
'name' => 'string',
|
1468 |
+
'partner_integration' => 'map',
|
1469 |
'store_catalog_settings' => 'map',
|
1470 |
);
|
1471 |
$enums = array(
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalogDiagnosticGroup.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object;
|
26 |
+
|
27 |
+
use FacebookAds\ApiRequest;
|
28 |
+
use FacebookAds\Cursor;
|
29 |
+
use FacebookAds\Http\RequestInterface;
|
30 |
+
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\ProductCatalogDiagnosticGroupFields;
|
32 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupAffectedChannelsValues;
|
33 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupAffectedFeaturesValues;
|
34 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupSeveritiesValues;
|
35 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupSeverityValues;
|
36 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupTypeValues;
|
37 |
+
use FacebookAds\Object\Values\ProductCatalogDiagnosticGroupTypesValues;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* This class is auto-generated.
|
41 |
+
*
|
42 |
+
* For any issues or feature requests related to this class, please let us know
|
43 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
44 |
+
* pull request for this class.
|
45 |
+
*
|
46 |
+
*/
|
47 |
+
|
48 |
+
class ProductCatalogDiagnosticGroup extends AbstractObject {
|
49 |
+
|
50 |
+
/**
|
51 |
+
* @return ProductCatalogDiagnosticGroupFields
|
52 |
+
*/
|
53 |
+
public static function getFieldsEnum() {
|
54 |
+
return ProductCatalogDiagnosticGroupFields::getInstance();
|
55 |
+
}
|
56 |
+
|
57 |
+
protected static function getReferencedEnums() {
|
58 |
+
$ref_enums = array();
|
59 |
+
$ref_enums['AffectedChannels'] = ProductCatalogDiagnosticGroupAffectedChannelsValues::getInstance()->getValues();
|
60 |
+
$ref_enums['AffectedFeatures'] = ProductCatalogDiagnosticGroupAffectedFeaturesValues::getInstance()->getValues();
|
61 |
+
$ref_enums['Severity'] = ProductCatalogDiagnosticGroupSeverityValues::getInstance()->getValues();
|
62 |
+
$ref_enums['Type'] = ProductCatalogDiagnosticGroupTypeValues::getInstance()->getValues();
|
63 |
+
$ref_enums['Severities'] = ProductCatalogDiagnosticGroupSeveritiesValues::getInstance()->getValues();
|
64 |
+
$ref_enums['Types'] = ProductCatalogDiagnosticGroupTypesValues::getInstance()->getValues();
|
65 |
+
return $ref_enums;
|
66 |
+
}
|
67 |
+
|
68 |
+
|
69 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductFeed.php
CHANGED
@@ -74,6 +74,29 @@ class ProductFeed extends AbstractCrudObject {
|
|
74 |
}
|
75 |
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
public function getAutomotiveModels(array $fields = array(), array $params = array(), $pending = false) {
|
78 |
$this->assureId();
|
79 |
|
@@ -99,6 +122,29 @@ class ProductFeed extends AbstractCrudObject {
|
|
99 |
return $pending ? $request : $request->execute();
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
public function getDestinations(array $fields = array(), array $params = array(), $pending = false) {
|
103 |
$this->assureId();
|
104 |
|
@@ -199,6 +245,31 @@ class ProductFeed extends AbstractCrudObject {
|
|
199 |
return $pending ? $request : $request->execute();
|
200 |
}
|
201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
|
203 |
$this->assureId();
|
204 |
|
74 |
}
|
75 |
|
76 |
|
77 |
+
public function getAutoMarkets(array $fields = array(), array $params = array(), $pending = false) {
|
78 |
+
$this->assureId();
|
79 |
+
|
80 |
+
$param_types = array(
|
81 |
+
);
|
82 |
+
$enums = array(
|
83 |
+
);
|
84 |
+
|
85 |
+
$request = new ApiRequest(
|
86 |
+
$this->api,
|
87 |
+
$this->data['id'],
|
88 |
+
RequestInterface::METHOD_GET,
|
89 |
+
'/auto_markets',
|
90 |
+
new AbstractCrudObject(),
|
91 |
+
'EDGE',
|
92 |
+
array(),
|
93 |
+
new TypeChecker($param_types, $enums)
|
94 |
+
);
|
95 |
+
$request->addParams($params);
|
96 |
+
$request->addFields($fields);
|
97 |
+
return $pending ? $request : $request->execute();
|
98 |
+
}
|
99 |
+
|
100 |
public function getAutomotiveModels(array $fields = array(), array $params = array(), $pending = false) {
|
101 |
$this->assureId();
|
102 |
|
122 |
return $pending ? $request : $request->execute();
|
123 |
}
|
124 |
|
125 |
+
public function getAutos(array $fields = array(), array $params = array(), $pending = false) {
|
126 |
+
$this->assureId();
|
127 |
+
|
128 |
+
$param_types = array(
|
129 |
+
);
|
130 |
+
$enums = array(
|
131 |
+
);
|
132 |
+
|
133 |
+
$request = new ApiRequest(
|
134 |
+
$this->api,
|
135 |
+
$this->data['id'],
|
136 |
+
RequestInterface::METHOD_GET,
|
137 |
+
'/autos',
|
138 |
+
new AbstractCrudObject(),
|
139 |
+
'EDGE',
|
140 |
+
array(),
|
141 |
+
new TypeChecker($param_types, $enums)
|
142 |
+
);
|
143 |
+
$request->addParams($params);
|
144 |
+
$request->addFields($fields);
|
145 |
+
return $pending ? $request : $request->execute();
|
146 |
+
}
|
147 |
+
|
148 |
public function getDestinations(array $fields = array(), array $params = array(), $pending = false) {
|
149 |
$this->assureId();
|
150 |
|
245 |
return $pending ? $request : $request->execute();
|
246 |
}
|
247 |
|
248 |
+
public function getMediaTitles(array $fields = array(), array $params = array(), $pending = false) {
|
249 |
+
$this->assureId();
|
250 |
+
|
251 |
+
$param_types = array(
|
252 |
+
'bulk_pagination' => 'bool',
|
253 |
+
'filter' => 'Object',
|
254 |
+
);
|
255 |
+
$enums = array(
|
256 |
+
);
|
257 |
+
|
258 |
+
$request = new ApiRequest(
|
259 |
+
$this->api,
|
260 |
+
$this->data['id'],
|
261 |
+
RequestInterface::METHOD_GET,
|
262 |
+
'/media_titles',
|
263 |
+
new AbstractCrudObject(),
|
264 |
+
'EDGE',
|
265 |
+
array(),
|
266 |
+
new TypeChecker($param_types, $enums)
|
267 |
+
);
|
268 |
+
$request->addParams($params);
|
269 |
+
$request->addFields($fields);
|
270 |
+
return $pending ? $request : $request->execute();
|
271 |
+
}
|
272 |
+
|
273 |
public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
|
274 |
$this->assureId();
|
275 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductGroup.php
CHANGED
@@ -29,11 +29,6 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\ProductGroupFields;
|
32 |
-
use FacebookAds\Object\Values\ProductItemAvailabilityValues;
|
33 |
-
use FacebookAds\Object\Values\ProductItemCommerceTaxCategoryValues;
|
34 |
-
use FacebookAds\Object\Values\ProductItemConditionValues;
|
35 |
-
use FacebookAds\Object\Values\ProductItemGenderValues;
|
36 |
-
use FacebookAds\Object\Values\ProductItemVisibilityValues;
|
37 |
|
38 |
/**
|
39 |
* This class is auto-generated.
|
@@ -131,6 +126,7 @@ class ProductGroup extends AbstractCrudObject {
|
|
131 |
'iphone_url' => 'string',
|
132 |
'launch_date' => 'string',
|
133 |
'manufacturer_part_number' => 'string',
|
|
|
134 |
'material' => 'string',
|
135 |
'mobile_link' => 'string',
|
136 |
'name' => 'string',
|
@@ -141,6 +137,7 @@ class ProductGroup extends AbstractCrudObject {
|
|
141 |
'pattern' => 'string',
|
142 |
'price' => 'unsigned int',
|
143 |
'product_type' => 'string',
|
|
|
144 |
'retailer_id' => 'string',
|
145 |
'return_policy_days' => 'unsigned int',
|
146 |
'sale_price' => 'unsigned int',
|
@@ -156,11 +153,243 @@ class ProductGroup extends AbstractCrudObject {
|
|
156 |
'windows_phone_url' => 'string',
|
157 |
);
|
158 |
$enums = array(
|
159 |
-
'availability_enum' =>
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
);
|
165 |
|
166 |
$request = new ApiRequest(
|
@@ -168,9 +397,9 @@ class ProductGroup extends AbstractCrudObject {
|
|
168 |
$this->data['id'],
|
169 |
RequestInterface::METHOD_POST,
|
170 |
'/products',
|
171 |
-
new
|
172 |
'EDGE',
|
173 |
-
|
174 |
new TypeChecker($param_types, $enums)
|
175 |
);
|
176 |
$request->addParams($params);
|
@@ -182,8 +411,13 @@ class ProductGroup extends AbstractCrudObject {
|
|
182 |
$this->assureId();
|
183 |
|
184 |
$param_types = array(
|
|
|
185 |
);
|
186 |
$enums = array(
|
|
|
|
|
|
|
|
|
187 |
);
|
188 |
|
189 |
$request = new ApiRequest(
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\ProductGroupFields;
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
126 |
'iphone_url' => 'string',
|
127 |
'launch_date' => 'string',
|
128 |
'manufacturer_part_number' => 'string',
|
129 |
+
'marked_for_product_launch' => 'marked_for_product_launch_enum',
|
130 |
'material' => 'string',
|
131 |
'mobile_link' => 'string',
|
132 |
'name' => 'string',
|
137 |
'pattern' => 'string',
|
138 |
'price' => 'unsigned int',
|
139 |
'product_type' => 'string',
|
140 |
+
'quantity_to_sell_on_facebook' => 'unsigned int',
|
141 |
'retailer_id' => 'string',
|
142 |
'return_policy_days' => 'unsigned int',
|
143 |
'sale_price' => 'unsigned int',
|
153 |
'windows_phone_url' => 'string',
|
154 |
);
|
155 |
$enums = array(
|
156 |
+
'availability_enum' => array(
|
157 |
+
'available for order',
|
158 |
+
'discontinued',
|
159 |
+
'in stock',
|
160 |
+
'out of stock',
|
161 |
+
'pending',
|
162 |
+
'preorder',
|
163 |
+
),
|
164 |
+
'commerce_tax_category_enum' => array(
|
165 |
+
'FB_ANIMAL',
|
166 |
+
'FB_ANIMAL_SUPP',
|
167 |
+
'FB_APRL',
|
168 |
+
'FB_APRL_ACCESSORIES',
|
169 |
+
'FB_APRL_ATHL_UNIF',
|
170 |
+
'FB_APRL_CASES',
|
171 |
+
'FB_APRL_CLOTHING',
|
172 |
+
'FB_APRL_COSTUME',
|
173 |
+
'FB_APRL_CSTM',
|
174 |
+
'FB_APRL_FORMAL',
|
175 |
+
'FB_APRL_HANDBAG',
|
176 |
+
'FB_APRL_JEWELRY',
|
177 |
+
'FB_APRL_SHOE',
|
178 |
+
'FB_APRL_SHOE_ACC',
|
179 |
+
'FB_APRL_SWIM',
|
180 |
+
'FB_APRL_SWIM_CHIL',
|
181 |
+
'FB_APRL_SWIM_CVR',
|
182 |
+
'FB_ARTS',
|
183 |
+
'FB_ARTS_HOBBY',
|
184 |
+
'FB_ARTS_PARTY',
|
185 |
+
'FB_ARTS_PARTY_GIFT_CARD',
|
186 |
+
'FB_ARTS_TICKET',
|
187 |
+
'FB_BABY',
|
188 |
+
'FB_BABY_BATH',
|
189 |
+
'FB_BABY_BLANKET',
|
190 |
+
'FB_BABY_DIAPER',
|
191 |
+
'FB_BABY_GIFT_SET',
|
192 |
+
'FB_BABY_HEALTH',
|
193 |
+
'FB_BABY_NURSING',
|
194 |
+
'FB_BABY_POTTY_TRN',
|
195 |
+
'FB_BABY_SAFE',
|
196 |
+
'FB_BABY_TOYS',
|
197 |
+
'FB_BABY_TRANSPORT',
|
198 |
+
'FB_BABY_TRANSPORT_ACC',
|
199 |
+
'FB_BAGS',
|
200 |
+
'FB_BAGS_BKPK',
|
201 |
+
'FB_BAGS_BOXES',
|
202 |
+
'FB_BAGS_BRFCS',
|
203 |
+
'FB_BAGS_CSMT_BAG',
|
204 |
+
'FB_BAGS_DFFL',
|
205 |
+
'FB_BAGS_DIPR',
|
206 |
+
'FB_BAGS_FNNY',
|
207 |
+
'FB_BAGS_GRMT',
|
208 |
+
'FB_BAGS_LUGG',
|
209 |
+
'FB_BAGS_LUG_ACC',
|
210 |
+
'FB_BAGS_MSGR',
|
211 |
+
'FB_BAGS_TOTE',
|
212 |
+
'FB_BAGS_TRN_CAS',
|
213 |
+
'FB_BLDG',
|
214 |
+
'FB_BLDG_ACC',
|
215 |
+
'FB_BLDG_CNSMB',
|
216 |
+
'FB_BLDG_FENCE',
|
217 |
+
'FB_BLDG_FUEL_TNK',
|
218 |
+
'FB_BLDG_HT_VNT',
|
219 |
+
'FB_BLDG_LOCK',
|
220 |
+
'FB_BLDG_MATRL',
|
221 |
+
'FB_BLDG_PLMB',
|
222 |
+
'FB_BLDG_PUMP',
|
223 |
+
'FB_BLDG_PWRS',
|
224 |
+
'FB_BLDG_STR_TANK',
|
225 |
+
'FB_BLDG_S_ENG',
|
226 |
+
'FB_BLDG_TL_ACC',
|
227 |
+
'FB_BLDG_TOOL',
|
228 |
+
'FB_BUSIND',
|
229 |
+
'FB_BUSIND_ADVERTISING',
|
230 |
+
'FB_BUSIND_AGRICULTURE',
|
231 |
+
'FB_BUSIND_AUTOMATION',
|
232 |
+
'FB_BUSIND_HEAVY_MACH',
|
233 |
+
'FB_BUSIND_LAB',
|
234 |
+
'FB_BUSIND_MEDICAL',
|
235 |
+
'FB_BUSIND_RETAIL',
|
236 |
+
'FB_BUSIND_SANITARY_CT',
|
237 |
+
'FB_BUSIND_SIGN',
|
238 |
+
'FB_BUSIND_STORAGE',
|
239 |
+
'FB_BUSIND_STORAGE_ACC',
|
240 |
+
'FB_BUSIND_WORK_GEAR',
|
241 |
+
'FB_CAMERA_ACC',
|
242 |
+
'FB_CAMERA_CAMERA',
|
243 |
+
'FB_CAMERA_OPTIC',
|
244 |
+
'FB_CAMERA_OPTICS',
|
245 |
+
'FB_CAMERA_PHOTO',
|
246 |
+
'FB_ELEC',
|
247 |
+
'FB_ELEC_ACC',
|
248 |
+
'FB_ELEC_ARCDADE',
|
249 |
+
'FB_ELEC_AUDIO',
|
250 |
+
'FB_ELEC_CIRCUIT',
|
251 |
+
'FB_ELEC_COMM',
|
252 |
+
'FB_ELEC_COMPUTER',
|
253 |
+
'FB_ELEC_GPS_ACC',
|
254 |
+
'FB_ELEC_GPS_NAV',
|
255 |
+
'FB_ELEC_GPS_TRK',
|
256 |
+
'FB_ELEC_MARINE',
|
257 |
+
'FB_ELEC_NETWORK',
|
258 |
+
'FB_ELEC_PART',
|
259 |
+
'FB_ELEC_PRINT',
|
260 |
+
'FB_ELEC_RADAR',
|
261 |
+
'FB_ELEC_SPEED_RDR',
|
262 |
+
'FB_ELEC_TOLL',
|
263 |
+
'FB_ELEC_VIDEO',
|
264 |
+
'FB_ELEC_VID_GM_ACC',
|
265 |
+
'FB_ELEC_VID_GM_CNSL',
|
266 |
+
'FB_FOOD',
|
267 |
+
'FB_FURN',
|
268 |
+
'FB_FURN_BABY',
|
269 |
+
'FB_FURN_BENCH',
|
270 |
+
'FB_FURN_CART',
|
271 |
+
'FB_FURN_CHAIR',
|
272 |
+
'FB_FURN_CHAIR_ACC',
|
273 |
+
'FB_FURN_DIVIDE',
|
274 |
+
'FB_FURN_DIVIDE_ACC',
|
275 |
+
'FB_FURN_ENT_CTR',
|
276 |
+
'FB_FURN_FUTN',
|
277 |
+
'FB_FURN_FUTN_PAD',
|
278 |
+
'FB_FURN_OFFICE',
|
279 |
+
'FB_FURN_OFFICE_ACC',
|
280 |
+
'FB_FURN_OTTO',
|
281 |
+
'FB_FURN_OUTDOOR',
|
282 |
+
'FB_FURN_OUTDOOR_ACC',
|
283 |
+
'FB_FURN_SETS',
|
284 |
+
'FB_FURN_SHELVE_ACC',
|
285 |
+
'FB_FURN_SHLF',
|
286 |
+
'FB_FURN_SOFA',
|
287 |
+
'FB_FURN_SOFA_ACC',
|
288 |
+
'FB_FURN_STORAGE',
|
289 |
+
'FB_FURN_TABL',
|
290 |
+
'FB_FURN_TABL_ACC',
|
291 |
+
'FB_GENERIC_TAXABLE',
|
292 |
+
'FB_HLTH',
|
293 |
+
'FB_HLTH_HLTH',
|
294 |
+
'FB_HLTH_JWL_CR',
|
295 |
+
'FB_HLTH_LILP_BLM',
|
296 |
+
'FB_HLTH_LTN_SPF',
|
297 |
+
'FB_HLTH_PRSL_CR',
|
298 |
+
'FB_HLTH_SKN_CR',
|
299 |
+
'FB_HMGN',
|
300 |
+
'FB_HMGN_BATH',
|
301 |
+
'FB_HMGN_DCOR',
|
302 |
+
'FB_HMGN_EMGY',
|
303 |
+
'FB_HMGN_FPLC',
|
304 |
+
'FB_HMGN_FPLC_ACC',
|
305 |
+
'FB_HMGN_GS_SFT',
|
306 |
+
'FB_HMGN_HS_ACC',
|
307 |
+
'FB_HMGN_HS_APP',
|
308 |
+
'FB_HMGN_HS_SPL',
|
309 |
+
'FB_HMGN_KTCN',
|
310 |
+
'FB_HMGN_LAWN',
|
311 |
+
'FB_HMGN_LGHT',
|
312 |
+
'FB_HMGN_LINN',
|
313 |
+
'FB_HMGN_LT_ACC',
|
314 |
+
'FB_HMGN_OTDR',
|
315 |
+
'FB_HMGN_POOL',
|
316 |
+
'FB_HMGN_SCTY',
|
317 |
+
'FB_HMGN_SMK_ACC',
|
318 |
+
'FB_HMGN_UMBR',
|
319 |
+
'FB_HMGN_UMBR_ACC',
|
320 |
+
'FB_MDIA',
|
321 |
+
'FB_MDIA_BOOK',
|
322 |
+
'FB_MDIA_DVDS',
|
323 |
+
'FB_MDIA_MAG',
|
324 |
+
'FB_MDIA_MANL',
|
325 |
+
'FB_MDIA_MUSC',
|
326 |
+
'FB_MDIA_PRJ_PLN',
|
327 |
+
'FB_MDIA_SHT_MUS',
|
328 |
+
'FB_OFFC',
|
329 |
+
'FB_OFFC_BKAC',
|
330 |
+
'FB_OFFC_CRTS',
|
331 |
+
'FB_OFFC_DSKP',
|
332 |
+
'FB_OFFC_EQIP',
|
333 |
+
'FB_OFFC_FLNG',
|
334 |
+
'FB_OFFC_GNRL',
|
335 |
+
'FB_OFFC_INSTM',
|
336 |
+
'FB_OFFC_LP_DSK',
|
337 |
+
'FB_OFFC_MATS',
|
338 |
+
'FB_OFFC_NM_PLT',
|
339 |
+
'FB_OFFC_PPR_HNDL',
|
340 |
+
'FB_OFFC_PRSNT_SPL',
|
341 |
+
'FB_OFFC_SEALR',
|
342 |
+
'FB_OFFC_SHIP_SPL',
|
343 |
+
'FB_RLGN',
|
344 |
+
'FB_RLGN_CMNY',
|
345 |
+
'FB_RLGN_ITEM',
|
346 |
+
'FB_RLGN_WEDD',
|
347 |
+
'FB_SFTWR',
|
348 |
+
'FB_SFWR_CMPTR',
|
349 |
+
'FB_SFWR_DGTL_GD',
|
350 |
+
'FB_SFWR_GAME',
|
351 |
+
'FB_SHIPPING',
|
352 |
+
'FB_SPOR',
|
353 |
+
'FB_SPORT_ATHL',
|
354 |
+
'FB_SPORT_ATHL_CLTH',
|
355 |
+
'FB_SPORT_ATHL_SHOE',
|
356 |
+
'FB_SPORT_ATHL_SPRT',
|
357 |
+
'FB_SPORT_EXRCS',
|
358 |
+
'FB_SPORT_INDR_GM',
|
359 |
+
'FB_SPORT_OTDR_GM',
|
360 |
+
'FB_TOYS',
|
361 |
+
'FB_TOYS_EQIP',
|
362 |
+
'FB_TOYS_GAME',
|
363 |
+
'FB_TOYS_PZZL',
|
364 |
+
'FB_TOYS_TMRS',
|
365 |
+
'FB_TOYS_TOYS',
|
366 |
+
'FB_VEHI',
|
367 |
+
'FB_VEHI_PART',
|
368 |
+
),
|
369 |
+
'condition_enum' => array(
|
370 |
+
'cpo',
|
371 |
+
'new',
|
372 |
+
'open_box_new',
|
373 |
+
'refurbished',
|
374 |
+
'used',
|
375 |
+
'used_fair',
|
376 |
+
'used_good',
|
377 |
+
'used_like_new',
|
378 |
+
),
|
379 |
+
'gender_enum' => array(
|
380 |
+
'female',
|
381 |
+
'male',
|
382 |
+
'unisex',
|
383 |
+
),
|
384 |
+
'marked_for_product_launch_enum' => array(
|
385 |
+
'default',
|
386 |
+
'marked',
|
387 |
+
'not_marked',
|
388 |
+
),
|
389 |
+
'visibility_enum' => array(
|
390 |
+
'published',
|
391 |
+
'staging',
|
392 |
+
),
|
393 |
);
|
394 |
|
395 |
$request = new ApiRequest(
|
397 |
$this->data['id'],
|
398 |
RequestInterface::METHOD_POST,
|
399 |
'/products',
|
400 |
+
new AbstractCrudObject(),
|
401 |
'EDGE',
|
402 |
+
array(),
|
403 |
new TypeChecker($param_types, $enums)
|
404 |
);
|
405 |
$request->addParams($params);
|
411 |
$this->assureId();
|
412 |
|
413 |
$param_types = array(
|
414 |
+
'deletion_method' => 'deletion_method_enum',
|
415 |
);
|
416 |
$enums = array(
|
417 |
+
'deletion_method_enum' => array(
|
418 |
+
'DELETE_ITEMS',
|
419 |
+
'ONLY_IF_EMPTY',
|
420 |
+
),
|
421 |
);
|
422 |
|
423 |
$request = new ApiRequest(
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php
CHANGED
@@ -34,6 +34,8 @@ use FacebookAds\Object\Values\ProductItemAvailabilityValues;
|
|
34 |
use FacebookAds\Object\Values\ProductItemCommerceTaxCategoryValues;
|
35 |
use FacebookAds\Object\Values\ProductItemConditionValues;
|
36 |
use FacebookAds\Object\Values\ProductItemGenderValues;
|
|
|
|
|
37 |
use FacebookAds\Object\Values\ProductItemReviewStatusValues;
|
38 |
use FacebookAds\Object\Values\ProductItemShippingWeightUnitValues;
|
39 |
use FacebookAds\Object\Values\ProductItemVisibilityValues;
|
@@ -69,10 +71,12 @@ class ProductItem extends AbstractCrudObject {
|
|
69 |
$ref_enums['Availability'] = ProductItemAvailabilityValues::getInstance()->getValues();
|
70 |
$ref_enums['Condition'] = ProductItemConditionValues::getInstance()->getValues();
|
71 |
$ref_enums['Gender'] = ProductItemGenderValues::getInstance()->getValues();
|
|
|
72 |
$ref_enums['ReviewStatus'] = ProductItemReviewStatusValues::getInstance()->getValues();
|
73 |
$ref_enums['ShippingWeightUnit'] = ProductItemShippingWeightUnitValues::getInstance()->getValues();
|
74 |
$ref_enums['Visibility'] = ProductItemVisibilityValues::getInstance()->getValues();
|
75 |
$ref_enums['CommerceTaxCategory'] = ProductItemCommerceTaxCategoryValues::getInstance()->getValues();
|
|
|
76 |
return $ref_enums;
|
77 |
}
|
78 |
|
@@ -150,8 +154,11 @@ class ProductItem extends AbstractCrudObject {
|
|
150 |
$this->assureId();
|
151 |
|
152 |
$param_types = array(
|
|
|
153 |
'image_height' => 'unsigned int',
|
154 |
'image_width' => 'unsigned int',
|
|
|
|
|
155 |
);
|
156 |
$enums = array(
|
157 |
);
|
@@ -215,6 +222,7 @@ class ProductItem extends AbstractCrudObject {
|
|
215 |
'iphone_url' => 'string',
|
216 |
'launch_date' => 'string',
|
217 |
'manufacturer_part_number' => 'string',
|
|
|
218 |
'material' => 'string',
|
219 |
'mobile_link' => 'string',
|
220 |
'name' => 'string',
|
@@ -225,6 +233,7 @@ class ProductItem extends AbstractCrudObject {
|
|
225 |
'pattern' => 'string',
|
226 |
'price' => 'unsigned int',
|
227 |
'product_type' => 'string',
|
|
|
228 |
'retailer_id' => 'string',
|
229 |
'return_policy_days' => 'unsigned int',
|
230 |
'sale_price' => 'unsigned int',
|
@@ -244,6 +253,7 @@ class ProductItem extends AbstractCrudObject {
|
|
244 |
'commerce_tax_category_enum' => ProductItemCommerceTaxCategoryValues::getInstance()->getValues(),
|
245 |
'condition_enum' => ProductItemConditionValues::getInstance()->getValues(),
|
246 |
'gender_enum' => ProductItemGenderValues::getInstance()->getValues(),
|
|
|
247 |
'visibility_enum' => ProductItemVisibilityValues::getInstance()->getValues(),
|
248 |
);
|
249 |
|
34 |
use FacebookAds\Object\Values\ProductItemCommerceTaxCategoryValues;
|
35 |
use FacebookAds\Object\Values\ProductItemConditionValues;
|
36 |
use FacebookAds\Object\Values\ProductItemGenderValues;
|
37 |
+
use FacebookAds\Object\Values\ProductItemImageFetchStatusValues;
|
38 |
+
use FacebookAds\Object\Values\ProductItemMarkedForProductLaunchValues;
|
39 |
use FacebookAds\Object\Values\ProductItemReviewStatusValues;
|
40 |
use FacebookAds\Object\Values\ProductItemShippingWeightUnitValues;
|
41 |
use FacebookAds\Object\Values\ProductItemVisibilityValues;
|
71 |
$ref_enums['Availability'] = ProductItemAvailabilityValues::getInstance()->getValues();
|
72 |
$ref_enums['Condition'] = ProductItemConditionValues::getInstance()->getValues();
|
73 |
$ref_enums['Gender'] = ProductItemGenderValues::getInstance()->getValues();
|
74 |
+
$ref_enums['ImageFetchStatus'] = ProductItemImageFetchStatusValues::getInstance()->getValues();
|
75 |
$ref_enums['ReviewStatus'] = ProductItemReviewStatusValues::getInstance()->getValues();
|
76 |
$ref_enums['ShippingWeightUnit'] = ProductItemShippingWeightUnitValues::getInstance()->getValues();
|
77 |
$ref_enums['Visibility'] = ProductItemVisibilityValues::getInstance()->getValues();
|
78 |
$ref_enums['CommerceTaxCategory'] = ProductItemCommerceTaxCategoryValues::getInstance()->getValues();
|
79 |
+
$ref_enums['MarkedForProductLaunch'] = ProductItemMarkedForProductLaunchValues::getInstance()->getValues();
|
80 |
return $ref_enums;
|
81 |
}
|
82 |
|
154 |
$this->assureId();
|
155 |
|
156 |
$param_types = array(
|
157 |
+
'catalog_id' => 'string',
|
158 |
'image_height' => 'unsigned int',
|
159 |
'image_width' => 'unsigned int',
|
160 |
+
'override_country' => 'string',
|
161 |
+
'override_language' => 'string',
|
162 |
);
|
163 |
$enums = array(
|
164 |
);
|
222 |
'iphone_url' => 'string',
|
223 |
'launch_date' => 'string',
|
224 |
'manufacturer_part_number' => 'string',
|
225 |
+
'marked_for_product_launch' => 'marked_for_product_launch_enum',
|
226 |
'material' => 'string',
|
227 |
'mobile_link' => 'string',
|
228 |
'name' => 'string',
|
233 |
'pattern' => 'string',
|
234 |
'price' => 'unsigned int',
|
235 |
'product_type' => 'string',
|
236 |
+
'quantity_to_sell_on_facebook' => 'unsigned int',
|
237 |
'retailer_id' => 'string',
|
238 |
'return_policy_days' => 'unsigned int',
|
239 |
'sale_price' => 'unsigned int',
|
253 |
'commerce_tax_category_enum' => ProductItemCommerceTaxCategoryValues::getInstance()->getValues(),
|
254 |
'condition_enum' => ProductItemConditionValues::getInstance()->getValues(),
|
255 |
'gender_enum' => ProductItemGenderValues::getInstance()->getValues(),
|
256 |
+
'marked_for_product_launch_enum' => ProductItemMarkedForProductLaunchValues::getInstance()->getValues(),
|
257 |
'visibility_enum' => ProductItemVisibilityValues::getInstance()->getValues(),
|
258 |
);
|
259 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php
CHANGED
@@ -186,6 +186,31 @@ class ProductSet extends AbstractCrudObject {
|
|
186 |
return $pending ? $request : $request->execute();
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
|
190 |
$this->assureId();
|
191 |
|
186 |
return $pending ? $request : $request->execute();
|
187 |
}
|
188 |
|
189 |
+
public function getMediaTitles(array $fields = array(), array $params = array(), $pending = false) {
|
190 |
+
$this->assureId();
|
191 |
+
|
192 |
+
$param_types = array(
|
193 |
+
'bulk_pagination' => 'bool',
|
194 |
+
'filter' => 'Object',
|
195 |
+
);
|
196 |
+
$enums = array(
|
197 |
+
);
|
198 |
+
|
199 |
+
$request = new ApiRequest(
|
200 |
+
$this->api,
|
201 |
+
$this->data['id'],
|
202 |
+
RequestInterface::METHOD_GET,
|
203 |
+
'/media_titles',
|
204 |
+
new AbstractCrudObject(),
|
205 |
+
'EDGE',
|
206 |
+
array(),
|
207 |
+
new TypeChecker($param_types, $enums)
|
208 |
+
);
|
209 |
+
$request->addParams($params);
|
210 |
+
$request->addFields($fields);
|
211 |
+
return $pending ? $request : $request->execute();
|
212 |
+
}
|
213 |
+
|
214 |
public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
|
215 |
$this->assureId();
|
216 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php
CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\ApiConfig;
|
|
30 |
use FacebookAds\Object\AdsPixel;
|
31 |
|
32 |
/**
|
33 |
-
*
|
34 |
*
|
35 |
* @category Class
|
36 |
*/
|
@@ -167,7 +167,7 @@ class EventRequest implements ArrayAccess {
|
|
167 |
* Gets code used to verify that your server events are received correctly by Facebook. Use this
|
168 |
* code to test your server events in the Test Events feature in Events Manager.
|
169 |
* See Test Events Tool
|
170 |
-
* (https://developers.facebook.com/docs/marketing-api/
|
171 |
* for an example.
|
172 |
* @return string
|
173 |
*/
|
@@ -179,11 +179,11 @@ class EventRequest implements ArrayAccess {
|
|
179 |
* Sets code used to verify that your server events are received correctly by Facebook. Use this
|
180 |
* code to test your server events in the Test Events feature in Events Manager.
|
181 |
* See Test Events Tool
|
182 |
-
* (https://developers.facebook.com/docs/marketing-api/
|
183 |
* for an example.
|
184 |
* @param string $test_event_code Code used to verify that your server events are received correctly by Facebook.
|
185 |
* Use this code to test your server events in the Test Events feature in Events Manager. See Test Events Tool
|
186 |
-
* (https://developers.facebook.com/docs/marketing-api/
|
187 |
* for an example.
|
188 |
* @return $this
|
189 |
*/
|
30 |
use FacebookAds\Object\AdsPixel;
|
31 |
|
32 |
/**
|
33 |
+
* Conversions API Event Request
|
34 |
*
|
35 |
* @category Class
|
36 |
*/
|
167 |
* Gets code used to verify that your server events are received correctly by Facebook. Use this
|
168 |
* code to test your server events in the Test Events feature in Events Manager.
|
169 |
* See Test Events Tool
|
170 |
+
* (https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api#testEvents)
|
171 |
* for an example.
|
172 |
* @return string
|
173 |
*/
|
179 |
* Sets code used to verify that your server events are received correctly by Facebook. Use this
|
180 |
* code to test your server events in the Test Events feature in Events Manager.
|
181 |
* See Test Events Tool
|
182 |
+
* (https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api#testEvents)
|
183 |
* for an example.
|
184 |
* @param string $test_event_code Code used to verify that your server events are received correctly by Facebook.
|
185 |
* Use this code to test your server events in the Test Events feature in Events Manager. See Test Events Tool
|
186 |
+
* (https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api#testEvents)
|
187 |
* for an example.
|
188 |
* @return $this
|
189 |
*/
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventResponse.php
CHANGED
@@ -27,7 +27,7 @@ namespace FacebookAds\Object\ServerSide;
|
|
27 |
use ArrayAccess;
|
28 |
|
29 |
/**
|
30 |
-
*
|
31 |
*
|
32 |
* @category Class
|
33 |
*/
|
@@ -230,5 +230,3 @@ class EventResponse implements ArrayAccess {
|
|
230 |
return json_encode($this);
|
231 |
}
|
232 |
}
|
233 |
-
|
234 |
-
|
27 |
use ArrayAccess;
|
28 |
|
29 |
/**
|
30 |
+
* Conversions API event response.
|
31 |
*
|
32 |
* @category Class
|
33 |
*/
|
230 |
return json_encode($this);
|
231 |
}
|
232 |
}
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php
CHANGED
@@ -25,6 +25,7 @@
|
|
25 |
namespace FacebookAds\Object\ServerSide;
|
26 |
|
27 |
use ArrayAccess;
|
|
|
28 |
|
29 |
/**
|
30 |
* UserData is a set of identifiers Facebook can use for targeted attribution.
|
@@ -38,22 +39,39 @@ class UserData implements ArrayAccess {
|
|
38 |
*/
|
39 |
protected static $swaggerModelName = 'server_side_pixel_user_data';
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
/**
|
42 |
* Array of property to type mappings. Used for (de)serialization
|
43 |
* @var string[]
|
44 |
*/
|
45 |
protected static $param_types = array(
|
46 |
'email' => 'string',
|
|
|
47 |
'phone' => 'string',
|
|
|
48 |
'gender' => 'string',
|
|
|
49 |
'date_of_birth' => 'string',
|
|
|
50 |
'last_name' => 'string',
|
|
|
51 |
'first_name' => 'string',
|
|
|
52 |
'ct' => 'string',
|
|
|
53 |
'state' => 'string',
|
|
|
54 |
'country_code' => 'string',
|
|
|
55 |
'zip_code' => 'string',
|
|
|
56 |
'external_id' => 'string',
|
|
|
57 |
'client_ip_address' => 'string',
|
58 |
'client_user_agent' => 'string',
|
59 |
'fbc' => 'string',
|
@@ -74,16 +92,27 @@ class UserData implements ArrayAccess {
|
|
74 |
*/
|
75 |
protected static $attributeMap = array(
|
76 |
'email' => 'email',
|
|
|
77 |
'phone' => 'phone',
|
|
|
78 |
'gender' => 'gender',
|
|
|
79 |
'date_of_birth' => 'date_of_birth',
|
|
|
80 |
'last_name' => 'last_name',
|
|
|
81 |
'first_name' => 'first_name',
|
|
|
82 |
'ct' => 'ct',
|
|
|
83 |
'state' => 'state',
|
|
|
84 |
'country_code' => 'country_code',
|
|
|
85 |
'zip_code' => 'zip_code',
|
|
|
86 |
'external_id' => 'external_id',
|
|
|
87 |
'client_ip_address' => 'client_ip_address',
|
88 |
'client_user_agent' => 'client_user_agent',
|
89 |
'fbc' => 'fbc',
|
@@ -104,16 +133,27 @@ class UserData implements ArrayAccess {
|
|
104 |
*/
|
105 |
protected static $setters = array(
|
106 |
'email' => 'setEmail',
|
|
|
107 |
'phone' => 'setPhone',
|
|
|
108 |
'gender' => 'setGender',
|
|
|
109 |
'date_of_birth' => 'setDateOfBirth',
|
|
|
110 |
'last_name' => 'setLastName',
|
|
|
111 |
'first_name' => 'setFirstName',
|
|
|
112 |
'city' => 'setCity',
|
|
|
113 |
'state' => 'setState',
|
|
|
114 |
'country_code' => 'setCountryCode',
|
|
|
115 |
'zip_code' => 'setZipCode',
|
|
|
116 |
'external_id' => 'setExternalId',
|
|
|
117 |
'client_ip_address' => 'setClientIpAddress',
|
118 |
'client_user_agent' => 'setClientUserAgent',
|
119 |
'fbc' => 'setFbc',
|
@@ -134,16 +174,27 @@ class UserData implements ArrayAccess {
|
|
134 |
*/
|
135 |
protected static $getters = array(
|
136 |
'email' => 'getEmail',
|
|
|
137 |
'phone' => 'getPhone',
|
|
|
138 |
'gender' => 'getGender',
|
|
|
139 |
'date_of_birth' => 'getDateOfBirth',
|
|
|
140 |
'last_name' => 'getLastName',
|
|
|
141 |
'first_name' => 'getFirstName',
|
|
|
142 |
'city' => 'getCity',
|
|
|
143 |
'state' => 'getState',
|
|
|
144 |
'country_code' => 'getCountryCode',
|
|
|
145 |
'zip_code' => 'getZipCode',
|
|
|
146 |
'external_id' => 'getExternalId',
|
|
|
147 |
'client_ip_address' => 'getClientIpAddress',
|
148 |
'client_user_agent' => 'getClientUserAgent',
|
149 |
'fbc' => 'getFbc',
|
@@ -169,17 +220,99 @@ class UserData implements ArrayAccess {
|
|
169 |
* @param mixed[] $data Associated array of property value initalizing the model
|
170 |
*/
|
171 |
public function __construct(array $data = null) {
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
$this->container['client_ip_address'] = isset($data['client_ip_address']) ? $data['client_ip_address'] : null;
|
184 |
$this->container['client_user_agent'] = isset($data['client_user_agent']) ? $data['client_user_agent'] : null;
|
185 |
$this->container['fbc'] = isset($data['fbc']) ? $data['fbc'] : null;
|
@@ -195,20 +328,32 @@ class UserData implements ArrayAccess {
|
|
195 |
$this->container['doby'] = isset($data['doby']) ? $data['doby'] : null;
|
196 |
}
|
197 |
|
|
|
|
|
|
|
198 |
public static function paramTypes() {
|
199 |
return self::$param_types;
|
200 |
}
|
201 |
|
|
|
|
|
|
|
202 |
public static function attributeMap() {
|
203 |
return self::$attributeMap;
|
204 |
}
|
205 |
|
|
|
|
|
|
|
206 |
public static function setters() {
|
207 |
return self::$setters;
|
208 |
}
|
209 |
|
|
|
|
|
|
|
210 |
public static function getters() {
|
211 |
-
return self::$
|
212 |
}
|
213 |
|
214 |
/**
|
@@ -239,7 +384,20 @@ class UserData implements ArrayAccess {
|
|
239 |
* @return $this
|
240 |
*/
|
241 |
public function setEmail($email) {
|
242 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
|
244 |
return $this;
|
245 |
}
|
@@ -252,7 +410,20 @@ class UserData implements ArrayAccess {
|
|
252 |
* @return $this
|
253 |
*/
|
254 |
public function setPhone($phone) {
|
255 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
|
257 |
return $this;
|
258 |
}
|
@@ -263,7 +434,19 @@ class UserData implements ArrayAccess {
|
|
263 |
* @return $this
|
264 |
*/
|
265 |
public function setGender($gender) {
|
266 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
|
268 |
return $this;
|
269 |
}
|
@@ -276,7 +459,20 @@ class UserData implements ArrayAccess {
|
|
276 |
* @return $this
|
277 |
*/
|
278 |
public function setDateOfBirth($date_of_birth) {
|
279 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
|
281 |
return $this;
|
282 |
}
|
@@ -289,7 +485,20 @@ class UserData implements ArrayAccess {
|
|
289 |
* @return $this
|
290 |
*/
|
291 |
public function setLastName($last_name) {
|
292 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
|
294 |
return $this;
|
295 |
}
|
@@ -302,7 +511,20 @@ class UserData implements ArrayAccess {
|
|
302 |
* @return $this
|
303 |
*/
|
304 |
public function setFirstName($first_name) {
|
305 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
|
307 |
return $this;
|
308 |
}
|
@@ -315,7 +537,20 @@ class UserData implements ArrayAccess {
|
|
315 |
* @return $this
|
316 |
*/
|
317 |
public function setCity($city) {
|
318 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
|
320 |
return $this;
|
321 |
}
|
@@ -328,7 +563,20 @@ class UserData implements ArrayAccess {
|
|
328 |
* @return $this
|
329 |
*/
|
330 |
public function setState($state) {
|
331 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
|
333 |
return $this;
|
334 |
}
|
@@ -341,7 +589,20 @@ class UserData implements ArrayAccess {
|
|
341 |
* @return $this
|
342 |
*/
|
343 |
public function setCountryCode($country_code) {
|
344 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
|
346 |
return $this;
|
347 |
}
|
@@ -354,7 +615,20 @@ class UserData implements ArrayAccess {
|
|
354 |
* @return $this
|
355 |
*/
|
356 |
public function setZipCode($zip_code) {
|
357 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
|
359 |
return $this;
|
360 |
}
|
@@ -363,13 +637,28 @@ class UserData implements ArrayAccess {
|
|
363 |
* Sets any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
|
364 |
* cookie IDs. In the Offline Conversions API, this is known as extern_id. For more information,
|
365 |
* see Offline Conversions, Providing External IDs. If External ID is being sent via other
|
366 |
-
* channels, then it should be sent in the same format via the
|
367 |
* @param string $external_id Any unique ID from the advertiser, such as loyalty membership IDs,
|
368 |
* user IDs, and external cookie IDs.
|
369 |
* @return $this
|
370 |
*/
|
371 |
public function setExternalId($external_id) {
|
372 |
-
$this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
|
374 |
return $this;
|
375 |
}
|
@@ -399,7 +688,7 @@ class UserData implements ArrayAccess {
|
|
399 |
/**
|
400 |
* Sets Facebook click ID value stored in the _fbc browser cookie under your domain. See Managing
|
401 |
* fbc and fbp Parameters for how to get this value
|
402 |
-
* (https://developers.facebook.com/docs/marketing-api/
|
403 |
* or generate this value from a fbclid query parameter.
|
404 |
* @param string $fbc The Facebook click ID value stored in the _fbc browser cookie under your domain.
|
405 |
* @return $this
|
@@ -413,7 +702,7 @@ class UserData implements ArrayAccess {
|
|
413 |
/**
|
414 |
* Sets Set Facebook browser ID value stored in the _fbp browser cookie under your domain. See Managing
|
415 |
* fbc and fbp Parameters for how to get this value
|
416 |
-
* (https://developers.facebook.com/docs/marketing-api/
|
417 |
* or generate this value from a fbclid query parameter.
|
418 |
* @param string $fbp The Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
419 |
* @return $this
|
@@ -571,17 +860,17 @@ class UserData implements ArrayAccess {
|
|
571 |
public function normalize() {
|
572 |
$normalized_payload = array();
|
573 |
|
574 |
-
$normalized_payload['em'] =
|
575 |
-
$normalized_payload['ph'] =
|
576 |
-
$normalized_payload['ge'] =
|
577 |
-
$normalized_payload['db'] =
|
578 |
-
$normalized_payload['ln'] =
|
579 |
-
$normalized_payload['fn'] =
|
580 |
-
$normalized_payload['ct'] =
|
581 |
-
$normalized_payload['st'] =
|
582 |
-
$normalized_payload['zp'] =
|
583 |
-
$normalized_payload['country'] =
|
584 |
-
$normalized_payload['external_id'] = $this->
|
585 |
$normalized_payload['client_ip_address'] = $this->getClientIpAddress();
|
586 |
$normalized_payload['client_user_agent'] = $this->getClientUserAgent();
|
587 |
$normalized_payload['fbc'] = $this->getFbc();
|
@@ -599,12 +888,49 @@ class UserData implements ArrayAccess {
|
|
599 |
return $normalized_payload;
|
600 |
}
|
601 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
602 |
/**
|
603 |
* Gets an email address, in lowercase.
|
604 |
* @return string
|
605 |
*/
|
606 |
public function getEmail() {
|
607 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
}
|
609 |
|
610 |
/**
|
@@ -612,7 +938,15 @@ class UserData implements ArrayAccess {
|
|
612 |
* @return string
|
613 |
*/
|
614 |
public function getPhone() {
|
615 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
}
|
617 |
|
618 |
/**
|
@@ -620,7 +954,15 @@ class UserData implements ArrayAccess {
|
|
620 |
* @return string
|
621 |
*/
|
622 |
public function getGender() {
|
623 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
624 |
}
|
625 |
|
626 |
/**
|
@@ -628,7 +970,15 @@ class UserData implements ArrayAccess {
|
|
628 |
* @return string
|
629 |
*/
|
630 |
public function getDateOfBirth() {
|
631 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
632 |
}
|
633 |
|
634 |
/**
|
@@ -636,7 +986,15 @@ class UserData implements ArrayAccess {
|
|
636 |
* @return string
|
637 |
*/
|
638 |
public function getLastName() {
|
639 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
640 |
}
|
641 |
|
642 |
/**
|
@@ -644,7 +1002,15 @@ class UserData implements ArrayAccess {
|
|
644 |
* @return string
|
645 |
*/
|
646 |
public function getFirstName() {
|
647 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
648 |
}
|
649 |
|
650 |
/**
|
@@ -652,7 +1018,15 @@ class UserData implements ArrayAccess {
|
|
652 |
* @return string
|
653 |
*/
|
654 |
public function getCity() {
|
655 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
}
|
657 |
|
658 |
/**
|
@@ -660,7 +1034,15 @@ class UserData implements ArrayAccess {
|
|
660 |
* @return string
|
661 |
*/
|
662 |
public function getState() {
|
663 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
664 |
}
|
665 |
|
666 |
/**
|
@@ -668,7 +1050,15 @@ class UserData implements ArrayAccess {
|
|
668 |
* @return string
|
669 |
*/
|
670 |
public function getZipCode() {
|
671 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
672 |
}
|
673 |
|
674 |
/**
|
@@ -676,7 +1066,15 @@ class UserData implements ArrayAccess {
|
|
676 |
* @return string
|
677 |
*/
|
678 |
public function getCountryCode() {
|
679 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
}
|
681 |
|
682 |
/**
|
@@ -684,7 +1082,15 @@ class UserData implements ArrayAccess {
|
|
684 |
* @return string
|
685 |
*/
|
686 |
public function getExternalId() {
|
687 |
-
return $this->container['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
}
|
689 |
|
690 |
/**
|
25 |
namespace FacebookAds\Object\ServerSide;
|
26 |
|
27 |
use ArrayAccess;
|
28 |
+
use InvalidArgumentException;
|
29 |
|
30 |
/**
|
31 |
* UserData is a set of identifiers Facebook can use for targeted attribution.
|
39 |
*/
|
40 |
protected static $swaggerModelName = 'server_side_pixel_user_data';
|
41 |
|
42 |
+
/**
|
43 |
+
* Error message for when both singular and plural values are set via constructor.
|
44 |
+
* @var string
|
45 |
+
*/
|
46 |
+
private static $multiVariableConstructorError = 'Cannot set both %s and %s parameters via constructor. Please set either the singular or plural parameter, not both.';
|
47 |
+
|
48 |
/**
|
49 |
* Array of property to type mappings. Used for (de)serialization
|
50 |
* @var string[]
|
51 |
*/
|
52 |
protected static $param_types = array(
|
53 |
'email' => 'string',
|
54 |
+
'emails' => 'string[]',
|
55 |
'phone' => 'string',
|
56 |
+
'phones' => 'string[]',
|
57 |
'gender' => 'string',
|
58 |
+
'genders' => 'string[]',
|
59 |
'date_of_birth' => 'string',
|
60 |
+
'dates_of_birth' => 'string[]',
|
61 |
'last_name' => 'string',
|
62 |
+
'last_names' => 'string[]',
|
63 |
'first_name' => 'string',
|
64 |
+
'first_names' => 'string[]',
|
65 |
'ct' => 'string',
|
66 |
+
'cts' => 'string[]',
|
67 |
'state' => 'string',
|
68 |
+
'states' => 'string[]',
|
69 |
'country_code' => 'string',
|
70 |
+
'country_codes' => 'string[]',
|
71 |
'zip_code' => 'string',
|
72 |
+
'zip_codes' => 'string[]',
|
73 |
'external_id' => 'string',
|
74 |
+
'external_ids' => 'string[]',
|
75 |
'client_ip_address' => 'string',
|
76 |
'client_user_agent' => 'string',
|
77 |
'fbc' => 'string',
|
92 |
*/
|
93 |
protected static $attributeMap = array(
|
94 |
'email' => 'email',
|
95 |
+
'emails' => 'emails',
|
96 |
'phone' => 'phone',
|
97 |
+
'phones' => 'phones',
|
98 |
'gender' => 'gender',
|
99 |
+
'genders' => 'genders',
|
100 |
'date_of_birth' => 'date_of_birth',
|
101 |
+
'dates_of_birth' => 'dates_of_birth',
|
102 |
'last_name' => 'last_name',
|
103 |
+
'last_names' => 'last_names',
|
104 |
'first_name' => 'first_name',
|
105 |
+
'first_names' => 'first_names',
|
106 |
'ct' => 'ct',
|
107 |
+
'cts' => 'cts',
|
108 |
'state' => 'state',
|
109 |
+
'states' => 'states',
|
110 |
'country_code' => 'country_code',
|
111 |
+
'country_codes' => 'country_codes',
|
112 |
'zip_code' => 'zip_code',
|
113 |
+
'zip_codes' => 'zip_codes',
|
114 |
'external_id' => 'external_id',
|
115 |
+
'external_ids' => 'external_ids',
|
116 |
'client_ip_address' => 'client_ip_address',
|
117 |
'client_user_agent' => 'client_user_agent',
|
118 |
'fbc' => 'fbc',
|
133 |
*/
|
134 |
protected static $setters = array(
|
135 |
'email' => 'setEmail',
|
136 |
+
'emails' => 'setEmails',
|
137 |
'phone' => 'setPhone',
|
138 |
+
'phones' => 'setPhones',
|
139 |
'gender' => 'setGender',
|
140 |
+
'genders' => 'setGenders',
|
141 |
'date_of_birth' => 'setDateOfBirth',
|
142 |
+
'dates_of_birth' => 'setDatesOfBirth',
|
143 |
'last_name' => 'setLastName',
|
144 |
+
'last_names' => 'setLastNames',
|
145 |
'first_name' => 'setFirstName',
|
146 |
+
'first_names' => 'setFirstNames',
|
147 |
'city' => 'setCity',
|
148 |
+
'cities' => 'setCities',
|
149 |
'state' => 'setState',
|
150 |
+
'states' => 'setStates',
|
151 |
'country_code' => 'setCountryCode',
|
152 |
+
'country_codes' => 'setCountryCodes',
|
153 |
'zip_code' => 'setZipCode',
|
154 |
+
'zip_codes' => 'setZipCodes',
|
155 |
'external_id' => 'setExternalId',
|
156 |
+
'external_ids' => 'setExternalIds',
|
157 |
'client_ip_address' => 'setClientIpAddress',
|
158 |
'client_user_agent' => 'setClientUserAgent',
|
159 |
'fbc' => 'setFbc',
|
174 |
*/
|
175 |
protected static $getters = array(
|
176 |
'email' => 'getEmail',
|
177 |
+
'emails' => 'getEmails',
|
178 |
'phone' => 'getPhone',
|
179 |
+
'phones' => 'getPhones',
|
180 |
'gender' => 'getGender',
|
181 |
+
'genders' => 'getGenders',
|
182 |
'date_of_birth' => 'getDateOfBirth',
|
183 |
+
'dates_of_birth' => 'getDatesOfBirth',
|
184 |
'last_name' => 'getLastName',
|
185 |
+
'last_names' => 'getLastNames',
|
186 |
'first_name' => 'getFirstName',
|
187 |
+
'first_names' => 'getFirstNames',
|
188 |
'city' => 'getCity',
|
189 |
+
'cities' => 'getCities',
|
190 |
'state' => 'getState',
|
191 |
+
'states' => 'getStates',
|
192 |
'country_code' => 'getCountryCode',
|
193 |
+
'country_codes' => 'getCountryCodes',
|
194 |
'zip_code' => 'getZipCode',
|
195 |
+
'zip_codes' => 'getZipCodes',
|
196 |
'external_id' => 'getExternalId',
|
197 |
+
'external_ids' => 'getExternalIds',
|
198 |
'client_ip_address' => 'getClientIpAddress',
|
199 |
'client_user_agent' => 'getClientUserAgent',
|
200 |
'fbc' => 'getFbc',
|
220 |
* @param mixed[] $data Associated array of property value initalizing the model
|
221 |
*/
|
222 |
public function __construct(array $data = null) {
|
223 |
+
|
224 |
+
# Let's make sure not both singular and plural parameters are set
|
225 |
+
if(isset($data['email']) And isset($data['emails'])) {
|
226 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'email', 'emails'));
|
227 |
+
}
|
228 |
+
if(isset($data['phone']) And isset($data['phones'])) {
|
229 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'phone', 'phones'));
|
230 |
+
}
|
231 |
+
if (isset($data['gender']) and isset($data['genders'])) {
|
232 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'gender', 'genders'));
|
233 |
+
}
|
234 |
+
if (isset($data['date_of_birth']) and isset($data['dates_of_birth'])) {
|
235 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'date_of_birth', 'dates_of_birth'));
|
236 |
+
}
|
237 |
+
if (isset($data['last_name']) and isset($data['last_names'])) {
|
238 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'last_name', 'last_names'));
|
239 |
+
}
|
240 |
+
if (isset($data['first_name']) and isset($data['first_names'])) {
|
241 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'first_name', 'first_names'));
|
242 |
+
}
|
243 |
+
if (isset($data['city']) and isset($data['cities'])) {
|
244 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'city', 'cities'));
|
245 |
+
}
|
246 |
+
if (isset($data['state']) and isset($data['states'])) {
|
247 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'state', 'states'));
|
248 |
+
}
|
249 |
+
if (isset($data['country_code']) and isset($data['country_codes'])) {
|
250 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'country_code', 'country_codes'));
|
251 |
+
}
|
252 |
+
if (isset($data['zip_code']) and isset($data['zip_codes'])) {
|
253 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'zip_code', 'zip_codes'));
|
254 |
+
}
|
255 |
+
if (isset($data['external_id']) and isset($data['external_ids'])) {
|
256 |
+
throw new InvalidArgumentException(sprintf(self::$multiVariableConstructorError, 'external_id', 'external_ids'));
|
257 |
+
}
|
258 |
+
|
259 |
+
# Set the parameters depending on which one is passed in.
|
260 |
+
if (isset($data['email'])) {
|
261 |
+
$this->setEmail($data['email']);
|
262 |
+
} else if(isset($data['emails'])) {
|
263 |
+
$this->setEmails($data['emails']);
|
264 |
+
}
|
265 |
+
if (isset($data['phone'])) {
|
266 |
+
$this->setPhone($data['phone']);
|
267 |
+
} else if(isset($data['phones'])) {
|
268 |
+
$this->setPhones($data['phones']);
|
269 |
+
}
|
270 |
+
if (isset($data['gender'])) {
|
271 |
+
$this->setGender($data['gender']);
|
272 |
+
} else if(isset($data['genders'])) {
|
273 |
+
$this->setGenders($data['genders']);
|
274 |
+
}
|
275 |
+
if (isset($data['date_of_birth'])) {
|
276 |
+
$this->setDateOfBirth($data['date_of_birth']);
|
277 |
+
} else if(isset($data['dates_of_birth'])) {
|
278 |
+
$this->setDatesOfBirth($data['dates_of_birth']);
|
279 |
+
}
|
280 |
+
if (isset($data['last_name'])) {
|
281 |
+
$this->setLastName($data['last_name']);
|
282 |
+
} else if(isset($data['last_names'])) {
|
283 |
+
$this->setLastNames($data['last_names']);
|
284 |
+
}
|
285 |
+
if (isset($data['first_name'])) {
|
286 |
+
$this->setFirstName($data['first_name']);
|
287 |
+
} else if(isset($data['first_names'])) {
|
288 |
+
$this->setFirstNames($data['first_names']);
|
289 |
+
}
|
290 |
+
if (isset($data['city'])) {
|
291 |
+
$this->setCity($data['city']);
|
292 |
+
} else if(isset($data['cities'])) {
|
293 |
+
$this->setCities($data['cities']);
|
294 |
+
}
|
295 |
+
if (isset($data['state'])) {
|
296 |
+
$this->setState($data['state']);
|
297 |
+
} else if(isset($data['states'])) {
|
298 |
+
$this->setStates($data['states']);
|
299 |
+
}
|
300 |
+
if (isset($data['country_code'])) {
|
301 |
+
$this->setCountryCode($data['country_code']);
|
302 |
+
} else if(isset($data['country_codes'])) {
|
303 |
+
$this->setCountryCodes($data['country_codes']);
|
304 |
+
}
|
305 |
+
if (isset($data['zip_code'])) {
|
306 |
+
$this->setZipCode($data['zip_code']);
|
307 |
+
} else if(isset($data['zip_codes'])) {
|
308 |
+
$this->setZipCodes($data['zip_codes']);
|
309 |
+
}
|
310 |
+
if (isset($data['external_id'])) {
|
311 |
+
$this->setExternalId($data['external_id']);
|
312 |
+
} else if(isset($data['external_ids'])) {
|
313 |
+
$this->setExternalIds($data['external_ids']);
|
314 |
+
}
|
315 |
+
|
316 |
$this->container['client_ip_address'] = isset($data['client_ip_address']) ? $data['client_ip_address'] : null;
|
317 |
$this->container['client_user_agent'] = isset($data['client_user_agent']) ? $data['client_user_agent'] : null;
|
318 |
$this->container['fbc'] = isset($data['fbc']) ? $data['fbc'] : null;
|
328 |
$this->container['doby'] = isset($data['doby']) ? $data['doby'] : null;
|
329 |
}
|
330 |
|
331 |
+
/**
|
332 |
+
* @return string[]
|
333 |
+
*/
|
334 |
public static function paramTypes() {
|
335 |
return self::$param_types;
|
336 |
}
|
337 |
|
338 |
+
/**
|
339 |
+
* @return string[]
|
340 |
+
*/
|
341 |
public static function attributeMap() {
|
342 |
return self::$attributeMap;
|
343 |
}
|
344 |
|
345 |
+
/**
|
346 |
+
* @return string[]
|
347 |
+
*/
|
348 |
public static function setters() {
|
349 |
return self::$setters;
|
350 |
}
|
351 |
|
352 |
+
/**
|
353 |
+
* @return string[]
|
354 |
+
*/
|
355 |
public static function getters() {
|
356 |
+
return self::$getters;
|
357 |
}
|
358 |
|
359 |
/**
|
384 |
* @return $this
|
385 |
*/
|
386 |
public function setEmail($email) {
|
387 |
+
$this->container['emails'] = isset($email) ? array($email) : null;
|
388 |
+
|
389 |
+
return $this;
|
390 |
+
}
|
391 |
+
|
392 |
+
/**
|
393 |
+
* Sets a list of email addresses, in lowercase.
|
394 |
+
*
|
395 |
+
* <p>Example: array('joe@eg.com', 'mary@test.com')
|
396 |
+
* @param string[] $emails A list of email addresses, in lowercase.
|
397 |
+
* @return $this
|
398 |
+
*/
|
399 |
+
public function setEmails($emails) {
|
400 |
+
$this->container['emails'] = $emails;
|
401 |
|
402 |
return $this;
|
403 |
}
|
410 |
* @return $this
|
411 |
*/
|
412 |
public function setPhone($phone) {
|
413 |
+
$this->container['phones'] = isset($phone) ? array($phone) : null;
|
414 |
+
|
415 |
+
return $this;
|
416 |
+
}
|
417 |
+
|
418 |
+
/**
|
419 |
+
* Sets a list of phone numbers. Include only digits with countryCode code, area code, and number.
|
420 |
+
*
|
421 |
+
* <p>Example: array('16505551212', '12052062007')
|
422 |
+
* @param string[] $phone A list of phone numbers. Include only digits with country code, area code, and number.
|
423 |
+
* @return $this
|
424 |
+
*/
|
425 |
+
public function setPhones($phones) {
|
426 |
+
$this->container['phones'] = $phones;
|
427 |
|
428 |
return $this;
|
429 |
}
|
434 |
* @return $this
|
435 |
*/
|
436 |
public function setGender($gender) {
|
437 |
+
$this->container['genders'] = isset($gender) ? array($gender) : null;
|
438 |
+
|
439 |
+
return $this;
|
440 |
+
}
|
441 |
+
|
442 |
+
/**
|
443 |
+
* Sets a list of Genders, in lowercase.
|
444 |
+
* <p>Example: array('f', 'm')
|
445 |
+
* @param FacebookAds\Object\ServerSide\Gender[] $genders A list of Genders, in lowercase.
|
446 |
+
* @return $this
|
447 |
+
*/
|
448 |
+
public function setGenders($genders) {
|
449 |
+
$this->container['genders'] = $genders;
|
450 |
|
451 |
return $this;
|
452 |
}
|
459 |
* @return $this
|
460 |
*/
|
461 |
public function setDateOfBirth($date_of_birth) {
|
462 |
+
$this->container['dates_of_birth'] = isset($date_of_birth) ? array($date_of_birth) : null;
|
463 |
+
|
464 |
+
return $this;
|
465 |
+
}
|
466 |
+
|
467 |
+
/**
|
468 |
+
* Sets a list of dates of birth given as year, month, and day.
|
469 |
+
*
|
470 |
+
* <p>Example: array('19971226', '19880102')
|
471 |
+
* @param string[] $dates_of_birth A list of dates of birth given as year, month, and day.
|
472 |
+
* @return $this
|
473 |
+
*/
|
474 |
+
public function setDatesOfBirth($dates_of_birth) {
|
475 |
+
$this->container['dates_of_birth'] = $dates_of_birth;
|
476 |
|
477 |
return $this;
|
478 |
}
|
485 |
* @return $this
|
486 |
*/
|
487 |
public function setLastName($last_name) {
|
488 |
+
$this->container['last_names'] = isset($last_name) ? array($last_name) : null;
|
489 |
+
|
490 |
+
return $this;
|
491 |
+
}
|
492 |
+
|
493 |
+
/**
|
494 |
+
* Sets a list of last names in lowercase.
|
495 |
+
*
|
496 |
+
* <p>Example: array('smith', 'brown')
|
497 |
+
* @param string[] $last_names A list of last names in lowercase.
|
498 |
+
* @return $this
|
499 |
+
*/
|
500 |
+
public function setLastNames($last_names) {
|
501 |
+
$this->container['last_names'] = $last_names;
|
502 |
|
503 |
return $this;
|
504 |
}
|
511 |
* @return $this
|
512 |
*/
|
513 |
public function setFirstName($first_name) {
|
514 |
+
$this->container['first_names'] = isset($first_name) ? array($first_name) : null;
|
515 |
+
|
516 |
+
return $this;
|
517 |
+
}
|
518 |
+
|
519 |
+
/**
|
520 |
+
* Sets a list of first names in lowercase.
|
521 |
+
*
|
522 |
+
* <p>Example: array('joe', 'mary')
|
523 |
+
* @param string[] $first_names A list of first names in lowercase.
|
524 |
+
* @return $this
|
525 |
+
*/
|
526 |
+
public function setFirstNames($first_names) {
|
527 |
+
$this->container['first_names'] = $first_names;
|
528 |
|
529 |
return $this;
|
530 |
}
|
537 |
* @return $this
|
538 |
*/
|
539 |
public function setCity($city) {
|
540 |
+
$this->container['cities'] = isset($city) ? array($city) : null;
|
541 |
+
|
542 |
+
return $this;
|
543 |
+
}
|
544 |
+
|
545 |
+
/**
|
546 |
+
* Sets a list of cities in lower-case without spaces or punctuation.
|
547 |
+
*
|
548 |
+
* <p>Example: array('menlopark', 'seattle')
|
549 |
+
* @param string[] $cities A list of cities in lower-case without spaces or punctuation.
|
550 |
+
* @return $this
|
551 |
+
*/
|
552 |
+
public function setCities($cities) {
|
553 |
+
$this->container['cities'] = $cities;
|
554 |
|
555 |
return $this;
|
556 |
}
|
563 |
* @return $this
|
564 |
*/
|
565 |
public function setState($state) {
|
566 |
+
$this->container['states'] = isset($state) ? array($state) : null;
|
567 |
+
|
568 |
+
return $this;
|
569 |
+
}
|
570 |
+
|
571 |
+
/**
|
572 |
+
* Sets a list of two-letter state codes in lowercase.
|
573 |
+
*
|
574 |
+
* <p>Example: array('ca', 'wa')
|
575 |
+
* @param string[] $states A list of two-letter state codes in lowercase.
|
576 |
+
* @return $this
|
577 |
+
*/
|
578 |
+
public function setStates($states) {
|
579 |
+
$this->container['states'] = $states;
|
580 |
|
581 |
return $this;
|
582 |
}
|
589 |
* @return $this
|
590 |
*/
|
591 |
public function setCountryCode($country_code) {
|
592 |
+
$this->container['country_codes'] = isset($country_code) ? array($country_code) : null;
|
593 |
+
|
594 |
+
return $this;
|
595 |
+
}
|
596 |
+
|
597 |
+
/**
|
598 |
+
* Sets a list of two-letter country codes in lowercase.
|
599 |
+
*
|
600 |
+
* <p>Example: array('us', 'ca')
|
601 |
+
* @param string[] $country_codes A list of two-letter country codes in lowercase.
|
602 |
+
* @return $this
|
603 |
+
*/
|
604 |
+
public function setCountryCodes($country_codes) {
|
605 |
+
$this->container['country_codes'] = $country_codes;
|
606 |
|
607 |
return $this;
|
608 |
}
|
615 |
* @return $this
|
616 |
*/
|
617 |
public function setZipCode($zip_code) {
|
618 |
+
$this->container['zip_codes'] = isset($zip_code) ? array($zip_code) : null;
|
619 |
+
|
620 |
+
return $this;
|
621 |
+
}
|
622 |
+
|
623 |
+
/**
|
624 |
+
* Sets a list of five-digit zip codes.
|
625 |
+
*
|
626 |
+
* <p>Example: array('94035', '98001')
|
627 |
+
* @param string[] $zip_codes A list of five-digit zip codes.
|
628 |
+
* @return $this
|
629 |
+
*/
|
630 |
+
public function setZipCodes($zip_codes) {
|
631 |
+
$this->container['zip_codes'] = $zip_codes;
|
632 |
|
633 |
return $this;
|
634 |
}
|
637 |
* Sets any unique ID from the advertiser, such as loyalty membership IDs, user IDs, and external
|
638 |
* cookie IDs. In the Offline Conversions API, this is known as extern_id. For more information,
|
639 |
* see Offline Conversions, Providing External IDs. If External ID is being sent via other
|
640 |
+
* channels, then it should be sent in the same format via the Conversions API.
|
641 |
* @param string $external_id Any unique ID from the advertiser, such as loyalty membership IDs,
|
642 |
* user IDs, and external cookie IDs.
|
643 |
* @return $this
|
644 |
*/
|
645 |
public function setExternalId($external_id) {
|
646 |
+
$this->container['external_ids'] = isset($external_id) ? array($external_id) : null;
|
647 |
+
|
648 |
+
return $this;
|
649 |
+
}
|
650 |
+
|
651 |
+
/**
|
652 |
+
* Sets a list of unique IDs from the advertiser, such as loyalty membership IDs, user IDs, and external
|
653 |
+
* cookie IDs. In the Offline Conversions API, this is known as extern_id. For more information,
|
654 |
+
* see Offline Conversions, Providing External IDs. If External ID is being sent via other
|
655 |
+
* channels, then it should be sent in the same format via the Conversions API.
|
656 |
+
* @param string[] $external_ids A list of unique IDs from the advertiser, such as loyalty membership IDs,
|
657 |
+
* user IDs, and external cookie IDs.
|
658 |
+
* @return $this
|
659 |
+
*/
|
660 |
+
public function setExternalIds($external_ids) {
|
661 |
+
$this->container['external_ids'] = $external_ids;
|
662 |
|
663 |
return $this;
|
664 |
}
|
688 |
/**
|
689 |
* Sets Facebook click ID value stored in the _fbc browser cookie under your domain. See Managing
|
690 |
* fbc and fbp Parameters for how to get this value
|
691 |
+
* (https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters#fbc),
|
692 |
* or generate this value from a fbclid query parameter.
|
693 |
* @param string $fbc The Facebook click ID value stored in the _fbc browser cookie under your domain.
|
694 |
* @return $this
|
702 |
/**
|
703 |
* Sets Set Facebook browser ID value stored in the _fbp browser cookie under your domain. See Managing
|
704 |
* fbc and fbp Parameters for how to get this value
|
705 |
+
* (https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/customer-information-parameters#fbc),
|
706 |
* or generate this value from a fbclid query parameter.
|
707 |
* @param string $fbp The Facebook browser ID value stored in the _fbp browser cookie under your domain.
|
708 |
* @return $this
|
860 |
public function normalize() {
|
861 |
$normalized_payload = array();
|
862 |
|
863 |
+
$normalized_payload['em'] = $this->normalizeHashDedup('em', $this->getEmails());
|
864 |
+
$normalized_payload['ph'] = $this->normalizeHashDedup('ph', $this->getPhones());
|
865 |
+
$normalized_payload['ge'] = $this->normalizeHashDedup('ge', $this->getGenders());
|
866 |
+
$normalized_payload['db'] = $this->normalizeHashDedup('db', $this->getDatesOfBirth());
|
867 |
+
$normalized_payload['ln'] = $this->normalizeHashDedup('ln', $this->getLastNames());
|
868 |
+
$normalized_payload['fn'] = $this->normalizeHashDedup('fn', $this->getFirstNames());
|
869 |
+
$normalized_payload['ct'] = $this->normalizeHashDedup('ct', $this->getCities());
|
870 |
+
$normalized_payload['st'] = $this->normalizeHashDedup('st', $this->getStates());
|
871 |
+
$normalized_payload['zp'] = $this->normalizeHashDedup('zp', $this->getZipCodes());
|
872 |
+
$normalized_payload['country'] = $this->normalizeHashDedup('country', $this->getCountryCodes());
|
873 |
+
$normalized_payload['external_id'] = $this->dedup($this->getExternalIds());
|
874 |
$normalized_payload['client_ip_address'] = $this->getClientIpAddress();
|
875 |
$normalized_payload['client_user_agent'] = $this->getClientUserAgent();
|
876 |
$normalized_payload['fbc'] = $this->getFbc();
|
888 |
return $normalized_payload;
|
889 |
}
|
890 |
|
891 |
+
/**
|
892 |
+
* Simply return a deduped array for the given array, without performing any normalization or hash.
|
893 |
+
*/
|
894 |
+
private function dedup($arr){
|
895 |
+
if(empty($arr)) {
|
896 |
+
return null;
|
897 |
+
}
|
898 |
+
$deduped = array();
|
899 |
+
foreach($arr as $val){
|
900 |
+
$deduped[$val] = true;
|
901 |
+
}
|
902 |
+
return array_keys($deduped);
|
903 |
+
}
|
904 |
+
|
905 |
+
/**
|
906 |
+
* Return a normalized, hashed, and deduped array for the given array.
|
907 |
+
*/
|
908 |
+
private function normalizeHashDedup($fieldName, $valueList){
|
909 |
+
if(empty($valueList) || !isset($fieldName)) {
|
910 |
+
return null;
|
911 |
+
}
|
912 |
+
$deduped = array();
|
913 |
+
foreach($valueList as $val){
|
914 |
+
$hashedVal = Util::hash(Normalizer::normalize($fieldName, $val));
|
915 |
+
$deduped[$hashedVal] = true;
|
916 |
+
}
|
917 |
+
return array_keys($deduped);
|
918 |
+
}
|
919 |
+
|
920 |
/**
|
921 |
* Gets an email address, in lowercase.
|
922 |
* @return string
|
923 |
*/
|
924 |
public function getEmail() {
|
925 |
+
return empty($this->container['emails']) ? null : $this->container['emails'][0];
|
926 |
+
}
|
927 |
+
|
928 |
+
/**
|
929 |
+
* Gets a list of email addresses, in lowercase.
|
930 |
+
* @return string[]
|
931 |
+
*/
|
932 |
+
public function getEmails() {
|
933 |
+
return empty($this->container['emails']) ? null : $this->container['emails'];
|
934 |
}
|
935 |
|
936 |
/**
|
938 |
* @return string
|
939 |
*/
|
940 |
public function getPhone() {
|
941 |
+
return empty($this->container['phones']) ? null : $this->container['phones'][0];
|
942 |
+
}
|
943 |
+
|
944 |
+
/**
|
945 |
+
* Gets a list of phone numbers
|
946 |
+
* @return string[]
|
947 |
+
*/
|
948 |
+
public function getPhones() {
|
949 |
+
return empty($this->container['phones']) ? null : $this->container['phones'];
|
950 |
}
|
951 |
|
952 |
/**
|
954 |
* @return string
|
955 |
*/
|
956 |
public function getGender() {
|
957 |
+
return empty($this->container['genders']) ? null : $this->container['genders'][0];
|
958 |
+
}
|
959 |
+
|
960 |
+
/**
|
961 |
+
* Gets a list of genders.
|
962 |
+
* @return string[]
|
963 |
+
*/
|
964 |
+
public function getGenders() {
|
965 |
+
return empty($this->container['genders']) ? null : $this->container['genders'];
|
966 |
}
|
967 |
|
968 |
/**
|
970 |
* @return string
|
971 |
*/
|
972 |
public function getDateOfBirth() {
|
973 |
+
return empty($this->container['dates_of_birth']) ? null : $this->container['dates_of_birth'][0];
|
974 |
+
}
|
975 |
+
|
976 |
+
/**
|
977 |
+
* Gets a list of dates Of Birth.
|
978 |
+
* @return string[]
|
979 |
+
*/
|
980 |
+
public function getDatesOfBirth() {
|
981 |
+
return empty($this->container['dates_of_birth']) ? null : $this->container['dates_of_birth'];
|
982 |
}
|
983 |
|
984 |
/**
|
986 |
* @return string
|
987 |
*/
|
988 |
public function getLastName() {
|
989 |
+
return empty($this->container['last_names']) ? null : $this->container['last_names'][0];
|
990 |
+
}
|
991 |
+
|
992 |
+
/**
|
993 |
+
* Gets a list of Last Names.
|
994 |
+
* @return string[]
|
995 |
+
*/
|
996 |
+
public function getLastNames() {
|
997 |
+
return empty($this->container['last_names']) ? null : $this->container['last_names'];
|
998 |
}
|
999 |
|
1000 |
/**
|
1002 |
* @return string
|
1003 |
*/
|
1004 |
public function getFirstName() {
|
1005 |
+
return empty($this->container['first_names']) ? null : $this->container['first_names'][0];
|
1006 |
+
}
|
1007 |
+
|
1008 |
+
/**
|
1009 |
+
* Gets a list of First Name.
|
1010 |
+
* @return string[]
|
1011 |
+
*/
|
1012 |
+
public function getFirstNames() {
|
1013 |
+
return empty($this->container['first_names']) ? null : $this->container['first_names'];
|
1014 |
}
|
1015 |
|
1016 |
/**
|
1018 |
* @return string
|
1019 |
*/
|
1020 |
public function getCity() {
|
1021 |
+
return empty($this->container['cities']) ? null : $this->container['cities'][0];
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
/**
|
1025 |
+
* Gets a list of cities.
|
1026 |
+
* @return string[]
|
1027 |
+
*/
|
1028 |
+
public function getCities() {
|
1029 |
+
return empty($this->container['cities']) ? null : $this->container['cities'];
|
1030 |
}
|
1031 |
|
1032 |
/**
|
1034 |
* @return string
|
1035 |
*/
|
1036 |
public function getState() {
|
1037 |
+
return empty($this->container['states']) ? null : $this->container['states'][0];
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
/**
|
1041 |
+
* Gets a list of states.
|
1042 |
+
* @return string[]
|
1043 |
+
*/
|
1044 |
+
public function getStates() {
|
1045 |
+
return empty($this->container['states']) ? null : $this->container['states'];
|
1046 |
}
|
1047 |
|
1048 |
/**
|
1050 |
* @return string
|
1051 |
*/
|
1052 |
public function getZipCode() {
|
1053 |
+
return empty($this->container['zip_codes']) ? null : $this->container['zip_codes'][0];
|
1054 |
+
}
|
1055 |
+
|
1056 |
+
/**
|
1057 |
+
* Gets zip codes
|
1058 |
+
* @return string[]
|
1059 |
+
*/
|
1060 |
+
public function getZipCodes() {
|
1061 |
+
return empty($this->container['zip_codes']) ? null : $this->container['zip_codes'];
|
1062 |
}
|
1063 |
|
1064 |
/**
|
1066 |
* @return string
|
1067 |
*/
|
1068 |
public function getCountryCode() {
|
1069 |
+
return empty($this->container['country_codes']) ? null : $this->container['country_codes'][0];
|
1070 |
+
}
|
1071 |
+
|
1072 |
+
/**
|
1073 |
+
* Gets country codes.
|
1074 |
+
* @return string[]
|
1075 |
+
*/
|
1076 |
+
public function getCountryCodes() {
|
1077 |
+
return empty($this->container['country_codes']) ? null : $this->container['country_codes'];
|
1078 |
}
|
1079 |
|
1080 |
/**
|
1082 |
* @return string
|
1083 |
*/
|
1084 |
public function getExternalId() {
|
1085 |
+
return empty($this->container['external_ids']) ? null : $this->container['external_ids'][0];
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
/**
|
1089 |
+
* Gets a list of unique IDs from the advertiser, such as loyalty membership IDs, user IDs, and external cookie IDs.
|
1090 |
+
* @return string[]
|
1091 |
+
*/
|
1092 |
+
public function getExternalIds() {
|
1093 |
+
return empty($this->container['external_ids']) ? null : $this->container['external_ids'];
|
1094 |
}
|
1095 |
|
1096 |
/**
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/UnifiedThread.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\UnifiedThreadFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,6 +51,7 @@ class UnifiedThread extends AbstractCrudObject {
|
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\UnifiedThreadFields;
|
32 |
+
use FacebookAds\Object\Values\UnifiedThreadPlatformValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['Platform'] = UnifiedThreadPlatformValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedWhitelistedTypesValues.php
CHANGED
@@ -68,6 +68,7 @@ class AdAccountTargetingUnifiedWhitelistedTypesValues extends AbstractEnum {
|
|
68 |
const EFFECTIVE_FACEBOOK_POSITIONS = 'effective_facebook_positions';
|
69 |
const EFFECTIVE_INSTAGRAM_POSITIONS = 'effective_instagram_positions';
|
70 |
const EFFECTIVE_MESSENGER_POSITIONS = 'effective_messenger_positions';
|
|
|
71 |
const EFFECTIVE_PUBLISHER_PLATFORMS = 'effective_publisher_platforms';
|
72 |
const EFFECTIVE_WHATSAPP_POSITIONS = 'effective_whatsapp_positions';
|
73 |
const ENGAGEMENT_SPECS = 'engagement_specs';
|
@@ -126,6 +127,7 @@ class AdAccountTargetingUnifiedWhitelistedTypesValues extends AbstractEnum {
|
|
126 |
const MOBILE_DEVICE_MODEL = 'mobile_device_model';
|
127 |
const MOMS = 'moms';
|
128 |
const NET_WORTH = 'net_worth';
|
|
|
129 |
const OFFICE_TYPE = 'office_type';
|
130 |
const PAGE_TYPES = 'page_types';
|
131 |
const PLACE_PAGE_SET_IDS = 'place_page_set_ids';
|
68 |
const EFFECTIVE_FACEBOOK_POSITIONS = 'effective_facebook_positions';
|
69 |
const EFFECTIVE_INSTAGRAM_POSITIONS = 'effective_instagram_positions';
|
70 |
const EFFECTIVE_MESSENGER_POSITIONS = 'effective_messenger_positions';
|
71 |
+
const EFFECTIVE_OCULUS_POSITIONS = 'effective_oculus_positions';
|
72 |
const EFFECTIVE_PUBLISHER_PLATFORMS = 'effective_publisher_platforms';
|
73 |
const EFFECTIVE_WHATSAPP_POSITIONS = 'effective_whatsapp_positions';
|
74 |
const ENGAGEMENT_SPECS = 'engagement_specs';
|
127 |
const MOBILE_DEVICE_MODEL = 'mobile_device_model';
|
128 |
const MOMS = 'moms';
|
129 |
const NET_WORTH = 'net_worth';
|
130 |
+
const OCULUS_POSITIONS = 'oculus_positions';
|
131 |
const OFFICE_TYPE = 'office_type';
|
132 |
const PAGE_TYPES = 'page_types';
|
133 |
const PLACE_PAGE_SET_IDS = 'place_page_set_ids';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php
CHANGED
@@ -83,6 +83,7 @@ class AdAssetFeedSpecCallToActionTypesValues extends AbstractEnum {
|
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
|
|
86 |
const SHARE = 'SHARE';
|
87 |
const SHOP_NOW = 'SHOP_NOW';
|
88 |
const SIGN_UP = 'SIGN_UP';
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
86 |
+
const SEND_GIFT_MONEY = 'SEND_GIFT_MONEY';
|
87 |
const SHARE = 'SHARE';
|
88 |
const SHOP_NOW = 'SHOP_NOW';
|
89 |
const SIGN_UP = 'SIGN_UP';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php
CHANGED
@@ -83,6 +83,7 @@ class AdCreativeCallToActionTypeValues extends AbstractEnum {
|
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
|
|
86 |
const SHARE = 'SHARE';
|
87 |
const SHOP_NOW = 'SHOP_NOW';
|
88 |
const SIGN_UP = 'SIGN_UP';
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
86 |
+
const SEND_GIFT_MONEY = 'SEND_GIFT_MONEY';
|
87 |
const SHARE = 'SHARE';
|
88 |
const SHOP_NOW = 'SHOP_NOW';
|
89 |
const SIGN_UP = 'SIGN_UP';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php
CHANGED
@@ -83,6 +83,7 @@ class AdCreativeLinkDataCallToActionTypeValues extends AbstractEnum {
|
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
|
|
86 |
const SHARE = 'SHARE';
|
87 |
const SHOP_NOW = 'SHOP_NOW';
|
88 |
const SIGN_UP = 'SIGN_UP';
|
83 |
const SEE_MORE = 'SEE_MORE';
|
84 |
const SELL_NOW = 'SELL_NOW';
|
85 |
const SEND_A_GIFT = 'SEND_A_GIFT';
|
86 |
+
const SEND_GIFT_MONEY = 'SEND_GIFT_MONEY';
|
87 |
const SHARE = 'SHARE';
|
88 |
const SHOP_NOW = 'SHOP_NOW';
|
89 |
const SIGN_UP = 'SIGN_UP';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdDatePresetValues.php
CHANGED
@@ -48,7 +48,7 @@ class AdDatePresetValues extends AbstractEnum {
|
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
-
const
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
+
const MAXIMUM = 'maximum';
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php
CHANGED
@@ -43,9 +43,11 @@ class AdPreviewAdFormatValues extends AbstractEnum {
|
|
43 |
const AUDIENCE_NETWORK_REWARDED_VIDEO = 'AUDIENCE_NETWORK_REWARDED_VIDEO';
|
44 |
const DESKTOP_FEED_STANDARD = 'DESKTOP_FEED_STANDARD';
|
45 |
const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
|
|
|
46 |
const INSTAGRAM_EXPLORE_CONTEXTUAL = 'INSTAGRAM_EXPLORE_CONTEXTUAL';
|
47 |
const INSTAGRAM_EXPLORE_IMMERSIVE = 'INSTAGRAM_EXPLORE_IMMERSIVE';
|
48 |
const INSTAGRAM_REELS = 'INSTAGRAM_REELS';
|
|
|
49 |
const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
|
50 |
const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
|
51 |
const INSTANT_ARTICLE_RECIRCULATION_AD = 'INSTANT_ARTICLE_RECIRCULATION_AD';
|
43 |
const AUDIENCE_NETWORK_REWARDED_VIDEO = 'AUDIENCE_NETWORK_REWARDED_VIDEO';
|
44 |
const DESKTOP_FEED_STANDARD = 'DESKTOP_FEED_STANDARD';
|
45 |
const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
|
46 |
+
const FACEBOOK_STORY_STICKER_MOBILE = 'FACEBOOK_STORY_STICKER_MOBILE';
|
47 |
const INSTAGRAM_EXPLORE_CONTEXTUAL = 'INSTAGRAM_EXPLORE_CONTEXTUAL';
|
48 |
const INSTAGRAM_EXPLORE_IMMERSIVE = 'INSTAGRAM_EXPLORE_IMMERSIVE';
|
49 |
const INSTAGRAM_REELS = 'INSTAGRAM_REELS';
|
50 |
+
const INSTAGRAM_SHOP_TAB = 'INSTAGRAM_SHOP_TAB';
|
51 |
const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
|
52 |
const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
|
53 |
const INSTANT_ARTICLE_RECIRCULATION_AD = 'INSTANT_ARTICLE_RECIRCULATION_AD';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdRuleStatusValues.php
CHANGED
@@ -40,4 +40,5 @@ class AdRuleStatusValues extends AbstractEnum {
|
|
40 |
const DELETED = 'DELETED';
|
41 |
const DISABLED = 'DISABLED';
|
42 |
const ENABLED = 'ENABLED';
|
|
|
43 |
}
|
40 |
const DELETED = 'DELETED';
|
41 |
const DISABLED = 'DISABLED';
|
42 |
const ENABLED = 'ENABLED';
|
43 |
+
const HAS_ISSUES = 'HAS_ISSUES';
|
44 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetDatePresetValues.php
CHANGED
@@ -48,7 +48,7 @@ class AdSetDatePresetValues extends AbstractEnum {
|
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
-
const
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
+
const MAXIMUM = 'maximum';
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdStudyObjectiveTypeValues.php
CHANGED
@@ -37,11 +37,13 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
*/
|
38 |
class AdStudyObjectiveTypeValues extends AbstractEnum {
|
39 |
|
|
|
40 |
const BRAND = 'BRAND';
|
41 |
const BRANDLIFT = 'BRANDLIFT';
|
42 |
const FTL = 'FTL';
|
43 |
const MAE = 'MAE';
|
44 |
const MAI = 'MAI';
|
|
|
45 |
const NONSALES = 'NONSALES';
|
46 |
const PARTNER = 'PARTNER';
|
47 |
const SALES = 'SALES';
|
37 |
*/
|
38 |
class AdStudyObjectiveTypeValues extends AbstractEnum {
|
39 |
|
40 |
+
const AEP_CONVERSION = 'AEP_CONVERSION';
|
41 |
const BRAND = 'BRAND';
|
42 |
const BRANDLIFT = 'BRANDLIFT';
|
43 |
const FTL = 'FTL';
|
44 |
const MAE = 'MAE';
|
45 |
const MAI = 'MAI';
|
46 |
+
const MPC_CONVERSION = 'MPC_CONVERSION';
|
47 |
const NONSALES = 'NONSALES';
|
48 |
const PARTNER = 'PARTNER';
|
49 |
const SALES = 'SALES';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php
CHANGED
@@ -48,16 +48,14 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
48 |
const APP_REVIEW_SCREENCAST = 'APP_REVIEW_SCREENCAST';
|
49 |
const ATLAS_VIDEO = 'ATLAS_VIDEO';
|
50 |
const AUDIO_BROADCAST = 'AUDIO_BROADCAST';
|
51 |
-
const BELL_POLL = 'BELL_POLL';
|
52 |
-
const BRAND_EQUITY_POLL_VIDEO = 'BRAND_EQUITY_POLL_VIDEO';
|
53 |
const BROADCAST = 'BROADCAST';
|
54 |
-
const CANDIDATE_VIDEOS = 'CANDIDATE_VIDEOS';
|
55 |
const CANVAS = 'CANVAS';
|
56 |
const CFC_VIDEO = 'CFC_VIDEO';
|
57 |
const CMS_MEDIA_MANAGER = 'CMS_MEDIA_MANAGER';
|
58 |
const CONTAINED_POST_ATTACHMENT = 'CONTAINED_POST_ATTACHMENT';
|
59 |
const CONTAINED_POST_AUDIO_BROADCAST = 'CONTAINED_POST_AUDIO_BROADCAST';
|
60 |
const CONTAINED_POST_BROADCAST = 'CONTAINED_POST_BROADCAST';
|
|
|
61 |
const COPYRIGHT_REFERENCE_BROADCAST = 'COPYRIGHT_REFERENCE_BROADCAST';
|
62 |
const COPYRIGHT_REFERENCE_VIDEO = 'COPYRIGHT_REFERENCE_VIDEO';
|
63 |
const CULTURAL_MOMENT_DEPRECATED = 'CULTURAL_MOMENT_DEPRECATED';
|
@@ -77,9 +75,9 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
77 |
const FB_SHORTS = 'FB_SHORTS';
|
78 |
const FB_SHORTS_GROUP_POST = 'FB_SHORTS_GROUP_POST';
|
79 |
const FB_SHORTS_POST = 'FB_SHORTS_POST';
|
|
|
80 |
const FUNDRAISER_COVER_VIDEO = 'FUNDRAISER_COVER_VIDEO';
|
81 |
const GAME_CLIP = 'GAME_CLIP';
|
82 |
-
const GAMING_UPDATE_VIDEO = 'GAMING_UPDATE_VIDEO';
|
83 |
const GEMSTONE = 'GEMSTONE';
|
84 |
const GOODWILL_ANNIVERSARY_DEPRECATED = 'GOODWILL_ANNIVERSARY_DEPRECATED';
|
85 |
const GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED = 'GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED';
|
@@ -88,9 +86,11 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
88 |
const GOODWILL_VIDEO_SHARE = 'GOODWILL_VIDEO_SHARE';
|
89 |
const GOODWILL_VIDEO_TOKEN_REQUIRED = 'GOODWILL_VIDEO_TOKEN_REQUIRED';
|
90 |
const GROUP_POST = 'GROUP_POST';
|
|
|
91 |
const HEURISTIC_CLUSTER_VIDEO = 'HEURISTIC_CLUSTER_VIDEO';
|
92 |
const HEURISTIC_PREVIEW = 'HEURISTIC_PREVIEW';
|
93 |
const HIGHLIGHT_CLIP_VIDEO = 'HIGHLIGHT_CLIP_VIDEO';
|
|
|
94 |
const IG_REELS_XPV = 'IG_REELS_XPV';
|
95 |
const IG_STORIES_READER = 'IG_STORIES_READER';
|
96 |
const INSPIRATION_VIDEO = 'INSPIRATION_VIDEO';
|
@@ -99,6 +99,7 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
99 |
const INSTANT_ARTICLE = 'INSTANT_ARTICLE';
|
100 |
const INSTANT_GAME_CLIP = 'INSTANT_GAME_CLIP';
|
101 |
const ISSUE_MODULE = 'ISSUE_MODULE';
|
|
|
102 |
const JOB_APPLICATION_VIDEO = 'JOB_APPLICATION_VIDEO';
|
103 |
const JOB_OPENING_VIDEO = 'JOB_OPENING_VIDEO';
|
104 |
const KOTOTORO = 'KOTOTORO';
|
@@ -110,7 +111,7 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
110 |
const LOOK_NOW_DEPRECATED = 'LOOK_NOW_DEPRECATED';
|
111 |
const MARKETPLACE_LISTING_VIDEO = 'MARKETPLACE_LISTING_VIDEO';
|
112 |
const MARKETPLACE_PRE_RECORDED_VIDEO = 'MARKETPLACE_PRE_RECORDED_VIDEO';
|
113 |
-
const
|
114 |
const NEO_ASYNC_GAME_VIDEO = 'NEO_ASYNC_GAME_VIDEO';
|
115 |
const NO_STORY = 'NO_STORY';
|
116 |
const NO_STORY_WITH_ENTPOST = 'NO_STORY_WITH_ENTPOST';
|
@@ -120,13 +121,20 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
120 |
const PAGES_COVER_VIDEO = 'PAGES_COVER_VIDEO';
|
121 |
const PAGE_REVIEW_SCREENCAST = 'PAGE_REVIEW_SCREENCAST';
|
122 |
const PAGE_SLIDESHOW_VIDEO = 'PAGE_SLIDESHOW_VIDEO';
|
|
|
123 |
const PIXELCLOUD = 'PIXELCLOUD';
|
|
|
|
|
|
|
|
|
|
|
124 |
const PREMIERE_SOURCE = 'PREMIERE_SOURCE';
|
|
|
|
|
125 |
const PRIVATE_GALLERY_VIDEO = 'PRIVATE_GALLERY_VIDEO';
|
126 |
const PRODUCT_VIDEO = 'PRODUCT_VIDEO';
|
127 |
const PROFILE_COVER_VIDEO = 'PROFILE_COVER_VIDEO';
|
128 |
const PROFILE_INTRO_CARD = 'PROFILE_INTRO_CARD';
|
129 |
-
const PROFILE_TO_PAGE_UPLOADED_VIDEO = 'PROFILE_TO_PAGE_UPLOADED_VIDEO';
|
130 |
const PROFILE_VIDEO = 'PROFILE_VIDEO';
|
131 |
const PROTON = 'PROTON';
|
132 |
const QUICK_PROMOTION = 'QUICK_PROMOTION';
|
@@ -138,7 +146,10 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
138 |
const SLIDESHOW_SHAKR = 'SLIDESHOW_SHAKR';
|
139 |
const SLIDESHOW_VARIATION_VIDEO = 'SLIDESHOW_VARIATION_VIDEO';
|
140 |
const SOTTO_CONTENT = 'SOTTO_CONTENT';
|
|
|
141 |
const SOUND_PLATFORM_STREAM = 'SOUND_PLATFORM_STREAM';
|
|
|
|
|
142 |
const STORIES_VIDEO = 'STORIES_VIDEO';
|
143 |
const STORYLINE = 'STORYLINE';
|
144 |
const STORYLINE_WITH_EXTERNAL_MUSIC = 'STORYLINE_WITH_EXTERNAL_MUSIC';
|
@@ -146,11 +157,16 @@ class AdVideoContainerTypeValues extends AbstractEnum {
|
|
146 |
const STORY_CARD_TEMPLATE = 'STORY_CARD_TEMPLATE';
|
147 |
const STREAM_HIGHLIGHTS_VIDEO = 'STREAM_HIGHLIGHTS_VIDEO';
|
148 |
const TAROT_DIGEST = 'TAROT_DIGEST';
|
|
|
149 |
const TEMP_MULTIMEDIA_POST = 'TEMP_MULTIMEDIA_POST';
|
150 |
const UNLISTED = 'UNLISTED';
|
|
|
|
|
151 |
const VIDEO_COMMENT = 'VIDEO_COMMENT';
|
|
|
152 |
const VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO = 'VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO';
|
153 |
const VIDEO_SUPERRES = 'VIDEO_SUPERRES';
|
|
|
154 |
const VU_GENERATED_VIDEO = 'VU_GENERATED_VIDEO';
|
155 |
const WOODHENGE = 'WOODHENGE';
|
156 |
const WORK_KNOWLEDGE_VIDEO = 'WORK_KNOWLEDGE_VIDEO';
|
48 |
const APP_REVIEW_SCREENCAST = 'APP_REVIEW_SCREENCAST';
|
49 |
const ATLAS_VIDEO = 'ATLAS_VIDEO';
|
50 |
const AUDIO_BROADCAST = 'AUDIO_BROADCAST';
|
|
|
|
|
51 |
const BROADCAST = 'BROADCAST';
|
|
|
52 |
const CANVAS = 'CANVAS';
|
53 |
const CFC_VIDEO = 'CFC_VIDEO';
|
54 |
const CMS_MEDIA_MANAGER = 'CMS_MEDIA_MANAGER';
|
55 |
const CONTAINED_POST_ATTACHMENT = 'CONTAINED_POST_ATTACHMENT';
|
56 |
const CONTAINED_POST_AUDIO_BROADCAST = 'CONTAINED_POST_AUDIO_BROADCAST';
|
57 |
const CONTAINED_POST_BROADCAST = 'CONTAINED_POST_BROADCAST';
|
58 |
+
const CONTAINED_POST_COPYRIGHT_REFERENCE_BROADCAST = 'CONTAINED_POST_COPYRIGHT_REFERENCE_BROADCAST';
|
59 |
const COPYRIGHT_REFERENCE_BROADCAST = 'COPYRIGHT_REFERENCE_BROADCAST';
|
60 |
const COPYRIGHT_REFERENCE_VIDEO = 'COPYRIGHT_REFERENCE_VIDEO';
|
61 |
const CULTURAL_MOMENT_DEPRECATED = 'CULTURAL_MOMENT_DEPRECATED';
|
75 |
const FB_SHORTS = 'FB_SHORTS';
|
76 |
const FB_SHORTS_GROUP_POST = 'FB_SHORTS_GROUP_POST';
|
77 |
const FB_SHORTS_POST = 'FB_SHORTS_POST';
|
78 |
+
const FB_SHORTS_REMIX_POST = 'FB_SHORTS_REMIX_POST';
|
79 |
const FUNDRAISER_COVER_VIDEO = 'FUNDRAISER_COVER_VIDEO';
|
80 |
const GAME_CLIP = 'GAME_CLIP';
|
|
|
81 |
const GEMSTONE = 'GEMSTONE';
|
82 |
const GOODWILL_ANNIVERSARY_DEPRECATED = 'GOODWILL_ANNIVERSARY_DEPRECATED';
|
83 |
const GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED = 'GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED';
|
86 |
const GOODWILL_VIDEO_SHARE = 'GOODWILL_VIDEO_SHARE';
|
87 |
const GOODWILL_VIDEO_TOKEN_REQUIRED = 'GOODWILL_VIDEO_TOKEN_REQUIRED';
|
88 |
const GROUP_POST = 'GROUP_POST';
|
89 |
+
const HACK_TV = 'HACK_TV';
|
90 |
const HEURISTIC_CLUSTER_VIDEO = 'HEURISTIC_CLUSTER_VIDEO';
|
91 |
const HEURISTIC_PREVIEW = 'HEURISTIC_PREVIEW';
|
92 |
const HIGHLIGHT_CLIP_VIDEO = 'HIGHLIGHT_CLIP_VIDEO';
|
93 |
+
const HUDDLE_BROADCAST = 'HUDDLE_BROADCAST';
|
94 |
const IG_REELS_XPV = 'IG_REELS_XPV';
|
95 |
const IG_STORIES_READER = 'IG_STORIES_READER';
|
96 |
const INSPIRATION_VIDEO = 'INSPIRATION_VIDEO';
|
99 |
const INSTANT_ARTICLE = 'INSTANT_ARTICLE';
|
100 |
const INSTANT_GAME_CLIP = 'INSTANT_GAME_CLIP';
|
101 |
const ISSUE_MODULE = 'ISSUE_MODULE';
|
102 |
+
const JOBS_VISUAL_INTRO_ENTRY = 'JOBS_VISUAL_INTRO_ENTRY';
|
103 |
const JOB_APPLICATION_VIDEO = 'JOB_APPLICATION_VIDEO';
|
104 |
const JOB_OPENING_VIDEO = 'JOB_OPENING_VIDEO';
|
105 |
const KOTOTORO = 'KOTOTORO';
|
111 |
const LOOK_NOW_DEPRECATED = 'LOOK_NOW_DEPRECATED';
|
112 |
const MARKETPLACE_LISTING_VIDEO = 'MARKETPLACE_LISTING_VIDEO';
|
113 |
const MARKETPLACE_PRE_RECORDED_VIDEO = 'MARKETPLACE_PRE_RECORDED_VIDEO';
|
114 |
+
const MESSENGER_WATCH_TOGETHER = 'MESSENGER_WATCH_TOGETHER';
|
115 |
const NEO_ASYNC_GAME_VIDEO = 'NEO_ASYNC_GAME_VIDEO';
|
116 |
const NO_STORY = 'NO_STORY';
|
117 |
const NO_STORY_WITH_ENTPOST = 'NO_STORY_WITH_ENTPOST';
|
121 |
const PAGES_COVER_VIDEO = 'PAGES_COVER_VIDEO';
|
122 |
const PAGE_REVIEW_SCREENCAST = 'PAGE_REVIEW_SCREENCAST';
|
123 |
const PAGE_SLIDESHOW_VIDEO = 'PAGE_SLIDESHOW_VIDEO';
|
124 |
+
const PARTNER_DIRECTORY_BRAND_MEDIA = 'PARTNER_DIRECTORY_BRAND_MEDIA';
|
125 |
const PIXELCLOUD = 'PIXELCLOUD';
|
126 |
+
const PODCAST_HIGHLIGHT = 'PODCAST_HIGHLIGHT';
|
127 |
+
const PODCAST_RSS = 'PODCAST_RSS';
|
128 |
+
const PODCAST_RSS_NO_NEWSFEED_STORY = 'PODCAST_RSS_NO_NEWSFEED_STORY';
|
129 |
+
const PODCAST_VOICES = 'PODCAST_VOICES';
|
130 |
+
const PODCAST_VOICES_NO_NEWSFEED_STORY = 'PODCAST_VOICES_NO_NEWSFEED_STORY';
|
131 |
const PREMIERE_SOURCE = 'PREMIERE_SOURCE';
|
132 |
+
const PREMIUM_MUSIC_VIDEO_NO_NEWSFEED_STORY = 'PREMIUM_MUSIC_VIDEO_NO_NEWSFEED_STORY';
|
133 |
+
const PREMIUM_MUSIC_VIDEO_WITH_NEWSFEED_STORY = 'PREMIUM_MUSIC_VIDEO_WITH_NEWSFEED_STORY';
|
134 |
const PRIVATE_GALLERY_VIDEO = 'PRIVATE_GALLERY_VIDEO';
|
135 |
const PRODUCT_VIDEO = 'PRODUCT_VIDEO';
|
136 |
const PROFILE_COVER_VIDEO = 'PROFILE_COVER_VIDEO';
|
137 |
const PROFILE_INTRO_CARD = 'PROFILE_INTRO_CARD';
|
|
|
138 |
const PROFILE_VIDEO = 'PROFILE_VIDEO';
|
139 |
const PROTON = 'PROTON';
|
140 |
const QUICK_PROMOTION = 'QUICK_PROMOTION';
|
146 |
const SLIDESHOW_SHAKR = 'SLIDESHOW_SHAKR';
|
147 |
const SLIDESHOW_VARIATION_VIDEO = 'SLIDESHOW_VARIATION_VIDEO';
|
148 |
const SOTTO_CONTENT = 'SOTTO_CONTENT';
|
149 |
+
const SOUNDBITES_VIDEO = 'SOUNDBITES_VIDEO';
|
150 |
const SOUND_PLATFORM_STREAM = 'SOUND_PLATFORM_STREAM';
|
151 |
+
const SRT_ATTACHMENT = 'SRT_ATTACHMENT';
|
152 |
+
const STAGES_BROADCAST = 'STAGES_BROADCAST';
|
153 |
const STORIES_VIDEO = 'STORIES_VIDEO';
|
154 |
const STORYLINE = 'STORYLINE';
|
155 |
const STORYLINE_WITH_EXTERNAL_MUSIC = 'STORYLINE_WITH_EXTERNAL_MUSIC';
|
157 |
const STORY_CARD_TEMPLATE = 'STORY_CARD_TEMPLATE';
|
158 |
const STREAM_HIGHLIGHTS_VIDEO = 'STREAM_HIGHLIGHTS_VIDEO';
|
159 |
const TAROT_DIGEST = 'TAROT_DIGEST';
|
160 |
+
const TEMPORARY_UNLISTED = 'TEMPORARY_UNLISTED';
|
161 |
const TEMP_MULTIMEDIA_POST = 'TEMP_MULTIMEDIA_POST';
|
162 |
const UNLISTED = 'UNLISTED';
|
163 |
+
const UNLISTED_HACK_TV = 'UNLISTED_HACK_TV';
|
164 |
+
const UNLISTED_OCULUS = 'UNLISTED_OCULUS';
|
165 |
const VIDEO_COMMENT = 'VIDEO_COMMENT';
|
166 |
+
const VIDEO_COMPOSITION_VARIATION = 'VIDEO_COMPOSITION_VARIATION';
|
167 |
const VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO = 'VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO';
|
168 |
const VIDEO_SUPERRES = 'VIDEO_SUPERRES';
|
169 |
+
const VOICES_ARTICLE_VIDEO = 'VOICES_ARTICLE_VIDEO';
|
170 |
const VU_GENERATED_VIDEO = 'VU_GENERATED_VIDEO';
|
171 |
const WOODHENGE = 'WOODHENGE';
|
172 |
const WORK_KNOWLEDGE_VIDEO = 'WORK_KNOWLEDGE_VIDEO';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdoptablePetImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static AdoptablePetImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class AdoptablePetImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsInsightsDatePresetValues.php
CHANGED
@@ -48,7 +48,7 @@ class AdsInsightsDatePresetValues extends AbstractEnum {
|
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
-
const
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
+
const MAXIMUM = 'maximum';
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationAnPlatformsValues.php
CHANGED
@@ -42,5 +42,6 @@ class ApplicationAnPlatformsValues extends AbstractEnum {
|
|
42 |
const INSTANT_ARTICLES = 'INSTANT_ARTICLES';
|
43 |
const IOS = 'IOS';
|
44 |
const MOBILE_WEB = 'MOBILE_WEB';
|
|
|
45 |
const UNKNOWN = 'UNKNOWN';
|
46 |
}
|
42 |
const INSTANT_ARTICLES = 'INSTANT_ARTICLES';
|
43 |
const IOS = 'IOS';
|
44 |
const MOBILE_WEB = 'MOBILE_WEB';
|
45 |
+
const OCULUS = 'OCULUS';
|
46 |
const UNKNOWN = 'UNKNOWN';
|
47 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AutomotiveModelImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static AutomotiveModelImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class AutomotiveModelImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPageTasksValues.php
CHANGED
@@ -52,6 +52,8 @@ class BusinessAssetGroupPageTasksValues extends AbstractEnum {
|
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
|
|
|
|
55 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
56 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
57 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
55 |
+
const PROFILE_PLUS_FACEBOOK_ACCESS = 'PROFILE_PLUS_FACEBOOK_ACCESS';
|
56 |
+
const PROFILE_PLUS_FULL_CONTROL = 'PROFILE_PLUS_FULL_CONTROL';
|
57 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
58 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
59 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPagePermittedTasksValues.php
CHANGED
@@ -52,6 +52,8 @@ class BusinessPagePermittedTasksValues extends AbstractEnum {
|
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
|
|
|
|
55 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
56 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
57 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
55 |
+
const PROFILE_PLUS_FACEBOOK_ACCESS = 'PROFILE_PLUS_FACEBOOK_ACCESS';
|
56 |
+
const PROFILE_PLUS_FULL_CONTROL = 'PROFILE_PLUS_FULL_CONTROL';
|
57 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
58 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
59 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php
CHANGED
@@ -39,6 +39,24 @@ class BusinessPermittedTasksValues extends AbstractEnum {
|
|
39 |
|
40 |
const ADVERTISE = 'ADVERTISE';
|
41 |
const ANALYZE = 'ANALYZE';
|
42 |
-
const
|
|
|
43 |
const MANAGE = 'MANAGE';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
39 |
|
40 |
const ADVERTISE = 'ADVERTISE';
|
41 |
const ANALYZE = 'ANALYZE';
|
42 |
+
const CASHIER_ROLE = 'CASHIER_ROLE';
|
43 |
+
const CREATE_CONTENT = 'CREATE_CONTENT';
|
44 |
const MANAGE = 'MANAGE';
|
45 |
+
const MANAGE_JOBS = 'MANAGE_JOBS';
|
46 |
+
const MANAGE_LEADS = 'MANAGE_LEADS';
|
47 |
+
const MESSAGING = 'MESSAGING';
|
48 |
+
const MODERATE = 'MODERATE';
|
49 |
+
const MODERATE_COMMUNITY = 'MODERATE_COMMUNITY';
|
50 |
+
const PAGES_MESSAGING = 'PAGES_MESSAGING';
|
51 |
+
const PAGES_MESSAGING_SUBSCRIPTIONS = 'PAGES_MESSAGING_SUBSCRIPTIONS';
|
52 |
+
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
+
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
+
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
55 |
+
const PROFILE_PLUS_FACEBOOK_ACCESS = 'PROFILE_PLUS_FACEBOOK_ACCESS';
|
56 |
+
const PROFILE_PLUS_FULL_CONTROL = 'PROFILE_PLUS_FULL_CONTROL';
|
57 |
+
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
58 |
+
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
59 |
+
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
60 |
+
const READ_PAGE_MAILBOXES = 'READ_PAGE_MAILBOXES';
|
61 |
+
const VIEW_MONETIZATION_INSIGHTS = 'VIEW_MONETIZATION_INSIGHTS';
|
62 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignDatePresetValues.php
CHANGED
@@ -48,7 +48,7 @@ class CampaignDatePresetValues extends AbstractEnum {
|
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
-
const
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
+
const MAXIMUM = 'maximum';
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommentCommentPrivacyValueValues.php
CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
*/
|
38 |
class CommentCommentPrivacyValueValues extends AbstractEnum {
|
39 |
|
|
|
40 |
const DEFAULT_PRIVACY = 'DEFAULT_PRIVACY';
|
41 |
const FRIENDS_AND_POST_OWNER = 'FRIENDS_AND_POST_OWNER';
|
42 |
const FRIENDS_ONLY = 'FRIENDS_ONLY';
|
37 |
*/
|
38 |
class CommentCommentPrivacyValueValues extends AbstractEnum {
|
39 |
|
40 |
+
const DECLINED_BY_ADMIN_ASSISTANT = 'DECLINED_BY_ADMIN_ASSISTANT';
|
41 |
const DEFAULT_PRIVACY = 'DEFAULT_PRIVACY';
|
42 |
const FRIENDS_AND_POST_OWNER = 'FRIENDS_AND_POST_OWNER';
|
43 |
const FRIENDS_ONLY = 'FRIENDS_ONLY';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommerceOrderReasonCodeValues.php
CHANGED
@@ -39,6 +39,7 @@ class CommerceOrderReasonCodeValues extends AbstractEnum {
|
|
39 |
|
40 |
const BUYERS_REMORSE = 'BUYERS_REMORSE';
|
41 |
const DAMAGED_GOODS = 'DAMAGED_GOODS';
|
|
|
42 |
const NOT_AS_DESCRIBED = 'NOT_AS_DESCRIBED';
|
43 |
const QUALITY_ISSUE = 'QUALITY_ISSUE';
|
44 |
const REFUND_COMPROMISED = 'REFUND_COMPROMISED';
|
39 |
|
40 |
const BUYERS_REMORSE = 'BUYERS_REMORSE';
|
41 |
const DAMAGED_GOODS = 'DAMAGED_GOODS';
|
42 |
+
const FACEBOOK_INITIATED = 'FACEBOOK_INITIATED';
|
43 |
const NOT_AS_DESCRIBED = 'NOT_AS_DESCRIBED';
|
44 |
const QUALITY_ISSUE = 'QUALITY_ISSUE';
|
45 |
const REFUND_COMPROMISED = 'REFUND_COMPROMISED';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ContentDeliveryReportPlatformValues.php
CHANGED
@@ -42,6 +42,7 @@ class ContentDeliveryReportPlatformValues extends AbstractEnum {
|
|
42 |
const HIDDEN_AAA = 'HIDDEN_AAA';
|
43 |
const INSTAGRAM = 'INSTAGRAM';
|
44 |
const MESSENGER = 'MESSENGER';
|
|
|
45 |
const UNKNOWN = 'UNKNOWN';
|
46 |
const WHATSAPP = 'WHATSAPP';
|
47 |
}
|
42 |
const HIDDEN_AAA = 'HIDDEN_AAA';
|
43 |
const INSTAGRAM = 'INSTAGRAM';
|
44 |
const MESSENGER = 'MESSENGER';
|
45 |
+
const OCULUS = 'OCULUS';
|
46 |
const UNKNOWN = 'UNKNOWN';
|
47 |
const WHATSAPP = 'WHATSAPP';
|
48 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ContentDeliveryReportPositionValues.php
CHANGED
@@ -46,6 +46,7 @@ class ContentDeliveryReportPositionValues extends AbstractEnum {
|
|
46 |
const HIDDEN_AAA = 'HIDDEN_AAA';
|
47 |
const INSTAGRAM_EXPLORE = 'INSTAGRAM_EXPLORE';
|
48 |
const INSTAGRAM_IGTV = 'INSTAGRAM_IGTV';
|
|
|
49 |
const INSTAGRAM_STORIES = 'INSTAGRAM_STORIES';
|
50 |
const INSTANT_ARTICLE = 'INSTANT_ARTICLE';
|
51 |
const INSTREAM_VIDEO = 'INSTREAM_VIDEO';
|
@@ -53,11 +54,13 @@ class ContentDeliveryReportPositionValues extends AbstractEnum {
|
|
53 |
const MARKETPLACE = 'MARKETPLACE';
|
54 |
const MESSENGER_INBOX = 'MESSENGER_INBOX';
|
55 |
const MESSENGER_STORIES = 'MESSENGER_STORIES';
|
|
|
56 |
const OTHERS = 'OTHERS';
|
57 |
const REWARDED_VIDEO = 'REWARDED_VIDEO';
|
58 |
const RIGHT_HAND_COLUMN = 'RIGHT_HAND_COLUMN';
|
59 |
const SEARCH = 'SEARCH';
|
60 |
const STATUS = 'STATUS';
|
|
|
61 |
const SUGGESTED_VIDEO = 'SUGGESTED_VIDEO';
|
62 |
const UNKNOWN = 'UNKNOWN';
|
63 |
const VIDEO_FEEDS = 'VIDEO_FEEDS';
|
46 |
const HIDDEN_AAA = 'HIDDEN_AAA';
|
47 |
const INSTAGRAM_EXPLORE = 'INSTAGRAM_EXPLORE';
|
48 |
const INSTAGRAM_IGTV = 'INSTAGRAM_IGTV';
|
49 |
+
const INSTAGRAM_REELS = 'INSTAGRAM_REELS';
|
50 |
const INSTAGRAM_STORIES = 'INSTAGRAM_STORIES';
|
51 |
const INSTANT_ARTICLE = 'INSTANT_ARTICLE';
|
52 |
const INSTREAM_VIDEO = 'INSTREAM_VIDEO';
|
54 |
const MARKETPLACE = 'MARKETPLACE';
|
55 |
const MESSENGER_INBOX = 'MESSENGER_INBOX';
|
56 |
const MESSENGER_STORIES = 'MESSENGER_STORIES';
|
57 |
+
const OCULUS_TWILIGHT_FEED = 'OCULUS_TWILIGHT_FEED';
|
58 |
const OTHERS = 'OTHERS';
|
59 |
const REWARDED_VIDEO = 'REWARDED_VIDEO';
|
60 |
const RIGHT_HAND_COLUMN = 'RIGHT_HAND_COLUMN';
|
61 |
const SEARCH = 'SEARCH';
|
62 |
const STATUS = 'STATUS';
|
63 |
+
const STICKERS = 'STICKERS';
|
64 |
const SUGGESTED_VIDEO = 'SUGGESTED_VIDEO';
|
65 |
const UNKNOWN = 'UNKNOWN';
|
66 |
const VIDEO_FEEDS = 'VIDEO_FEEDS';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CustomAudienceDataSourceSubTypeValues.php
CHANGED
@@ -52,6 +52,7 @@ class CustomAudienceDataSourceSubTypeValues extends AbstractEnum {
|
|
52 |
const EXPANDED_AUDIENCE = 'EXPANDED_AUDIENCE';
|
53 |
const EXTERNAL_IDS = 'EXTERNAL_IDS';
|
54 |
const EXTERNAL_IDS_MIX = 'EXTERNAL_IDS_MIX';
|
|
|
55 |
const FB_EVENT_SIGNALS = 'FB_EVENT_SIGNALS';
|
56 |
const FB_PIXEL_HITS = 'FB_PIXEL_HITS';
|
57 |
const HASHES = 'HASHES';
|
52 |
const EXPANDED_AUDIENCE = 'EXPANDED_AUDIENCE';
|
53 |
const EXTERNAL_IDS = 'EXTERNAL_IDS';
|
54 |
const EXTERNAL_IDS_MIX = 'EXTERNAL_IDS_MIX';
|
55 |
+
const FACEBOOK_WIFI_EVENTS = 'FACEBOOK_WIFI_EVENTS';
|
56 |
const FB_EVENT_SIGNALS = 'FB_EVENT_SIGNALS';
|
57 |
const FB_PIXEL_HITS = 'FB_PIXEL_HITS';
|
58 |
const HASHES = 'HASHES';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/DestinationImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static DestinationImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class DestinationImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/FlightImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static FlightImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class FlightImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php
CHANGED
@@ -46,7 +46,6 @@ class GroupGroupTypeValues extends AbstractEnum {
|
|
46 |
const DEALS = 'DEALS';
|
47 |
const EPHEMERAL = 'EPHEMERAL';
|
48 |
const EVENT_PLANNING = 'EVENT_PLANNING';
|
49 |
-
const FAITH = 'FAITH';
|
50 |
const FAMILY = 'FAMILY';
|
51 |
const FITNESS = 'FITNESS';
|
52 |
const FOR_SALE = 'FOR_SALE';
|
46 |
const DEALS = 'DEALS';
|
47 |
const EPHEMERAL = 'EPHEMERAL';
|
48 |
const EVENT_PLANNING = 'EVENT_PLANNING';
|
|
|
49 |
const FAMILY = 'FAMILY';
|
50 |
const FITNESS = 'FITNESS';
|
51 |
const FOR_SALE = 'FOR_SALE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php
CHANGED
@@ -46,7 +46,6 @@ class GroupPurposeValues extends AbstractEnum {
|
|
46 |
const DEALS = 'DEALS';
|
47 |
const EPHEMERAL = 'EPHEMERAL';
|
48 |
const EVENT_PLANNING = 'EVENT_PLANNING';
|
49 |
-
const FAITH = 'FAITH';
|
50 |
const FAMILY = 'FAMILY';
|
51 |
const FITNESS = 'FITNESS';
|
52 |
const FOR_SALE = 'FOR_SALE';
|
46 |
const DEALS = 'DEALS';
|
47 |
const EPHEMERAL = 'EPHEMERAL';
|
48 |
const EVENT_PLANNING = 'EVENT_PLANNING';
|
|
|
49 |
const FAMILY = 'FAMILY';
|
50 |
const FITNESS = 'FITNESS';
|
51 |
const FOR_SALE = 'FOR_SALE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/HomeListingImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static HomeListingImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class HomeListingImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/HotelImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static HotelImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class HotelImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/InsightsResultDatePresetValues.php
CHANGED
@@ -48,7 +48,7 @@ class InsightsResultDatePresetValues extends AbstractEnum {
|
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
-
const
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
48 |
const LAST_WEEK_MON_SUN = 'last_week_mon_sun';
|
49 |
const LAST_WEEK_SUN_SAT = 'last_week_sun_sat';
|
50 |
const LAST_YEAR = 'last_year';
|
51 |
+
const MAXIMUM = 'maximum';
|
52 |
const THIS_MONTH = 'this_month';
|
53 |
const THIS_QUARTER = 'this_quarter';
|
54 |
const THIS_WEEK_MON_TODAY = 'this_week_mon_today';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoLiveCommentModerationSettingValues.php
CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
*/
|
38 |
class LiveVideoLiveCommentModerationSettingValues extends AbstractEnum {
|
39 |
|
|
|
40 |
const DISCUSSION = 'DISCUSSION';
|
41 |
const FOLLOWER = 'FOLLOWER';
|
42 |
const PROTECTED_MODE = 'PROTECTED_MODE';
|
37 |
*/
|
38 |
class LiveVideoLiveCommentModerationSettingValues extends AbstractEnum {
|
39 |
|
40 |
+
const VALUE_DEFAULT = 'DEFAULT';
|
41 |
const DISCUSSION = 'DISCUSSION';
|
42 |
const FOLLOWER = 'FOLLOWER';
|
43 |
const PROTECTED_MODE = 'PROTECTED_MODE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoPersistentStreamKeyStatusValues.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static LiveVideoPersistentStreamKeyStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class LiveVideoPersistentStreamKeyStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DISABLE = 'DISABLE';
|
41 |
+
const ENABLE = 'ENABLE';
|
42 |
+
const REGENERATE = 'REGENERATE';
|
43 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/OmegaCustomerTrxTypeValues.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static OmegaCustomerTrxTypeValues getInstance()
|
37 |
+
*/
|
38 |
+
class OmegaCustomerTrxTypeValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const CM = 'CM';
|
41 |
+
const DM = 'DM';
|
42 |
+
const INV = 'INV';
|
43 |
+
const PRO_FORMA = 'PRO_FORMA';
|
44 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php
CHANGED
@@ -43,6 +43,7 @@ class PageCallToActionAndroidDestinationTypeValues extends AbstractEnum {
|
|
43 |
const FACEBOOK_APP = 'FACEBOOK_APP';
|
44 |
const FOLLOW = 'FOLLOW';
|
45 |
const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
|
|
|
46 |
const MESSENGER = 'MESSENGER';
|
47 |
const MINI_SHOP = 'MINI_SHOP';
|
48 |
const MOBILE_CENTER = 'MOBILE_CENTER';
|
43 |
const FACEBOOK_APP = 'FACEBOOK_APP';
|
44 |
const FOLLOW = 'FOLLOW';
|
45 |
const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
|
46 |
+
const MENU_ON_FACEBOOK = 'MENU_ON_FACEBOOK';
|
47 |
const MESSENGER = 'MESSENGER';
|
48 |
const MINI_SHOP = 'MINI_SHOP';
|
49 |
const MOBILE_CENTER = 'MOBILE_CENTER';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionIphoneDestinationTypeValues.php
CHANGED
@@ -43,6 +43,7 @@ class PageCallToActionIphoneDestinationTypeValues extends AbstractEnum {
|
|
43 |
const FACEBOOK_APP = 'FACEBOOK_APP';
|
44 |
const FOLLOW = 'FOLLOW';
|
45 |
const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
|
|
|
46 |
const MESSENGER = 'MESSENGER';
|
47 |
const MINI_SHOP = 'MINI_SHOP';
|
48 |
const NONE = 'NONE';
|
43 |
const FACEBOOK_APP = 'FACEBOOK_APP';
|
44 |
const FOLLOW = 'FOLLOW';
|
45 |
const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
|
46 |
+
const MENU_ON_FACEBOOK = 'MENU_ON_FACEBOOK';
|
47 |
const MESSENGER = 'MESSENGER';
|
48 |
const MINI_SHOP = 'MINI_SHOP';
|
49 |
const NONE = 'NONE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php
CHANGED
@@ -67,6 +67,7 @@ class PageCallToActionTypeValues extends AbstractEnum {
|
|
67 |
const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
|
68 |
const SIGN_UP = 'SIGN_UP';
|
69 |
const VIEW_INVENTORY = 'VIEW_INVENTORY';
|
|
|
70 |
const VIEW_SHOP = 'VIEW_SHOP';
|
71 |
const VISIT_GROUP = 'VISIT_GROUP';
|
72 |
const WATCH_NOW = 'WATCH_NOW';
|
67 |
const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
|
68 |
const SIGN_UP = 'SIGN_UP';
|
69 |
const VIEW_INVENTORY = 'VIEW_INVENTORY';
|
70 |
+
const VIEW_MENU = 'VIEW_MENU';
|
71 |
const VIEW_SHOP = 'VIEW_SHOP';
|
72 |
const VISIT_GROUP = 'VISIT_GROUP';
|
73 |
const WATCH_NOW = 'WATCH_NOW';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePermittedTasksValues.php
CHANGED
@@ -52,6 +52,8 @@ class PagePermittedTasksValues extends AbstractEnum {
|
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
|
|
|
|
55 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
56 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
57 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
55 |
+
const PROFILE_PLUS_FACEBOOK_ACCESS = 'PROFILE_PLUS_FACEBOOK_ACCESS';
|
56 |
+
const PROFILE_PLUS_FULL_CONTROL = 'PROFILE_PLUS_FULL_CONTROL';
|
57 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
58 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
59 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePlatformValues.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static PagePlatformValues getInstance()
|
37 |
+
*/
|
38 |
+
class PagePlatformValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const INSTAGRAM = 'INSTAGRAM';
|
41 |
+
const MESSENGER = 'MESSENGER';
|
42 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageTasksValues.php
CHANGED
@@ -52,6 +52,8 @@ class PageTasksValues extends AbstractEnum {
|
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
|
|
|
|
55 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
56 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
57 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
52 |
const PROFILE_PLUS_ADVERTISE = 'PROFILE_PLUS_ADVERTISE';
|
53 |
const PROFILE_PLUS_ANALYZE = 'PROFILE_PLUS_ANALYZE';
|
54 |
const PROFILE_PLUS_CREATE_CONTENT = 'PROFILE_PLUS_CREATE_CONTENT';
|
55 |
+
const PROFILE_PLUS_FACEBOOK_ACCESS = 'PROFILE_PLUS_FACEBOOK_ACCESS';
|
56 |
+
const PROFILE_PLUS_FULL_CONTROL = 'PROFILE_PLUS_FULL_CONTROL';
|
57 |
const PROFILE_PLUS_MANAGE = 'PROFILE_PLUS_MANAGE';
|
58 |
const PROFILE_PLUS_MESSAGING = 'PROFILE_PLUS_MESSAGING';
|
59 |
const PROFILE_PLUS_MODERATE = 'PROFILE_PLUS_MODERATE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PrivateLiftStudyInstanceOperationValues.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static PrivateLiftStudyInstanceOperationValues getInstance()
|
37 |
+
*/
|
38 |
+
class PrivateLiftStudyInstanceOperationValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const AGGREGATE = 'AGGREGATE';
|
41 |
+
const COMPUTE = 'COMPUTE';
|
42 |
+
const ID_MATCH = 'ID_MATCH';
|
43 |
+
const NONE = 'NONE';
|
44 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupAffectedChannelsValues.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupAffectedChannelsValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupAffectedChannelsValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const BUSINESS_INBOX_IN_MESSENGER = 'business_inbox_in_messenger';
|
41 |
+
const SHOPS = 'shops';
|
42 |
+
const TEST_CAPABILITY = 'test_capability';
|
43 |
+
const UNIVERSAL_CHECKOUT = 'universal_checkout';
|
44 |
+
const US_MARKETPLACE = 'us_marketplace';
|
45 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupAffectedFeaturesValues.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupAffectedFeaturesValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupAffectedFeaturesValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const AUGMENTED_REALITY = 'augmented_reality';
|
41 |
+
const CHECKOUT = 'checkout';
|
42 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupSeveritiesValues.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupSeveritiesValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupSeveritiesValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const MUST_FIX = 'MUST_FIX';
|
41 |
+
const OPPORTUNITY = 'OPPORTUNITY';
|
42 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupSeverityValues.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupSeverityValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupSeverityValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const MUST_FIX = 'MUST_FIX';
|
41 |
+
const OPPORTUNITY = 'OPPORTUNITY';
|
42 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupTypeValues.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupTypeValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupTypeValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const ATTRIBUTES_INVALID = 'ATTRIBUTES_INVALID';
|
41 |
+
const ATTRIBUTES_MISSING = 'ATTRIBUTES_MISSING';
|
42 |
+
const CATEGORY = 'CATEGORY';
|
43 |
+
const CHECKOUT = 'CHECKOUT';
|
44 |
+
const IMAGE_QUALITY = 'IMAGE_QUALITY';
|
45 |
+
const LOW_QUALITY_TITLE_AND_DESCRIPTION = 'LOW_QUALITY_TITLE_AND_DESCRIPTION';
|
46 |
+
const POLICY_VIOLATION = 'POLICY_VIOLATION';
|
47 |
+
const SHOPS_VISIBILITY_ISSUES = 'SHOPS_VISIBILITY_ISSUES';
|
48 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogDiagnosticGroupTypesValues.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductCatalogDiagnosticGroupTypesValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductCatalogDiagnosticGroupTypesValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const ATTRIBUTES_INVALID = 'ATTRIBUTES_INVALID';
|
41 |
+
const ATTRIBUTES_MISSING = 'ATTRIBUTES_MISSING';
|
42 |
+
const CATEGORY = 'CATEGORY';
|
43 |
+
const CHECKOUT = 'CHECKOUT';
|
44 |
+
const IMAGE_QUALITY = 'IMAGE_QUALITY';
|
45 |
+
const LOW_QUALITY_TITLE_AND_DESCRIPTION = 'LOW_QUALITY_TITLE_AND_DESCRIPTION';
|
46 |
+
const POLICY_VIOLATION = 'POLICY_VIOLATION';
|
47 |
+
const SHOPS_VISIBILITY_ISSUES = 'SHOPS_VISIBILITY_ISSUES';
|
48 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogItemSubTypeValues.php
CHANGED
@@ -49,7 +49,6 @@ class ProductCatalogItemSubTypeValues extends AbstractEnum {
|
|
49 |
const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
|
50 |
const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
|
51 |
const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
|
52 |
-
const DIGITAL_PRODUCT_OFFER = 'DIGITAL_PRODUCT_OFFER';
|
53 |
const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
|
54 |
const FURNITURE = 'FURNITURE';
|
55 |
const HEALTH = 'HEALTH';
|
49 |
const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
|
50 |
const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
|
51 |
const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
|
|
|
52 |
const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
|
53 |
const FURNITURE = 'FURNITURE';
|
54 |
const HEALTH = 'HEALTH';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedFeedTypeValues.php
CHANGED
@@ -38,6 +38,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
38 |
class ProductFeedFeedTypeValues extends AbstractEnum {
|
39 |
|
40 |
const AUTO = 'AUTO';
|
|
|
41 |
const DESTINATION = 'DESTINATION';
|
42 |
const FLIGHT = 'FLIGHT';
|
43 |
const HOME_LISTING = 'HOME_LISTING';
|
38 |
class ProductFeedFeedTypeValues extends AbstractEnum {
|
39 |
|
40 |
const AUTO = 'AUTO';
|
41 |
+
const AUTOMOTIVE_MODEL = 'AUTOMOTIVE_MODEL';
|
42 |
const DESTINATION = 'DESTINATION';
|
43 |
const FLIGHT = 'FLIGHT';
|
44 |
const HOME_LISTING = 'HOME_LISTING';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedItemSubTypeValues.php
CHANGED
@@ -49,7 +49,6 @@ class ProductFeedItemSubTypeValues extends AbstractEnum {
|
|
49 |
const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
|
50 |
const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
|
51 |
const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
|
52 |
-
const DIGITAL_PRODUCT_OFFER = 'DIGITAL_PRODUCT_OFFER';
|
53 |
const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
|
54 |
const FURNITURE = 'FURNITURE';
|
55 |
const HEALTH = 'HEALTH';
|
49 |
const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
|
50 |
const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
|
51 |
const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
|
|
|
52 |
const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
|
53 |
const FURNITURE = 'FURNITURE';
|
54 |
const HEALTH = 'HEALTH';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemARDataSurfacesValues.php
CHANGED
@@ -49,4 +49,5 @@ class ProductItemARDataSurfacesValues extends AbstractEnum {
|
|
49 |
const OFFLINE_CONVERSIONS = 'OFFLINE_CONVERSIONS';
|
50 |
const SHOPS = 'SHOPS';
|
51 |
const UNIVERSAL_CHECKOUT = 'UNIVERSAL_CHECKOUT';
|
|
|
52 |
}
|
49 |
const OFFLINE_CONVERSIONS = 'OFFLINE_CONVERSIONS';
|
50 |
const SHOPS = 'SHOPS';
|
51 |
const UNIVERSAL_CHECKOUT = 'UNIVERSAL_CHECKOUT';
|
52 |
+
const WHATSAPP = 'WHATSAPP';
|
53 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemCommerceTaxCategoryValues.php
CHANGED
@@ -46,6 +46,7 @@ class ProductItemCommerceTaxCategoryValues extends AbstractEnum {
|
|
46 |
const FB_APRL_CLOTHING = 'FB_APRL_CLOTHING';
|
47 |
const FB_APRL_COSTUME = 'FB_APRL_COSTUME';
|
48 |
const FB_APRL_CSTM = 'FB_APRL_CSTM';
|
|
|
49 |
const FB_APRL_HANDBAG = 'FB_APRL_HANDBAG';
|
50 |
const FB_APRL_JEWELRY = 'FB_APRL_JEWELRY';
|
51 |
const FB_APRL_SHOE = 'FB_APRL_SHOE';
|
46 |
const FB_APRL_CLOTHING = 'FB_APRL_CLOTHING';
|
47 |
const FB_APRL_COSTUME = 'FB_APRL_COSTUME';
|
48 |
const FB_APRL_CSTM = 'FB_APRL_CSTM';
|
49 |
+
const FB_APRL_FORMAL = 'FB_APRL_FORMAL';
|
50 |
const FB_APRL_HANDBAG = 'FB_APRL_HANDBAG';
|
51 |
const FB_APRL_JEWELRY = 'FB_APRL_JEWELRY';
|
52 |
const FB_APRL_SHOE = 'FB_APRL_SHOE';
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductItemImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductItemImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemMarkedForProductLaunchValues.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static ProductItemMarkedForProductLaunchValues getInstance()
|
37 |
+
*/
|
38 |
+
class ProductItemMarkedForProductLaunchValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const VALUE_DEFAULT = 'default';
|
41 |
+
const MARKED = 'marked';
|
42 |
+
const NOT_MARKED = 'not_marked';
|
43 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/UnifiedThreadPlatformValues.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static UnifiedThreadPlatformValues getInstance()
|
37 |
+
*/
|
38 |
+
class UnifiedThreadPlatformValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const INSTAGRAM = 'INSTAGRAM';
|
41 |
+
const MESSENGER = 'MESSENGER';
|
42 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/VehicleImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static VehicleImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class VehicleImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/VehicleOfferImageFetchStatusValues.php
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
|
4 |
+
*
|
5 |
+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
|
6 |
+
* use, copy, modify, and distribute this software in source code or binary
|
7 |
+
* form for use in connection with the web services and APIs provided by
|
8 |
+
* Facebook.
|
9 |
+
*
|
10 |
+
* As with any software that integrates with the Facebook platform, your use
|
11 |
+
* of this software is subject to the Facebook Developer Principles and
|
12 |
+
* Policies [http://developers.facebook.com/policy/]. This copyright notice
|
13 |
+
* shall be included in all copies or substantial portions of the software.
|
14 |
+
*
|
15 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
18 |
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
21 |
+
* DEALINGS IN THE SOFTWARE.
|
22 |
+
*
|
23 |
+
*/
|
24 |
+
|
25 |
+
namespace FacebookAds\Object\Values;
|
26 |
+
|
27 |
+
use FacebookAds\Enum\AbstractEnum;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* This class is auto-generated.
|
31 |
+
*
|
32 |
+
* For any issues or feature requests related to this class, please let us know
|
33 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
34 |
+
* pull request for this class.
|
35 |
+
*
|
36 |
+
* @method static VehicleOfferImageFetchStatusValues getInstance()
|
37 |
+
*/
|
38 |
+
class VehicleOfferImageFetchStatusValues extends AbstractEnum {
|
39 |
+
|
40 |
+
const DIRECT_UPLOAD = 'DIRECT_UPLOAD';
|
41 |
+
const FETCHED = 'FETCHED';
|
42 |
+
const FETCH_FAILED = 'FETCH_FAILED';
|
43 |
+
const NO_STATUS = 'NO_STATUS';
|
44 |
+
const OUTDATED = 'OUTDATED';
|
45 |
+
const PARTIAL_FETCH = 'PARTIAL_FETCH';
|
46 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/WhatsAppBusinessAccountTasksValues.php
CHANGED
@@ -41,5 +41,6 @@ class WhatsAppBusinessAccountTasksValues extends AbstractEnum {
|
|
41 |
const MANAGE = 'MANAGE';
|
42 |
const MANAGE_PHONE = 'MANAGE_PHONE';
|
43 |
const MANAGE_TEMPLATES = 'MANAGE_TEMPLATES';
|
|
|
44 |
const VIEW_COST = 'VIEW_COST';
|
45 |
}
|
41 |
const MANAGE = 'MANAGE';
|
42 |
const MANAGE_PHONE = 'MANAGE_PHONE';
|
43 |
const MANAGE_TEMPLATES = 'MANAGE_TEMPLATES';
|
44 |
+
const MESSAGING = 'MESSAGING';
|
45 |
const VIEW_COST = 'VIEW_COST';
|
46 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Vehicle.php
CHANGED
@@ -34,6 +34,7 @@ use FacebookAds\Object\Values\VehicleBodyStyleValues;
|
|
34 |
use FacebookAds\Object\Values\VehicleConditionValues;
|
35 |
use FacebookAds\Object\Values\VehicleDrivetrainValues;
|
36 |
use FacebookAds\Object\Values\VehicleFuelTypeValues;
|
|
|
37 |
use FacebookAds\Object\Values\VehicleStateOfVehicleValues;
|
38 |
use FacebookAds\Object\Values\VehicleTransmissionValues;
|
39 |
use FacebookAds\Object\Values\VehicleVehicleTypeValues;
|
@@ -65,6 +66,7 @@ class Vehicle extends AbstractCrudObject {
|
|
65 |
|
66 |
protected static function getReferencedEnums() {
|
67 |
$ref_enums = array();
|
|
|
68 |
$ref_enums['Availability'] = VehicleAvailabilityValues::getInstance()->getValues();
|
69 |
$ref_enums['BodyStyle'] = VehicleBodyStyleValues::getInstance()->getValues();
|
70 |
$ref_enums['Condition'] = VehicleConditionValues::getInstance()->getValues();
|
@@ -77,6 +79,75 @@ class Vehicle extends AbstractCrudObject {
|
|
77 |
}
|
78 |
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
81 |
$this->assureId();
|
82 |
|
34 |
use FacebookAds\Object\Values\VehicleConditionValues;
|
35 |
use FacebookAds\Object\Values\VehicleDrivetrainValues;
|
36 |
use FacebookAds\Object\Values\VehicleFuelTypeValues;
|
37 |
+
use FacebookAds\Object\Values\VehicleImageFetchStatusValues;
|
38 |
use FacebookAds\Object\Values\VehicleStateOfVehicleValues;
|
39 |
use FacebookAds\Object\Values\VehicleTransmissionValues;
|
40 |
use FacebookAds\Object\Values\VehicleVehicleTypeValues;
|
66 |
|
67 |
protected static function getReferencedEnums() {
|
68 |
$ref_enums = array();
|
69 |
+
$ref_enums['ImageFetchStatus'] = VehicleImageFetchStatusValues::getInstance()->getValues();
|
70 |
$ref_enums['Availability'] = VehicleAvailabilityValues::getInstance()->getValues();
|
71 |
$ref_enums['BodyStyle'] = VehicleBodyStyleValues::getInstance()->getValues();
|
72 |
$ref_enums['Condition'] = VehicleConditionValues::getInstance()->getValues();
|
79 |
}
|
80 |
|
81 |
|
82 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/augmented_realities_metadata',
|
95 |
+
new AbstractCrudObject(),
|
96 |
+
'EDGE',
|
97 |
+
array(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
106 |
+
$this->assureId();
|
107 |
+
|
108 |
+
$param_types = array(
|
109 |
+
);
|
110 |
+
$enums = array(
|
111 |
+
);
|
112 |
+
|
113 |
+
$request = new ApiRequest(
|
114 |
+
$this->api,
|
115 |
+
$this->data['id'],
|
116 |
+
RequestInterface::METHOD_GET,
|
117 |
+
'/channels_to_integrity_status',
|
118 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
119 |
+
'EDGE',
|
120 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
121 |
+
new TypeChecker($param_types, $enums)
|
122 |
+
);
|
123 |
+
$request->addParams($params);
|
124 |
+
$request->addFields($fields);
|
125 |
+
return $pending ? $request : $request->execute();
|
126 |
+
}
|
127 |
+
|
128 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
129 |
+
$this->assureId();
|
130 |
+
|
131 |
+
$param_types = array(
|
132 |
+
);
|
133 |
+
$enums = array(
|
134 |
+
);
|
135 |
+
|
136 |
+
$request = new ApiRequest(
|
137 |
+
$this->api,
|
138 |
+
$this->data['id'],
|
139 |
+
RequestInterface::METHOD_GET,
|
140 |
+
'/videos_metadata',
|
141 |
+
new AbstractCrudObject(),
|
142 |
+
'EDGE',
|
143 |
+
array(),
|
144 |
+
new TypeChecker($param_types, $enums)
|
145 |
+
);
|
146 |
+
$request->addParams($params);
|
147 |
+
$request->addFields($fields);
|
148 |
+
return $pending ? $request : $request->execute();
|
149 |
+
}
|
150 |
+
|
151 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
152 |
$this->assureId();
|
153 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/VehicleOffer.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\VehicleOfferFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,10 +51,80 @@ class VehicleOffer extends AbstractCrudObject {
|
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
52 |
$ref_enums = array();
|
|
|
53 |
return $ref_enums;
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\VehicleOfferFields;
|
32 |
+
use FacebookAds\Object\Values\VehicleOfferImageFetchStatusValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['ImageFetchStatus'] = VehicleOfferImageFetchStatusValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
58 |
|
59 |
+
public function getAugmentedRealitiesMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
60 |
+
$this->assureId();
|
61 |
+
|
62 |
+
$param_types = array(
|
63 |
+
);
|
64 |
+
$enums = array(
|
65 |
+
);
|
66 |
+
|
67 |
+
$request = new ApiRequest(
|
68 |
+
$this->api,
|
69 |
+
$this->data['id'],
|
70 |
+
RequestInterface::METHOD_GET,
|
71 |
+
'/augmented_realities_metadata',
|
72 |
+
new AbstractCrudObject(),
|
73 |
+
'EDGE',
|
74 |
+
array(),
|
75 |
+
new TypeChecker($param_types, $enums)
|
76 |
+
);
|
77 |
+
$request->addParams($params);
|
78 |
+
$request->addFields($fields);
|
79 |
+
return $pending ? $request : $request->execute();
|
80 |
+
}
|
81 |
+
|
82 |
+
public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
|
83 |
+
$this->assureId();
|
84 |
+
|
85 |
+
$param_types = array(
|
86 |
+
);
|
87 |
+
$enums = array(
|
88 |
+
);
|
89 |
+
|
90 |
+
$request = new ApiRequest(
|
91 |
+
$this->api,
|
92 |
+
$this->data['id'],
|
93 |
+
RequestInterface::METHOD_GET,
|
94 |
+
'/channels_to_integrity_status',
|
95 |
+
new CatalogItemChannelsToIntegrityStatus(),
|
96 |
+
'EDGE',
|
97 |
+
CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(),
|
98 |
+
new TypeChecker($param_types, $enums)
|
99 |
+
);
|
100 |
+
$request->addParams($params);
|
101 |
+
$request->addFields($fields);
|
102 |
+
return $pending ? $request : $request->execute();
|
103 |
+
}
|
104 |
+
|
105 |
+
public function getVideosMetadata(array $fields = array(), array $params = array(), $pending = false) {
|
106 |
+
$this->assureId();
|
107 |
+
|
108 |
+
$param_types = array(
|
109 |
+
);
|
110 |
+
$enums = array(
|
111 |
+
);
|
112 |
+
|
113 |
+
$request = new ApiRequest(
|
114 |
+
$this->api,
|
115 |
+
$this->data['id'],
|
116 |
+
RequestInterface::METHOD_GET,
|
117 |
+
'/videos_metadata',
|
118 |
+
new AbstractCrudObject(),
|
119 |
+
'EDGE',
|
120 |
+
array(),
|
121 |
+
new TypeChecker($param_types, $enums)
|
122 |
+
);
|
123 |
+
$request->addParams($params);
|
124 |
+
$request->addFields($fields);
|
125 |
+
return $pending ? $request : $request->execute();
|
126 |
+
}
|
127 |
+
|
128 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
129 |
$this->assureId();
|
130 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/VideoCopyright.php
CHANGED
@@ -58,6 +58,29 @@ class VideoCopyright extends AbstractCrudObject {
|
|
58 |
}
|
59 |
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
62 |
$this->assureId();
|
63 |
|
58 |
}
|
59 |
|
60 |
|
61 |
+
public function getUpdateRecords(array $fields = array(), array $params = array(), $pending = false) {
|
62 |
+
$this->assureId();
|
63 |
+
|
64 |
+
$param_types = array(
|
65 |
+
);
|
66 |
+
$enums = array(
|
67 |
+
);
|
68 |
+
|
69 |
+
$request = new ApiRequest(
|
70 |
+
$this->api,
|
71 |
+
$this->data['id'],
|
72 |
+
RequestInterface::METHOD_GET,
|
73 |
+
'/update_records',
|
74 |
+
new AbstractCrudObject(),
|
75 |
+
'EDGE',
|
76 |
+
array(),
|
77 |
+
new TypeChecker($param_types, $enums)
|
78 |
+
);
|
79 |
+
$request->addParams($params);
|
80 |
+
$request->addFields($fields);
|
81 |
+
return $pending ? $request : $request->execute();
|
82 |
+
}
|
83 |
+
|
84 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
85 |
$this->assureId();
|
86 |
|
vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/UserDataTest.php
CHANGED
@@ -27,6 +27,7 @@ namespace FacebookAdsTest\Object;
|
|
27 |
use FacebookAdsTest\AbstractUnitTestCase;
|
28 |
use FacebookAds\Object\ServerSide\UserData;
|
29 |
use FacebookAds\Object\ServerSide\Util;
|
|
|
30 |
|
31 |
|
32 |
class UserDataTest extends AbstractUnitTestCase {
|
@@ -58,17 +59,17 @@ class UserDataTest extends AbstractUnitTestCase {
|
|
58 |
'doby' => '2001'
|
59 |
);
|
60 |
$expected = array(
|
61 |
-
'em' => Util::hash($initial_state['email']),
|
62 |
-
'ph' => Util::hash($initial_state['phone']),
|
63 |
-
'ge' => Util::hash($initial_state['gender']),
|
64 |
-
'db' => Util::hash($initial_state['date_of_birth']),
|
65 |
-
'ln' => Util::hash($initial_state['last_name']),
|
66 |
-
'fn' => Util::hash($initial_state['first_name']),
|
67 |
-
'ct' => Util::hash($initial_state['city']),
|
68 |
-
'st' => Util::hash($initial_state['state']),
|
69 |
-
'country' => Util::hash($initial_state['country_code']),
|
70 |
-
'zp' => Util::hash($initial_state['zip_code']),
|
71 |
-
'external_id' => 'external_id-10',
|
72 |
'client_ip_address' => 'client_ip_address-11',
|
73 |
'client_user_agent' => 'client_user_agent-12',
|
74 |
'fbc' => 'fbc-13',
|
@@ -108,9 +109,281 @@ class UserDataTest extends AbstractUnitTestCase {
|
|
108 |
->setDobd($initial_state['dobd'])
|
109 |
->setDobm($initial_state['dobm'])
|
110 |
->setDoby($initial_state['doby']);
|
|
|
111 |
$this->assertEquals($expected, $builder->normalize());
|
112 |
|
113 |
$constructor = new UserData($initial_state);
|
114 |
$this->assertEquals($expected, $constructor->normalize());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
}
|
27 |
use FacebookAdsTest\AbstractUnitTestCase;
|
28 |
use FacebookAds\Object\ServerSide\UserData;
|
29 |
use FacebookAds\Object\ServerSide\Util;
|
30 |
+
use InvalidArgumentException;
|
31 |
|
32 |
|
33 |
class UserDataTest extends AbstractUnitTestCase {
|
59 |
'doby' => '2001'
|
60 |
);
|
61 |
$expected = array(
|
62 |
+
'em' => array(Util::hash($initial_state['email'])),
|
63 |
+
'ph' => array(Util::hash($initial_state['phone'])),
|
64 |
+
'ge' => array(Util::hash($initial_state['gender'])),
|
65 |
+
'db' => array(Util::hash($initial_state['date_of_birth'])),
|
66 |
+
'ln' => array(Util::hash($initial_state['last_name'])),
|
67 |
+
'fn' => array(Util::hash($initial_state['first_name'])),
|
68 |
+
'ct' => array(Util::hash($initial_state['city'])),
|
69 |
+
'st' => array(Util::hash($initial_state['state'])),
|
70 |
+
'country' => array(Util::hash($initial_state['country_code'])),
|
71 |
+
'zp' => array(Util::hash($initial_state['zip_code'])),
|
72 |
+
'external_id' => array('external_id-10'),
|
73 |
'client_ip_address' => 'client_ip_address-11',
|
74 |
'client_user_agent' => 'client_user_agent-12',
|
75 |
'fbc' => 'fbc-13',
|
109 |
->setDobd($initial_state['dobd'])
|
110 |
->setDobm($initial_state['dobm'])
|
111 |
->setDoby($initial_state['doby']);
|
112 |
+
|
113 |
$this->assertEquals($expected, $builder->normalize());
|
114 |
|
115 |
$constructor = new UserData($initial_state);
|
116 |
$this->assertEquals($expected, $constructor->normalize());
|
117 |
+
|
118 |
+
// Make sure single value getters still work, since we store these fields as arrays internally.
|
119 |
+
$this->assertEquals($initial_state['email'], $constructor->getEmail());
|
120 |
+
$this->assertEquals($initial_state['phone'], $constructor->getPhone());
|
121 |
+
$this->assertEquals($initial_state['gender'], $constructor->getGender());
|
122 |
+
$this->assertEquals($initial_state['date_of_birth'], $constructor->getDateOfBirth());
|
123 |
+
$this->assertEquals($initial_state['last_name'], $constructor->getLastName());
|
124 |
+
$this->assertEquals($initial_state['first_name'], $constructor->getFirstName());
|
125 |
+
$this->assertEquals($initial_state['city'], $constructor->getCity());
|
126 |
+
$this->assertEquals($initial_state['state'], $constructor->getState());
|
127 |
+
$this->assertEquals($initial_state['country_code'], $constructor->getCountryCode());
|
128 |
+
$this->assertEquals($initial_state['zip_code'], $constructor->getZipCode());
|
129 |
+
$this->assertEquals($initial_state['external_id'], $constructor->getExternalId());
|
130 |
+
}
|
131 |
+
|
132 |
+
public function testMultiValueFieldsGettersAndSetters() {
|
133 |
+
$initial_state = array(
|
134 |
+
'emails' => array('email-0@test.com', 'email-1@eg.com'),
|
135 |
+
'phones' => array('1234567890', '10000000000'),
|
136 |
+
'genders' => array('f', 'm'),
|
137 |
+
'dates_of_birth' => array('01/01/2001', '02/09/2008'),
|
138 |
+
'last_names' => array('last_name-4', 'smith'),
|
139 |
+
'first_names' => array('first_name-5', 'joe'),
|
140 |
+
'cities' => array('seattle', 'san fransisco'),
|
141 |
+
'states' => array('WA', 'CA'),
|
142 |
+
'country_codes' => array('us', 'ca'),
|
143 |
+
'zip_codes' => array('12345', '00000'),
|
144 |
+
'external_ids' => array('external_id-10', '123')
|
145 |
+
);
|
146 |
+
|
147 |
+
$userData = (new UserData())
|
148 |
+
->setEmails($initial_state['emails'])
|
149 |
+
->setPhones($initial_state['phones'])
|
150 |
+
->setGenders($initial_state['genders'])
|
151 |
+
->setDatesOfBirth($initial_state['dates_of_birth'])
|
152 |
+
->setLastNames($initial_state['last_names'])
|
153 |
+
->setFirstNames($initial_state['first_names'])
|
154 |
+
->setCities($initial_state['cities'])
|
155 |
+
->setStates($initial_state['states'])
|
156 |
+
->setCountryCodes($initial_state['country_codes'])
|
157 |
+
->setZipCodes($initial_state['zip_codes'])
|
158 |
+
->setExternalIds($initial_state['external_ids']);
|
159 |
+
|
160 |
+
$this->assertEquals($initial_state['emails'], $userData->getEmails());
|
161 |
+
$this->assertEquals($initial_state['phones'], $userData->getPhones());
|
162 |
+
$this->assertEquals($initial_state['genders'], $userData->getGenders());
|
163 |
+
$this->assertEquals($initial_state['dates_of_birth'], $userData->getDatesOfBirth());
|
164 |
+
$this->assertEquals($initial_state['last_names'], $userData->getLastNames());
|
165 |
+
$this->assertEquals($initial_state['first_names'], $userData->getFirstNames());
|
166 |
+
$this->assertEquals($initial_state['cities'], $userData->getCities());
|
167 |
+
$this->assertEquals($initial_state['states'], $userData->getStates());
|
168 |
+
$this->assertEquals($initial_state['country_codes'], $userData->getCountryCodes());
|
169 |
+
$this->assertEquals($initial_state['zip_codes'], $userData->getZipCodes());
|
170 |
+
$this->assertEquals($initial_state['external_ids'], $userData->getExternalIds());
|
171 |
+
}
|
172 |
+
|
173 |
+
public function testConstructorWithBothSingularAndPluralParams() {
|
174 |
+
$params = array(
|
175 |
+
array('email', 'emails'),
|
176 |
+
array('phone', 'phones'),
|
177 |
+
array('gender', 'genders'),
|
178 |
+
array('date_of_birth', 'dates_of_birth'),
|
179 |
+
array('last_name', 'last_names'),
|
180 |
+
array('first_name', 'first_names'),
|
181 |
+
array('city', 'cities'),
|
182 |
+
array('state', 'states'),
|
183 |
+
array('country_code', 'country_codes'),
|
184 |
+
array('zip_code', 'zip_codes'),
|
185 |
+
array('external_id', 'external_ids')
|
186 |
+
);
|
187 |
+
|
188 |
+
$exception_count = 0;
|
189 |
+
foreach ($params as $p){
|
190 |
+
$initial_state = array(
|
191 |
+
$p[0] => 'testStr1',
|
192 |
+
$p[1] => array('testStr2', 'testStr3')
|
193 |
+
);
|
194 |
+
try {
|
195 |
+
$userData = new UserData($initial_state);
|
196 |
+
} catch(InvalidArgumentException $e) {
|
197 |
+
$exception_count++;
|
198 |
+
}
|
199 |
+
}
|
200 |
+
self::assertEquals(count($params), $exception_count);
|
201 |
+
}
|
202 |
+
|
203 |
+
public function testConstructorWithOnlyPluralParams() {
|
204 |
+
$initial_state = array(
|
205 |
+
'emails' => array('email-0@test.com', 'email-1@eg.com'),
|
206 |
+
'phones' => array('1234567890', '10000000000'),
|
207 |
+
'genders' => array('f', 'm'),
|
208 |
+
'dates_of_birth' => array('01/01/2001', '02/09/2008'),
|
209 |
+
'last_names' => array('last_name-4', 'smith'),
|
210 |
+
'first_names' => array('first_name-5', 'joe'),
|
211 |
+
'cities' => array('seattle', 'san fransisco'),
|
212 |
+
'states' => array('WA', 'CA'),
|
213 |
+
'country_codes' => array('us', 'ca'),
|
214 |
+
'zip_codes' => array('12345', '00000'),
|
215 |
+
'external_ids' => array('external_id-10', '123')
|
216 |
+
);
|
217 |
+
|
218 |
+
$userData = new UserData($initial_state);
|
219 |
+
|
220 |
+
$this->assertEquals($initial_state['emails'], $userData->getEmails());
|
221 |
+
$this->assertEquals($initial_state['phones'], $userData->getPhones());
|
222 |
+
$this->assertEquals($initial_state['genders'], $userData->getGenders());
|
223 |
+
$this->assertEquals($initial_state['dates_of_birth'], $userData->getDatesOfBirth());
|
224 |
+
$this->assertEquals($initial_state['last_names'], $userData->getLastNames());
|
225 |
+
$this->assertEquals($initial_state['first_names'], $userData->getFirstNames());
|
226 |
+
$this->assertEquals($initial_state['cities'], $userData->getCities());
|
227 |
+
$this->assertEquals($initial_state['states'], $userData->getStates());
|
228 |
+
$this->assertEquals($initial_state['country_codes'], $userData->getCountryCodes());
|
229 |
+
$this->assertEquals($initial_state['zip_codes'], $userData->getZipCodes());
|
230 |
+
$this->assertEquals($initial_state['external_ids'], $userData->getExternalIds());
|
231 |
+
}
|
232 |
+
|
233 |
+
public function testGettersAndSettersWithNull() {
|
234 |
+
$userData = (new UserData())
|
235 |
+
->setEmail(null)
|
236 |
+
->setPhone(null)
|
237 |
+
->setGender(null)
|
238 |
+
->setDateOfBirth(null)
|
239 |
+
->setLastName(null)
|
240 |
+
->setFirstName(null)
|
241 |
+
->setCity(null)
|
242 |
+
->setState(null)
|
243 |
+
->setCountryCode(null)
|
244 |
+
->setZipCode(null)
|
245 |
+
->setExternalId(null);
|
246 |
+
|
247 |
+
$this->assertEquals(null, $userData->getEmail());
|
248 |
+
$this->assertEquals(null, $userData->getPhone());
|
249 |
+
$this->assertEquals(null, $userData->getGender());
|
250 |
+
$this->assertEquals(null, $userData->getDateOfBirth());
|
251 |
+
$this->assertEquals(null, $userData->getLastName());
|
252 |
+
$this->assertEquals(null, $userData->getFirstName());
|
253 |
+
$this->assertEquals(null, $userData->getCity());
|
254 |
+
$this->assertEquals(null, $userData->getState());
|
255 |
+
$this->assertEquals(null, $userData->getCountryCode());
|
256 |
+
$this->assertEquals(null, $userData->getZipCode());
|
257 |
+
$this->assertEquals(null, $userData->getExternalId());
|
258 |
+
}
|
259 |
+
|
260 |
+
public function testGettersAndSettersWithEmpty() {
|
261 |
+
$userData = (new UserData())
|
262 |
+
->setEmails(array())
|
263 |
+
->setPhones(array())
|
264 |
+
->setGenders(array())
|
265 |
+
->setDatesOfBirth(array())
|
266 |
+
->setLastNames(array())
|
267 |
+
->setFirstNames(array())
|
268 |
+
->setCities(array())
|
269 |
+
->setStates(array())
|
270 |
+
->setCountryCodes(array())
|
271 |
+
->setZipCodes(array())
|
272 |
+
->setExternalIds(array());
|
273 |
+
|
274 |
+
$this->assertEquals(null, $userData->getEmail());
|
275 |
+
$this->assertEquals(null, $userData->getPhone());
|
276 |
+
$this->assertEquals(null, $userData->getGender());
|
277 |
+
$this->assertEquals(null, $userData->getDateOfBirth());
|
278 |
+
$this->assertEquals(null, $userData->getLastName());
|
279 |
+
$this->assertEquals(null, $userData->getFirstName());
|
280 |
+
$this->assertEquals(null, $userData->getCity());
|
281 |
+
$this->assertEquals(null, $userData->getState());
|
282 |
+
$this->assertEquals(null, $userData->getCountryCode());
|
283 |
+
$this->assertEquals(null, $userData->getZipCode());
|
284 |
+
$this->assertEquals(null, $userData->getExternalId());
|
285 |
+
}
|
286 |
+
|
287 |
+
public function testMultiValueFieldsDeduplication() {
|
288 |
+
$initial_state = array(
|
289 |
+
'emails' => array('email-0@test.com', 'email-1@eg.com', 'email-1@eg.com'),
|
290 |
+
'phones' => array('1234567890', '10000000000', '10000000000'),
|
291 |
+
'genders' => array('f', 'm', 'm'),
|
292 |
+
'dates_of_birth' => array('01/01/2001', '02/09/2008', '02/09/2008'),
|
293 |
+
'last_names' => array('last_name-4', 'smith', 'smith'),
|
294 |
+
'first_names' => array('first_name-5', 'joe', 'first_name-5'),
|
295 |
+
'cities' => array('seattle', 'sanfransisco', 'seattle'),
|
296 |
+
'states' => array('wa', 'ca', 'wa'),
|
297 |
+
'country_codes' => array('us', 'ca', 'us'),
|
298 |
+
'zip_codes' => array('12345', '00000', '12345'),
|
299 |
+
'external_ids' => array('external_id-10', '123', 'external_id-10')
|
300 |
+
);
|
301 |
+
|
302 |
+
$userData = (new UserData())
|
303 |
+
->setEmails($initial_state['emails'])
|
304 |
+
->setPhones($initial_state['phones'])
|
305 |
+
->setGenders($initial_state['genders'])
|
306 |
+
->setDatesOfBirth($initial_state['dates_of_birth'])
|
307 |
+
->setLastNames($initial_state['last_names'])
|
308 |
+
->setFirstNames($initial_state['first_names'])
|
309 |
+
->setCities($initial_state['cities'])
|
310 |
+
->setStates($initial_state['states'])
|
311 |
+
->setCountryCodes($initial_state['country_codes'])
|
312 |
+
->setZipCodes($initial_state['zip_codes'])
|
313 |
+
->setExternalIds($initial_state['external_ids']);
|
314 |
+
|
315 |
+
$normalized = $userData->normalize();
|
316 |
+
|
317 |
+
$this->assertEquals(2, count($normalized['em']));
|
318 |
+
$this->assertEquals(2, count($normalized['ph']));
|
319 |
+
$this->assertEquals(2, count($normalized['ge']));
|
320 |
+
$this->assertEquals(2, count($normalized['db']));
|
321 |
+
$this->assertEquals(2, count($normalized['ln']));
|
322 |
+
$this->assertEquals(2, count($normalized['fn']));
|
323 |
+
$this->assertEquals(2, count($normalized['ct']));
|
324 |
+
$this->assertEquals(2, count($normalized['st']));
|
325 |
+
$this->assertEquals(2, count($normalized['country']));
|
326 |
+
$this->assertEquals(2, count($normalized['zp']));
|
327 |
+
$this->assertEquals(2, count($normalized['external_id']));
|
328 |
+
}
|
329 |
+
|
330 |
+
public function testNormalizeMultiValueFields() {
|
331 |
+
$initial_state = array(
|
332 |
+
'email' => array('email-0@test.com', 'email-1@eg.com'),
|
333 |
+
'phone' => array('1234567890', '10000000000'),
|
334 |
+
'gender' => array('f', 'm'),
|
335 |
+
'date_of_birth' => array('01/01/2001', '02/09/2008'),
|
336 |
+
'last_name' => array('last_name-4', 'smith'),
|
337 |
+
'first_name' => array('first_name-5', 'joe'),
|
338 |
+
'city' => array('seattle', 'sanfransisco'),
|
339 |
+
'state' => array('wa', 'ca'),
|
340 |
+
'country_code' => array('us', 'ca'),
|
341 |
+
'zip_code' => array('12345', '00000'),
|
342 |
+
'external_id' => array('external_id-10', '123')
|
343 |
+
);
|
344 |
+
|
345 |
+
$userData = (new UserData())
|
346 |
+
->setEmails($initial_state['email'])
|
347 |
+
->setPhones($initial_state['phone'])
|
348 |
+
->setGenders($initial_state['gender'])
|
349 |
+
->setDatesOfBirth($initial_state['date_of_birth'])
|
350 |
+
->setLastNames($initial_state['last_name'])
|
351 |
+
->setFirstNames($initial_state['first_name'])
|
352 |
+
->setCities($initial_state['city'])
|
353 |
+
->setStates($initial_state['state'])
|
354 |
+
->setCountryCodes($initial_state['country_code'])
|
355 |
+
->setZipCodes($initial_state['zip_code'])
|
356 |
+
->setExternalIds($initial_state['external_id']);
|
357 |
+
|
358 |
+
$expected = array(
|
359 |
+
'em' => $this->hashList($initial_state['email']),
|
360 |
+
'ph' => $this->hashList($initial_state['phone']),
|
361 |
+
'ge' => $this->hashList($initial_state['gender']),
|
362 |
+
'db' => $this->hashList($initial_state['date_of_birth']),
|
363 |
+
'ln' => $this->hashList($initial_state['last_name']),
|
364 |
+
'fn' => $this->hashList($initial_state['first_name']),
|
365 |
+
'ct' => $this->hashList($initial_state['city']),
|
366 |
+
'st' => $this->hashList($initial_state['state']),
|
367 |
+
'country' => $this->hashList($initial_state['country_code']),
|
368 |
+
'zp' => $this->hashList($initial_state['zip_code']),
|
369 |
+
'external_id' => $initial_state['external_id']
|
370 |
+
);
|
371 |
+
|
372 |
+
$this->assertEquals($expected, $userData->normalize());
|
373 |
+
}
|
374 |
+
|
375 |
+
public function testMultiValueFieldsCanNormalizeEmpty() {
|
376 |
+
$userData = new UserData();
|
377 |
+
$normalized = $userData->normalize();
|
378 |
+
|
379 |
+
$this->assertEquals(array(), $normalized);
|
380 |
+
}
|
381 |
+
|
382 |
+
private function hashList($arr){
|
383 |
+
return array_map(
|
384 |
+
function($val){
|
385 |
+
return Util::hash($val);
|
386 |
+
},
|
387 |
+
$arr);
|
388 |
}
|
389 |
}
|