PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads) - Version 7.1.13

Version Description

Download this release

Release Info

Developer PixelYourSite
Plugin Icon 128x128 PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads)
Version 7.1.13
Comparing to
See all releases

Code changes from version 7.1.12 to 7.1.13

Files changed (149) hide show
  1. composer.json +1 -1
  2. composer.lock +6 -6
  3. dist/scripts/public.js +10 -6
  4. facebook-pixel-master.php +2 -2
  5. includes/class-events-manager.php +15 -12
  6. includes/views/html-main-general.php +39 -39
  7. modules/facebook/PYSServerEventHelper.php +3 -1
  8. modules/facebook/facebook.php +24 -14
  9. modules/facebook/function-helpers.php +5 -4
  10. pixelyoursite.php +1 -1
  11. readme.txt +9 -2
  12. vendor/composer/installed.json +6 -6
  13. vendor/facebook/php-business-sdk/CHANGELOG.md +14 -0
  14. vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +2 -2
  15. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +13 -55
  16. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdActivity.php +2 -0
  17. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdPlacePageSet.php +2 -0
  18. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php +1 -0
  19. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +1 -0
  20. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdVideo.php +0 -2
  21. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdsInterest.php → AdoptablePet.php} +6 -6
  22. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php +3 -4
  23. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AtlasCampaign.php +4 -1
  24. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +3 -288
  25. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreative.php +0 -80
  26. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolder.php +0 -262
  27. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolderSharingAgreement.php +0 -82
  28. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessImage.php +0 -245
  29. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php +4 -0
  30. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ClientTransparencyStatus.php +0 -57
  31. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php +29 -0
  32. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrderTransactionDetail.php +23 -0
  33. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CreativeAssetTag.php +0 -57
  34. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php +2 -1
  35. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExternalEventSource.php +0 -23
  36. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignActivityFields.php +0 -4
  37. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdPlacePageSetFields.php +2 -0
  38. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdReportSpecFields.php +0 -2
  39. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php +8 -0
  40. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AdsInterestFields.php → AdoptablePetFields.php} +35 -9
  41. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php +8 -0
  42. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BrandAudienceFields.php +0 -65
  43. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFields.php +0 -67
  44. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderFields.php +0 -63
  45. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderSharingAgreementFields.php +0 -53
  46. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessImageFields.php +0 -73
  47. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CampaignFields.php +2 -0
  48. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ClientTransparencyStatusFields.php +0 -53
  49. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +2 -0
  50. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/EventFields.php +4 -0
  51. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php +2 -0
  52. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IterativeSplitTestConfigFields.php +0 -63
  53. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OracleTransactionFields.php +0 -2
  54. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAboutStoryFields.php +0 -59
  55. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAdminNoteFields.php +2 -0
  56. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php +2 -2
  57. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PaymentSubscriptionFields.php +93 -0
  58. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductSetFields.php +6 -0
  59. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{MessengerPlatformReferralFields.php → ProductSetMetadataFields.php} +7 -11
  60. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SplitTestConfigFields.php +0 -59
  61. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TargetingFields.php +2 -0
  62. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{CreativeAssetTagFields.php → TargetingRelaxationFields.php} +3 -3
  63. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserInfluenceFields.php +0 -51
  64. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserTaggableFriendFields.php +0 -55
  65. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php +0 -51
  66. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AtlasURLFields.php → WorkMeetingLinkFields.php} +5 -3
  67. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +5 -1
  68. vendor/facebook/php-business-sdk/src/FacebookAds/Object/IterativeSplitTestConfig.php +0 -80
  69. vendor/facebook/php-business-sdk/src/FacebookAds/Object/LifeEvent.php +0 -23
  70. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Link.php +0 -26
  71. vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php +0 -23
  72. vendor/facebook/php-business-sdk/src/FacebookAds/Object/MediaFingerprint.php +27 -0
  73. vendor/facebook/php-business-sdk/src/FacebookAds/Object/MessengerPlatformReferral.php +0 -80
  74. vendor/facebook/php-business-sdk/src/FacebookAds/Object/NativeOfferView.php +0 -23
  75. vendor/facebook/php-business-sdk/src/FacebookAds/Object/OracleTransaction.php +0 -24
  76. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +12 -150
  77. vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageAboutStory.php +0 -131
  78. vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageChangeProposal.php +0 -47
  79. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{SplitTestConfig.php → PaymentSubscription.php} +6 -6
  80. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php +1 -0
  81. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +8 -0
  82. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php +1 -0
  83. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{UserInfluence.php → ProductSetMetadata.php} +4 -4
  84. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Profile.php +3 -0
  85. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProfilePictureSource.php +2 -0
  86. vendor/facebook/php-business-sdk/src/FacebookAds/Object/SavedAudience.php +0 -23
  87. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Content.php +85 -1
  88. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php +52 -0
  89. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Fields/StreamingReactionFields.php → ServerSide/DeliveryCategory.php} +17 -14
  90. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php +86 -6
  91. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php +99 -5
  92. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php +115 -0
  93. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php +155 -4
  94. vendor/facebook/php-business-sdk/src/FacebookAds/Object/StreamingReaction.php +0 -59
  95. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AtlasURL.php → TargetingRelaxation.php} +4 -4
  96. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ThirdPartyMeasurementReportDataset.php +0 -24
  97. vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php +51 -47
  98. vendor/facebook/php-business-sdk/src/FacebookAds/Object/UserTaggableFriend.php +0 -86
  99. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountCurrencyValues.php +1 -0
  100. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountDeliveryEstimateOptimizationGoalValues.php +1 -0
  101. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues.php +1 -0
  102. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountPermittedTasksValues.php +0 -3
  103. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedRegulatedCategoriesValues.php +1 -0
  104. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTasksValues.php +0 -3
  105. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageDomainActionTypeValues.php → AdActivityDataSourceValues.php} +4 -4
  106. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdActivityEventTypeValues.php +2 -0
  107. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php +1 -0
  108. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalNewValues.php +1 -0
  109. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalOldValues.php +1 -0
  110. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignDeliveryEstimateOptimizationGoalValues.php +1 -0
  111. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php +1 -0
  112. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php +1 -0
  113. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PagePaymentDevModeActionValues.php → AdPlacePageSetCategoryValues.php} +4 -4
  114. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +0 -1
  115. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetOptimizationGoalValues.php +1 -0
  116. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetTuneForCategoryValues.php +1 -0
  117. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +3 -0
  118. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoOriginalProjectionTypeValues.php +0 -1
  119. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoValidationAdPlacementsValues.php +0 -60
  120. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationSupportedPlatformsValues.php +1 -0
  121. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupAdaccountTasksValues.php +0 -3
  122. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderPermittedTasksValues.php +0 -45
  123. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderSharingAgreementRequestStatusValues.php +0 -45
  124. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderTasksValues.php +0 -45
  125. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessImageValidationAdPlacementsValues.php +0 -60
  126. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php +0 -3
  127. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessRoleRequestRoleValues.php +5 -0
  128. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessUserRoleValues.php +5 -0
  129. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoriesValues.php +1 -0
  130. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryCountryValues.php +291 -0
  131. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryValues.php +1 -0
  132. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageSettingTypeValues.php → EventOnlineEventFormatValues.php} +7 -7
  133. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/EventTypeValues.php +1 -0
  134. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php +1 -0
  135. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php +1 -0
  136. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php +1 -0
  137. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionIphoneDestinationTypeValues.php +1 -0
  138. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php +1 -0
  139. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePickupOptionsValues.php +43 -0
  140. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageSubscribedFieldsValues.php +1 -1
  141. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogPermittedTasksValues.php +1 -0
  142. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogTasksValues.php +1 -0
  143. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogVerticalValues.php +1 -0
  144. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedFeedTypeValues.php +1 -0
  145. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageThreadStateValues.php → ProfilePictureSourceBreakingChangeValues.php} +3 -4
  146. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/StreamingReactionReactionTypeValues.php +0 -50
  147. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php +5 -0
  148. vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessProfile.php +0 -104
  149. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{BrandAudience.php → WorkMeetingLink.php} +6 -6
composer.json CHANGED
@@ -3,7 +3,7 @@
3
  "description": "Track conversions and every action on your online store",
4
  "type": "project",
5
  "require": {
6
- "facebook/php-business-sdk": "7.0.1",
7
  "glenscott/url-normalizer": "1.4.0",
8
  "techcrunch/wp-async-task": "dev-master"
9
  }
3
  "description": "Track conversions and every action on your online store",
4
  "type": "project",
5
  "require": {
6
+ "facebook/php-business-sdk": "8.0.0",
7
  "glenscott/url-normalizer": "1.4.0",
8
  "techcrunch/wp-async-task": "dev-master"
9
  }
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": "1e264f615095706828f20f7172cfbd01",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
- "version": "7.0.1",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
- "reference": "ae15c52c45015f1cd9e1adbbf442a75698a6e214"
16
  },
17
  "dist": {
18
  "type": "zip",
19
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/ae15c52c45015f1cd9e1adbbf442a75698a6e214",
20
- "reference": "ae15c52c45015f1cd9e1adbbf442a75698a6e214",
21
  "shasum": ""
22
  },
23
  "require-dev": {
@@ -41,7 +41,7 @@
41
  "page",
42
  "sdk"
43
  ],
44
- "time": "2020-06-04T00:19:55+00:00"
45
  },
46
  {
47
  "name": "glenscott/url-normalizer",
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": "3f0321919b7a08d374f38e21d4914e56",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
+ "version": "8.0.0",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
+ "reference": "26d79d5c33aff01ade2192e1720ab3f646ae8aa9"
16
  },
17
  "dist": {
18
  "type": "zip",
19
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/26d79d5c33aff01ade2192e1720ab3f646ae8aa9",
20
+ "reference": "26d79d5c33aff01ade2192e1720ab3f646ae8aa9",
21
  "shasum": ""
22
  },
23
  "require-dev": {
41
  "page",
42
  "sdk"
43
  ],
44
+ "time": "2020-08-05T05:08:38+00:00"
45
  },
46
  {
47
  "name": "glenscott/url-normalizer",
dist/scripts/public.js CHANGED
@@ -680,6 +680,8 @@ if (!Array.prototype.includes) {
680
  }(options);
681
 
682
  var Facebook = function (options) {
 
 
683
 
684
  var defaultEventTypes = [
685
  'PageView',
@@ -704,10 +706,10 @@ if (!Array.prototype.includes) {
704
 
705
  var initialized = false;
706
 
707
- function fireEvent(name, data) {
708
 
709
  var actionType = defaultEventTypes.includes(name) ? 'track' : 'trackCustom';
710
-
711
  var params = {};
712
  Utils.copyProperties(data, params);
713
  Utils.copyProperties(options.commonEventParams, params);
@@ -719,7 +721,9 @@ if (!Array.prototype.includes) {
719
  options.gdpr.ginger_integration_enabled ||
720
  options.gdpr.cookie_notice_integration_enabled ||
721
  options.gdpr.cookie_law_info_integration_enabled;
722
- if( ("hCR" === name || "CompleteRegistration" === name || "Purchase" === name) && isApiDisabled){
 
 
723
  var json = {
724
  action: 'pys_api_event',
725
  pixel: 'facebook',
@@ -742,7 +746,7 @@ if (!Array.prototype.includes) {
742
  console.log('[Facebook] ' + name, params);
743
  }
744
 
745
- if("Purchase" === name || "CompleteRegistration" === name) { // Deduplicate Pixel and Server-Side Events for Purchase event
746
  fbq(actionType, name, params,{eventID:params.eventID});
747
  } else {
748
  fbq(actionType, name, params);
@@ -822,13 +826,13 @@ if (!Array.prototype.includes) {
822
 
823
  if (data.delay === 0) {
824
 
825
- fireEvent(name, data.params);
826
 
827
  } else {
828
 
829
  setTimeout(function (name, params) {
830
  fireEvent(name, params);
831
- }, data.delay * 1000, name, data.params);
832
 
833
  }
834
 
680
  }(options);
681
 
682
  var Facebook = function (options) {
683
+ var serverEvents = ["Purchase","InitiateCheckout","CompleteRegistration","hCR","ViewContent","PageView"];
684
+ var serverEventsDynamic = ["AddToCart"];
685
 
686
  var defaultEventTypes = [
687
  'PageView',
706
 
707
  var initialized = false;
708
 
709
+ function fireEvent(name, allData) {
710
 
711
  var actionType = defaultEventTypes.includes(name) ? 'track' : 'trackCustom';
712
+ var data = allData.params;
713
  var params = {};
714
  Utils.copyProperties(data, params);
715
  Utils.copyProperties(options.commonEventParams, params);
721
  options.gdpr.ginger_integration_enabled ||
722
  options.gdpr.cookie_notice_integration_enabled ||
723
  options.gdpr.cookie_law_info_integration_enabled;
724
+ // send event from server if they was bloc by gdpr or need send with delay
725
+ if( serverEvents.includes(name) && isApiDisabled || allData.delay > 0 || serverEventsDynamic.includes(name))
726
+ {
727
  var json = {
728
  action: 'pys_api_event',
729
  pixel: 'facebook',
746
  console.log('[Facebook] ' + name, params);
747
  }
748
 
749
+ if(serverEvents.includes(name) || serverEventsDynamic.includes(name)) { // Deduplicate Pixel and Server-Side Events for Purchase event
750
  fbq(actionType, name, params,{eventID:params.eventID});
751
  } else {
752
  fbq(actionType, name, params);
826
 
827
  if (data.delay === 0) {
828
 
829
+ fireEvent(name, data);
830
 
831
  } else {
832
 
833
  setTimeout(function (name, params) {
834
  fireEvent(name, params);
835
+ }, data.delay * 1000, name, data);
836
 
837
  }
838
 
facebook-pixel-master.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
  * Description: No codding <strong>Facebook Pixel</strong> and <strong>Google Analytics</strong> install. Track key actions with our Global Events, or configure your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up and Google Analytics Enhanced Ecommerce. Insert any custom script with our Head & Footer option. Add the <strong>Pinterest Tag</strong> with our free add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff.
7
- * Version: 7.1.12
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
@@ -13,7 +13,7 @@
13
  * Tested up to: 5.4
14
  *
15
  * WC requires at least: 2.6.0
16
- * WC tested up to: 4.4
17
  *
18
  * Text Domain: pys
19
  */
4
  * Plugin Name: PixelYourSite
5
  * Plugin URI: http://www.pixelyoursite.com/
6
  * Description: No codding <strong>Facebook Pixel</strong> and <strong>Google Analytics</strong> install. Track key actions with our Global Events, or configure your own events. WooCommerce and EDD fully supported, with Facebook Dynamic Ads Pixel set-up and Google Analytics Enhanced Ecommerce. Insert any custom script with our Head & Footer option. Add the <strong>Pinterest Tag</strong> with our free add-on. The PRO version adds support for the Google Ads tag plus a lot of extra stuff.
7
+ * Version: 7.1.13
8
  * Author: PixelYourSite
9
  * Author URI: http://www.pixelyoursite.com
10
  * License: GPLv3
13
  * Tested up to: 5.4
14
  *
15
  * WC requires at least: 2.6.0
16
+ * WC tested up to: 4.5
17
  *
18
  * Text Domain: pys
19
  */
includes/class-events-manager.php CHANGED
@@ -12,6 +12,8 @@ use FacebookAds\Object\ServerSide\Content;
12
  class EventsManager {
13
 
14
  static public $facebookServerEvents = array();
 
 
15
 
16
  public $doingAMP = false;
17
 
@@ -216,12 +218,13 @@ class EventsManager {
216
  );
217
 
218
  // fire fb server api event
219
- if(Facebook()->enabled() && $pixel->getSlug() == "facebook" && $eventType == 'edd_purchase') {
220
- if($eventData != null) {
221
- $this->addEventToFacebookServerApi(Facebook(),'edd_purchase',$eventData);
 
 
222
  }
223
  }
224
-
225
  }
226
 
227
  }
@@ -361,13 +364,6 @@ class EventsManager {
361
  if ( isEventEnabled( 'woo_purchase_enabled' ) && is_order_received_page() && isset( $_REQUEST['key'] ) ) {
362
  $this->addStaticEvent( 'woo_purchase' );
363
 
364
- if(Facebook()->enabled()) {
365
- $eventData = Facebook()->getEventData( 'woo_purchase' );
366
- if($eventData != null) {
367
- $this->addEventToFacebookServerApi(Facebook(),'woo_purchase',$eventData);
368
- }
369
- }
370
-
371
  /**
372
  * Add complete registration event
373
  */
@@ -475,7 +471,9 @@ class EventsManager {
475
  $pixelName = $_POST['pixel'];
476
  $event = $_POST['event'];
477
  $data = $_POST['data'];
 
478
  if($event == "hCR") $event="CompleteRegistration"; // de mask completer registration event if it was hidden
 
479
  switch ($pixelName) {
480
  case 'facebook': {
481
  if(isset($data['content_ids'])) {
@@ -483,7 +481,12 @@ class EventsManager {
483
  $data['content_ids']=$content_ids;
484
  }
485
  if(isset($data['contents'])) {
486
- $contents = json_decode(stripslashes($data['contents']));
 
 
 
 
 
487
  $data['contents']=$contents;
488
  }
489
  EventsManager::sendFbApiEvent(Facebook::instance(),$event,$data,false);
12
  class EventsManager {
13
 
14
  static public $facebookServerEvents = array();
15
+ private $facebookServerEventTypes = array("edd_purchase","woo_purchase","init_event","woo_view_content",
16
+ "edd_view_content","edd_initiate_checkout","woo_initiate_checkout");
17
 
18
  public $doingAMP = false;
19
 
218
  );
219
 
220
  // fire fb server api event
221
+ if($pixel->getSlug() == "facebook" && in_array($eventType,$this->facebookServerEventTypes)) {
222
+ if ($eventData != null) {
223
+ if ($eventData != null && (!isset($eventData['delay']) || $eventData['delay'] == 0)) {
224
+ $this->addEventToFacebookServerApi($pixel, $eventType, $eventData);
225
+ }
226
  }
227
  }
 
228
  }
229
 
230
  }
364
  if ( isEventEnabled( 'woo_purchase_enabled' ) && is_order_received_page() && isset( $_REQUEST['key'] ) ) {
365
  $this->addStaticEvent( 'woo_purchase' );
366
 
 
 
 
 
 
 
 
367
  /**
368
  * Add complete registration event
369
  */
471
  $pixelName = $_POST['pixel'];
472
  $event = $_POST['event'];
473
  $data = $_POST['data'];
474
+
475
  if($event == "hCR") $event="CompleteRegistration"; // de mask completer registration event if it was hidden
476
+
477
  switch ($pixelName) {
478
  case 'facebook': {
479
  if(isset($data['content_ids'])) {
481
  $data['content_ids']=$content_ids;
482
  }
483
  if(isset($data['contents'])) {
484
+ if(is_array($data['contents'])) {
485
+ $contents = json_decode(json_encode($data['contents']));
486
+ } else {
487
+ $contents = json_decode(stripslashes($data['contents']));
488
+ }
489
+
490
  $data['contents']=$contents;
491
  }
492
  EventsManager::sendFbApiEvent(Facebook::instance(),$event,$data,false);
includes/views/html-main-general.php CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  <div class="card-body">
17
 
18
  <?php if ( Facebook()->enabled() ) : ?>
19
-
20
  <div class="row align-items-center mb-3">
21
  <div class="col-3">
22
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/facebook-small-square.png">
@@ -38,14 +38,14 @@ if ( ! defined( 'ABSPATH' ) ) {
38
 
39
  </div>
40
  <div class="col-7">
41
- <h4 class="label">Optional:</h4>
42
  <?php Facebook()->render_checkbox_input(
43
  "use_server_api",
44
- "Also send events directly from your web server to Facebook through the server-side API. This can help you capture more events. An access token is required to use the server-side API. <a href='https://www.pixelyoursite.com/documentation/configure-server-side-events' target='_blank'>Generate Access Token</a>"
45
  ); ?>
46
  <?php Facebook()->render_text_area_array_item("server_access_api_token","Api token") ?>
47
  <small class="form-text">
48
- This is an experimental feature and works only for the WooCommerce Purchase and CompleteRegistration events, and Easy Digital Downloads Purchase event.
49
  </small>
50
  </div>
51
  </div>
@@ -70,11 +70,11 @@ if ( ! defined( 'ABSPATH' ) ) {
70
  </div>
71
  <?php endif; ?>
72
  <hr>
73
-
74
 
75
-
 
76
  <?php if ( GA()->enabled() ) : ?>
77
-
78
  <div class="row align-items-center mb-3">
79
  <div class="col-3">
80
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/analytics-square-small.png">
@@ -99,11 +99,11 @@ if ( ! defined( 'ABSPATH' ) ) {
99
  </div>
100
  <?php endif; ?>
101
  <hr>
102
-
103
  <?php endif; ?>
104
-
105
  <?php do_action( 'pys_admin_pixel_ids' ); ?>
106
-
107
  <div class="row align-items-center">
108
  <div class="col-3 py-4">
109
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/google-ads-square-small.png">
@@ -114,7 +114,7 @@ if ( ! defined( 'ABSPATH' ) ) {
114
  target="_blank">pro version</a>.
115
  </div>
116
  </div>
117
-
118
  </div>
119
  </div>
120
 
@@ -271,7 +271,7 @@ if ( ! defined( 'ABSPATH' ) ) {
271
  <?php renderPopoverButton( 'general_event' ); ?>
272
  </div>
273
  </div>
274
-
275
  <?php if ( Facebook()->enabled() ) : ?>
276
  <div class="row">
277
  <div class="col">
@@ -280,7 +280,7 @@ if ( ! defined( 'ABSPATH' ) ) {
280
  </div>
281
  </div>
282
  <?php endif; ?>
283
-
284
  <?php if ( Pinterest()->enabled() ) : ?>
285
  <div class="row">
286
  <div class="col">
@@ -290,7 +290,7 @@ if ( ! defined( 'ABSPATH' ) ) {
290
  </div>
291
  </div>
292
  <?php endif; ?>
293
-
294
  <div class="row">
295
  <div class="col">
296
  <?php renderDummySwitcher(); ?>
@@ -390,7 +390,7 @@ if ( ! defined( 'ABSPATH' ) ) {
390
  </div>
391
 
392
  <?php endforeach; ?>
393
-
394
  <?php if ( GA()->enabled() ) : ?>
395
  <div class="row mt-3">
396
  <div class="col">
@@ -416,7 +416,7 @@ if ( ! defined( 'ABSPATH' ) ) {
416
  <?php renderPopoverButton( 'search_event' ); ?>
417
  </div>
418
  </div>
419
-
420
  <?php if ( Facebook()->enabled() ) : ?>
421
  <div class="row">
422
  <div class="col">
@@ -425,7 +425,7 @@ if ( ! defined( 'ABSPATH' ) ) {
425
  </div>
426
  </div>
427
  <?php endif; ?>
428
-
429
  <?php if ( GA()->enabled() ) : ?>
430
  <div class="row mb-1">
431
  <div class="col">
@@ -458,7 +458,7 @@ if ( ! defined( 'ABSPATH' ) ) {
458
  </div>
459
  </div>
460
  <?php endif; ?>
461
-
462
  <?php if ( Pinterest()->enabled() ) : ?>
463
  <div class="row">
464
  <div class="col">
@@ -556,7 +556,7 @@ if ( ! defined( 'ABSPATH' ) ) {
556
  <?php renderPopoverButton( 'comment_event' ); ?>
557
  </div>
558
  </div>
559
-
560
  <?php if ( Facebook()->enabled() ) : ?>
561
  <div class="row">
562
  <div class="col">
@@ -565,7 +565,7 @@ if ( ! defined( 'ABSPATH' ) ) {
565
  </div>
566
  </div>
567
  <?php endif; ?>
568
-
569
  <?php if ( GA()->enabled() ) : ?>
570
  <div class="row mb-1">
571
  <div class="col">
@@ -627,7 +627,7 @@ if ( ! defined( 'ABSPATH' ) ) {
627
  <?php renderPopoverButton( 'download_docs_event' ); ?>
628
  </div>
629
  </div>
630
-
631
  <?php if ( Facebook()->enabled() ) : ?>
632
  <div class="row">
633
  <div class="col">
@@ -636,7 +636,7 @@ if ( ! defined( 'ABSPATH' ) ) {
636
  </div>
637
  </div>
638
  <?php endif; ?>
639
-
640
  <?php if ( GA()->enabled() ) : ?>
641
  <div class="row mb-1">
642
  <div class="col">
@@ -651,7 +651,7 @@ if ( ! defined( 'ABSPATH' ) ) {
651
  </div>
652
  </div>
653
  <?php endif; ?>
654
-
655
  <div class="row">
656
  <div class="col">
657
  <?php renderDummySwitcher(); ?>
@@ -659,7 +659,7 @@ if ( ! defined( 'ABSPATH' ) ) {
659
  <?php renderProBadge('https://www.pixelyoursite.com/google-ads-tag/?utm_source=pys-free-plugin&utm_medium=pro-badge&utm_campaign=pro-feature') ?>
660
  </div>
661
  </div>
662
-
663
  <?php if ( Pinterest()->enabled() ) : ?>
664
  <div class="row">
665
  <div class="col">
@@ -707,7 +707,7 @@ if ( ! defined( 'ABSPATH' ) ) {
707
  Track Clicks <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
708
  </div>
709
  <div class="card-body">
710
-
711
  <div class="row">
712
  <div class="col-11">
713
  <p>This event will be fired everytime a click is performed on your website.</p>
@@ -716,14 +716,14 @@ if ( ! defined( 'ABSPATH' ) ) {
716
  <?php renderPopoverButton( 'click_event' ); ?>
717
  </div>
718
  </div>
719
-
720
  <div class="row">
721
  <div class="col">
722
  <?php renderDummySwitcher(); ?>
723
  <h4 class="switcher-label">Enable the ClickEvent on Facebook</h4>
724
  </div>
725
  </div>
726
-
727
  <div class="row mb-1">
728
  <div class="col">
729
  <?php renderDummySwitcher(); ?>
@@ -756,7 +756,7 @@ if ( ! defined( 'ABSPATH' ) ) {
756
  <h4 class="switcher-label">Enable the ClickEvent on Bing</h4>
757
  </div>
758
  </div>
759
-
760
  </div>
761
  </div>
762
 
@@ -766,7 +766,7 @@ if ( ! defined( 'ABSPATH' ) ) {
766
  Track Embedded Video Views <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
767
  </div>
768
  <div class="card-body">
769
-
770
  <div class="row">
771
  <div class="col-11">
772
  <p>This event will be fired when an embedded YouTube or Vimeo video is watched on your website.</p>
@@ -828,7 +828,7 @@ if ( ! defined( 'ABSPATH' ) ) {
828
  <h4 class="indicator-label">Vimeo embedded videos</h4>
829
  </div>
830
  </div>
831
-
832
  </div>
833
  </div>
834
 
@@ -838,7 +838,7 @@ if ( ! defined( 'ABSPATH' ) ) {
838
  Track User Sign-ups <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
839
  </div>
840
  <div class="card-body">
841
-
842
  <div class="row">
843
  <div class="col-11">
844
  <p>This event will be fired after a new user account is created on your website.</p>
@@ -847,14 +847,14 @@ if ( ! defined( 'ABSPATH' ) ) {
847
  <?php renderPopoverButton( 'complete_registration_event' ); ?>
848
  </div>
849
  </div>
850
-
851
  <div class="row">
852
  <div class="col">
853
  <?php renderDummySwitcher(); ?>
854
  <h4 class="switcher-label">Enable the CompleteRegistration event on Facebook</h4>
855
  </div>
856
  </div>
857
-
858
  <div class="row mb-1">
859
  <div class="col">
860
  <?php renderDummySwitcher(); ?>
@@ -866,7 +866,7 @@ if ( ! defined( 'ABSPATH' ) ) {
866
  <?php renderDummyCheckbox( 'Non-interactive event' ); ?>
867
  </div>
868
  </div>
869
-
870
  <div class="row">
871
  <div class="col">
872
  <?php renderDummySwitcher(); ?>
@@ -897,7 +897,7 @@ if ( ! defined( 'ABSPATH' ) ) {
897
  Track AdSense Clicks <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
898
  </div>
899
  <div class="card-body">
900
-
901
  <div class="row">
902
  <div class="col-11">
903
  <p>This event will be fired by clicks on AdSense ads. Is designed to be used for retargeting with Custom
@@ -914,7 +914,7 @@ if ( ! defined( 'ABSPATH' ) ) {
914
  <h4 class="switcher-label">Enable the AdSense event on Facebook</h4>
915
  </div>
916
  </div>
917
-
918
  <div class="row">
919
  <div class="col">
920
  <?php renderDummySwitcher(); ?>
@@ -928,7 +928,7 @@ if ( ! defined( 'ABSPATH' ) ) {
928
  <h4 class="switcher-label">Enable the ClickEvent on Bing</h4>
929
  </div>
930
  </div>
931
-
932
  <?php if ( GA()->enabled() ) : ?>
933
  <div class="row mt-3">
934
  <div class="col">
@@ -937,7 +937,7 @@ if ( ! defined( 'ABSPATH' ) ) {
937
  </div>
938
  </div>
939
  <?php endif; ?>
940
-
941
  </div>
942
  </div>
943
 
@@ -995,4 +995,4 @@ if ( ! defined( 'ABSPATH' ) ) {
995
  <div class="col-4">
996
  <button class="btn btn-block btn-save">Save Settings</button>
997
  </div>
998
- </div>
16
  <div class="card-body">
17
 
18
  <?php if ( Facebook()->enabled() ) : ?>
19
+
20
  <div class="row align-items-center mb-3">
21
  <div class="col-3">
22
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/facebook-small-square.png">
38
 
39
  </div>
40
  <div class="col-7">
41
+ <h4 class="label">Conversion API (recommended):</h4>
42
  <?php Facebook()->render_checkbox_input(
43
  "use_server_api",
44
+ "Send events directly from your web server to Facebook through the Conversion API. This can help you capture more events. An access token is required to use the server-side API. <a href='https://www.pixelyoursite.com/documentation/configure-server-side-events' target='_blank'>Generate Access Token</a>"
45
  ); ?>
46
  <?php Facebook()->render_text_area_array_item("server_access_api_token","Api token") ?>
47
  <small class="form-text">
48
+ This is an experimental feature and works only for the automatilly fired standard events. We plan to expand it to all events soon.
49
  </small>
50
  </div>
51
  </div>
70
  </div>
71
  <?php endif; ?>
72
  <hr>
 
73
 
74
+
75
+
76
  <?php if ( GA()->enabled() ) : ?>
77
+
78
  <div class="row align-items-center mb-3">
79
  <div class="col-3">
80
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/analytics-square-small.png">
99
  </div>
100
  <?php endif; ?>
101
  <hr>
102
+
103
  <?php endif; ?>
104
+
105
  <?php do_action( 'pys_admin_pixel_ids' ); ?>
106
+
107
  <div class="row align-items-center">
108
  <div class="col-3 py-4">
109
  <img class="tag-logo" src="<?php echo PYS_FREE_URL; ?>/dist/images/google-ads-square-small.png">
114
  target="_blank">pro version</a>.
115
  </div>
116
  </div>
117
+
118
  </div>
119
  </div>
120
 
271
  <?php renderPopoverButton( 'general_event' ); ?>
272
  </div>
273
  </div>
274
+
275
  <?php if ( Facebook()->enabled() ) : ?>
276
  <div class="row">
277
  <div class="col">
280
  </div>
281
  </div>
282
  <?php endif; ?>
283
+
284
  <?php if ( Pinterest()->enabled() ) : ?>
285
  <div class="row">
286
  <div class="col">
290
  </div>
291
  </div>
292
  <?php endif; ?>
293
+
294
  <div class="row">
295
  <div class="col">
296
  <?php renderDummySwitcher(); ?>
390
  </div>
391
 
392
  <?php endforeach; ?>
393
+
394
  <?php if ( GA()->enabled() ) : ?>
395
  <div class="row mt-3">
396
  <div class="col">
416
  <?php renderPopoverButton( 'search_event' ); ?>
417
  </div>
418
  </div>
419
+
420
  <?php if ( Facebook()->enabled() ) : ?>
421
  <div class="row">
422
  <div class="col">
425
  </div>
426
  </div>
427
  <?php endif; ?>
428
+
429
  <?php if ( GA()->enabled() ) : ?>
430
  <div class="row mb-1">
431
  <div class="col">
458
  </div>
459
  </div>
460
  <?php endif; ?>
461
+
462
  <?php if ( Pinterest()->enabled() ) : ?>
463
  <div class="row">
464
  <div class="col">
556
  <?php renderPopoverButton( 'comment_event' ); ?>
557
  </div>
558
  </div>
559
+
560
  <?php if ( Facebook()->enabled() ) : ?>
561
  <div class="row">
562
  <div class="col">
565
  </div>
566
  </div>
567
  <?php endif; ?>
568
+
569
  <?php if ( GA()->enabled() ) : ?>
570
  <div class="row mb-1">
571
  <div class="col">
627
  <?php renderPopoverButton( 'download_docs_event' ); ?>
628
  </div>
629
  </div>
630
+
631
  <?php if ( Facebook()->enabled() ) : ?>
632
  <div class="row">
633
  <div class="col">
636
  </div>
637
  </div>
638
  <?php endif; ?>
639
+
640
  <?php if ( GA()->enabled() ) : ?>
641
  <div class="row mb-1">
642
  <div class="col">
651
  </div>
652
  </div>
653
  <?php endif; ?>
654
+
655
  <div class="row">
656
  <div class="col">
657
  <?php renderDummySwitcher(); ?>
659
  <?php renderProBadge('https://www.pixelyoursite.com/google-ads-tag/?utm_source=pys-free-plugin&utm_medium=pro-badge&utm_campaign=pro-feature') ?>
660
  </div>
661
  </div>
662
+
663
  <?php if ( Pinterest()->enabled() ) : ?>
664
  <div class="row">
665
  <div class="col">
707
  Track Clicks <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
708
  </div>
709
  <div class="card-body">
710
+
711
  <div class="row">
712
  <div class="col-11">
713
  <p>This event will be fired everytime a click is performed on your website.</p>
716
  <?php renderPopoverButton( 'click_event' ); ?>
717
  </div>
718
  </div>
719
+
720
  <div class="row">
721
  <div class="col">
722
  <?php renderDummySwitcher(); ?>
723
  <h4 class="switcher-label">Enable the ClickEvent on Facebook</h4>
724
  </div>
725
  </div>
726
+
727
  <div class="row mb-1">
728
  <div class="col">
729
  <?php renderDummySwitcher(); ?>
756
  <h4 class="switcher-label">Enable the ClickEvent on Bing</h4>
757
  </div>
758
  </div>
759
+
760
  </div>
761
  </div>
762
 
766
  Track Embedded Video Views <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
767
  </div>
768
  <div class="card-body">
769
+
770
  <div class="row">
771
  <div class="col-11">
772
  <p>This event will be fired when an embedded YouTube or Vimeo video is watched on your website.</p>
828
  <h4 class="indicator-label">Vimeo embedded videos</h4>
829
  </div>
830
  </div>
831
+
832
  </div>
833
  </div>
834
 
838
  Track User Sign-ups <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
839
  </div>
840
  <div class="card-body">
841
+
842
  <div class="row">
843
  <div class="col-11">
844
  <p>This event will be fired after a new user account is created on your website.</p>
847
  <?php renderPopoverButton( 'complete_registration_event' ); ?>
848
  </div>
849
  </div>
850
+
851
  <div class="row">
852
  <div class="col">
853
  <?php renderDummySwitcher(); ?>
854
  <h4 class="switcher-label">Enable the CompleteRegistration event on Facebook</h4>
855
  </div>
856
  </div>
857
+
858
  <div class="row mb-1">
859
  <div class="col">
860
  <?php renderDummySwitcher(); ?>
866
  <?php renderDummyCheckbox( 'Non-interactive event' ); ?>
867
  </div>
868
  </div>
869
+
870
  <div class="row">
871
  <div class="col">
872
  <?php renderDummySwitcher(); ?>
897
  Track AdSense Clicks <?php renderProBadge(); ?><?php cardCollapseBtn(); ?>
898
  </div>
899
  <div class="card-body">
900
+
901
  <div class="row">
902
  <div class="col-11">
903
  <p>This event will be fired by clicks on AdSense ads. Is designed to be used for retargeting with Custom
914
  <h4 class="switcher-label">Enable the AdSense event on Facebook</h4>
915
  </div>
916
  </div>
917
+
918
  <div class="row">
919
  <div class="col">
920
  <?php renderDummySwitcher(); ?>
928
  <h4 class="switcher-label">Enable the ClickEvent on Bing</h4>
929
  </div>
930
  </div>
931
+
932
  <?php if ( GA()->enabled() ) : ?>
933
  <div class="row mt-3">
934
  <div class="col">
937
  </div>
938
  </div>
939
  <?php endif; ?>
940
+
941
  </div>
942
  </div>
943
 
995
  <div class="col-4">
996
  <button class="btn btn-block btn-save">Save Settings</button>
997
  </div>
998
+ </div>
modules/facebook/PYSServerEventHelper.php CHANGED
@@ -74,7 +74,9 @@ class ServerEventHelper {
74
  $request_uri = null;
75
 
76
  if (!empty($_SERVER['REQUEST_URI'])) {
77
- $request_uri = $_SERVER['REQUEST_URI'];
 
 
78
  }
79
 
80
  return $request_uri;
74
  $request_uri = null;
75
 
76
  if (!empty($_SERVER['REQUEST_URI'])) {
77
+ $start = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http")."://";
78
+ $request_uri = $start.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
79
+
80
  }
81
 
82
  return $request_uri;
modules/facebook/facebook.php CHANGED
@@ -209,7 +209,9 @@ class Facebook extends Settings implements Pixel {
209
 
210
  return array(
211
  'name' => 'PageView',
212
- 'data' => array(),
 
 
213
  );
214
 
215
  }
@@ -399,10 +401,10 @@ class Facebook extends Settings implements Pixel {
399
 
400
 
401
  $params['value'] = getWooEventValue( $value_option, $global_value,100, $post->ID ,1);
402
- $params['currency'] = get_woocommerce_currency();
403
 
404
- }
405
 
 
 
406
  // contents
407
  if ( Helpers\isDefaultWooContentIdLogic() ) {
408
 
@@ -416,7 +418,7 @@ class Facebook extends Settings implements Pixel {
416
  ) );
417
 
418
  }
419
-
420
  $params['product_price'] = getWooProductPriceToDisplay( $post->ID );
421
 
422
  return array(
@@ -448,7 +450,7 @@ class Facebook extends Settings implements Pixel {
448
  }
449
 
450
  $params = Helpers\getWooCartParams();
451
-
452
  return array(
453
  'name' => 'AddToCart',
454
  'data' => $params,
@@ -541,7 +543,7 @@ class Facebook extends Settings implements Pixel {
541
  }
542
 
543
  $params = Helpers\getWooCartParams( 'InitiateCheckout' );
544
-
545
  return array(
546
  'name' => 'InitiateCheckout',
547
  'data' => $params,
@@ -695,10 +697,11 @@ class Facebook extends Settings implements Pixel {
695
  $global_value = PYS()->getOption( 'edd_view_content_value_global', 0 );
696
 
697
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
698
- $params['currency'] = edd_get_currency();
699
 
700
- }
701
 
 
 
 
702
  // contents
703
  $params['contents'] = json_encode( array(
704
  array(
@@ -747,10 +750,10 @@ class Facebook extends Settings implements Pixel {
747
  $global_value = PYS()->getOption( 'edd_add_to_cart_value_global', 0 );
748
 
749
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
750
- $params['currency'] = edd_get_currency();
751
 
752
- }
753
 
 
 
754
  // contents
755
  $params['contents'] = json_encode( array(
756
  array(
@@ -759,7 +762,7 @@ class Facebook extends Settings implements Pixel {
759
  'item_price' => getEddDownloadPriceToDisplay( $download_id ),
760
  )
761
  ) );
762
-
763
  return array(
764
  'data' => $params,
765
  );
@@ -868,23 +871,30 @@ class Facebook extends Settings implements Pixel {
868
 
869
  // currency, value
870
  if ( $value_enabled ) {
871
-
872
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
873
  $params['currency'] = edd_get_currency();
874
 
875
  }
876
 
 
 
 
 
 
 
 
877
  if ( $context == 'Purchase' ) {
878
 
879
  $payment_key = getEddPaymentKey();
880
  $payment_id = (int) edd_get_purchase_id_by_key( $payment_key );
881
 
882
- $params['currency'] = edd_get_currency();
883
  $params['value'] = edd_get_payment_amount( $payment_id );
884
  $params['eventID'] = $payment_id;
885
 
886
  }
887
-
888
  return array(
889
  'name' => $context,
890
  'data' => $params,
209
 
210
  return array(
211
  'name' => 'PageView',
212
+ 'data' => array(
213
+ 'eventID' => "pv_".time()
214
+ ),
215
  );
216
 
217
  }
401
 
402
 
403
  $params['value'] = getWooEventValue( $value_option, $global_value,100, $post->ID ,1);
 
404
 
 
405
 
406
+ }
407
+ $params['currency'] = get_woocommerce_currency();
408
  // contents
409
  if ( Helpers\isDefaultWooContentIdLogic() ) {
410
 
418
  ) );
419
 
420
  }
421
+ $params['eventID'] = $post->ID."_".time();
422
  $params['product_price'] = getWooProductPriceToDisplay( $post->ID );
423
 
424
  return array(
450
  }
451
 
452
  $params = Helpers\getWooCartParams();
453
+ $params['eventID'] = "add_cart_".time();
454
  return array(
455
  'name' => 'AddToCart',
456
  'data' => $params,
543
  }
544
 
545
  $params = Helpers\getWooCartParams( 'InitiateCheckout' );
546
+ $params['eventID'] = "init_check_".time();
547
  return array(
548
  'name' => 'InitiateCheckout',
549
  'data' => $params,
697
  $global_value = PYS()->getOption( 'edd_view_content_value_global', 0 );
698
 
699
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
 
700
 
 
701
 
702
+ }
703
+ $params['currency'] = edd_get_currency();
704
+ $params['eventID'] = $post->ID."_".time();
705
  // contents
706
  $params['contents'] = json_encode( array(
707
  array(
750
  $global_value = PYS()->getOption( 'edd_add_to_cart_value_global', 0 );
751
 
752
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
 
753
 
 
754
 
755
+ }
756
+ $params['currency'] = edd_get_currency();
757
  // contents
758
  $params['contents'] = json_encode( array(
759
  array(
762
  'item_price' => getEddDownloadPriceToDisplay( $download_id ),
763
  )
764
  ) );
765
+ $params['eventID'] = $download_id."_".time();
766
  return array(
767
  'data' => $params,
768
  );
871
 
872
  // currency, value
873
  if ( $value_enabled ) {
874
+
875
  $params['value'] = getEddEventValue( $value_option, $amount, $global_value );
876
  $params['currency'] = edd_get_currency();
877
 
878
  }
879
 
880
+ if($context == 'AddToCart') {
881
+ $params['eventID'] = "edd_add_cart_".time();
882
+
883
+ }
884
+ if($context == 'InitiateCheckout')
885
+ $params['eventID'] = "init_check_".time();
886
+
887
  if ( $context == 'Purchase' ) {
888
 
889
  $payment_key = getEddPaymentKey();
890
  $payment_id = (int) edd_get_purchase_id_by_key( $payment_key );
891
 
892
+
893
  $params['value'] = edd_get_payment_amount( $payment_id );
894
  $params['eventID'] = $payment_id;
895
 
896
  }
897
+ $params['currency'] = edd_get_currency();
898
  return array(
899
  'name' => $context,
900
  'data' => $params,
modules/facebook/function-helpers.php CHANGED
@@ -296,10 +296,11 @@ function getWooSingleAddToCartParams( $product_id, $qty = 1 ) {
296
  $global_value = PixelYourSite\PYS()->getOption( 'woo_add_to_cart_value_global', 0 );
297
 
298
  $params['value'] = PixelYourSite\getWooEventValue( $value_option, $global_value,100, $product_id,$qty );
299
- $params['currency'] = get_woocommerce_currency();
300
 
301
- }
302
 
 
 
 
303
  // contents
304
  if ( isDefaultWooContentIdLogic() ) {
305
 
@@ -396,10 +397,10 @@ function getWooCartParams( $context = 'cart' ) {
396
  $global_value = PixelYourSite\PYS()->getOption( $value_global_option, 0 );
397
 
398
  $params['value'] = PixelYourSite\getWooEventValueCart( $value_option, $global_value );
399
- $params['currency'] = get_woocommerce_currency();
400
 
401
- }
402
 
 
 
403
  return $params;
404
 
405
  }
296
  $global_value = PixelYourSite\PYS()->getOption( 'woo_add_to_cart_value_global', 0 );
297
 
298
  $params['value'] = PixelYourSite\getWooEventValue( $value_option, $global_value,100, $product_id,$qty );
 
299
 
 
300
 
301
+ }
302
+ $params['currency'] = get_woocommerce_currency();
303
+ $params['eventID'] = (string) $product_id."_".time();
304
  // contents
305
  if ( isDefaultWooContentIdLogic() ) {
306
 
397
  $global_value = PixelYourSite\PYS()->getOption( $value_global_option, 0 );
398
 
399
  $params['value'] = PixelYourSite\getWooEventValueCart( $value_option, $global_value );
 
400
 
 
401
 
402
+ }
403
+ $params['currency'] = get_woocommerce_currency();
404
  return $params;
405
 
406
  }
pixelyoursite.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
- define( 'PYS_FREE_VERSION', '7.1.12' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.6' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '1.0.0' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
4
  exit; // Exit if accessed directly.
5
  }
6
 
7
+ define( 'PYS_FREE_VERSION', '7.1.13' );
8
  define( 'PYS_FREE_PINTEREST_MIN_VERSION', '2.0.6' );
9
  define( 'PYS_FREE_BING_MIN_VERSION', '1.0.0' );
10
  define( 'PYS_FREE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook Pixel, New Facebook Pixel, Facebook Conversion Pixel, Facebook Pi
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.5
7
- Stable tag: 7.1.12
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -23,7 +23,7 @@ Take a look at this video to see the plugin in action:
23
 
24
  [youtube https://www.youtube.com/watch?v=OUHU9lZ2lwQ]
25
 
26
- NEW: Facebook Pixel server-side events for WooCommerce (Purchase and CompleteRegistration): [Learn how to configure server-side events](https://www.pixelyoursite.com/documentation/configure-server-side-events)
27
 
28
  TRACK EVERYTHING WITH A SINGLE PLUGIN:
29
 
@@ -390,6 +390,13 @@ NO, absolutely not! We don't track any type of data about your website. We simpl
390
 
391
  == Changelog ==
392
 
 
 
 
 
 
 
 
393
  = PixelYourSite 7.1.12 =
394
 
395
  * FIX: Possible issue with Easy Digital Download Purchase Event.
4
  Requires at least: 3.0.1
5
  Requires PHP: 5.4
6
  Tested up to: 5.5
7
+ Stable tag: 7.1.13
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
23
 
24
  [youtube https://www.youtube.com/watch?v=OUHU9lZ2lwQ]
25
 
26
+ NEW: Facebook Pixel Conversion API: [Learn how to configure Conversion API events](https://www.pixelyoursite.com/documentation/configure-server-side-events)
27
 
28
  TRACK EVERYTHING WITH A SINGLE PLUGIN:
29
 
390
 
391
  == Changelog ==
392
 
393
+ = PixelYourSite 7.1.13 =
394
+
395
+ * NEW: Facebook Conversion API (former server-side events) works for all standard events automatically fired by the plugin. We will expand this feature to all events soon.
396
+
397
+ * Facebook Conversion API update.
398
+
399
+
400
  = PixelYourSite 7.1.12 =
401
 
402
  * FIX: Possible issue with Easy Digital Download Purchase Event.
vendor/composer/installed.json CHANGED
@@ -1,24 +1,24 @@
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
- "version": "7.0.1",
5
- "version_normalized": "7.0.1.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
- "reference": "ae15c52c45015f1cd9e1adbbf442a75698a6e214"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/ae15c52c45015f1cd9e1adbbf442a75698a6e214",
14
- "reference": "ae15c52c45015f1cd9e1adbbf442a75698a6e214",
15
  "shasum": ""
16
  },
17
  "require-dev": {
18
  "phpunit/phpunit": "~8",
19
  "symfony/finder": "~2.6"
20
  },
21
- "time": "2020-06-04T00:19:55+00:00",
22
  "type": "library",
23
  "installation-source": "dist",
24
  "autoload": {
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
+ "version": "8.0.0",
5
+ "version_normalized": "8.0.0.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
+ "reference": "26d79d5c33aff01ade2192e1720ab3f646ae8aa9"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/26d79d5c33aff01ade2192e1720ab3f646ae8aa9",
14
+ "reference": "26d79d5c33aff01ade2192e1720ab3f646ae8aa9",
15
  "shasum": ""
16
  },
17
  "require-dev": {
18
  "phpunit/phpunit": "~8",
19
  "symfony/finder": "~2.6"
20
  },
21
+ "time": "2020-08-05T05:08:38+00:00",
22
  "type": "library",
23
  "installation-source": "dist",
24
  "autoload": {
vendor/facebook/php-business-sdk/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
4
 
5
 
6
  ## Unreleased
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ## v6.0.2
8
  ### Added
9
  - Add support for custom properties in the Server-Side API
4
 
5
 
6
  ## Unreleased
7
+
8
+ ## v8.0.0
9
+
10
+ ### Added
11
+ - `delivery_category` field in custom_data section for Conversions API(formerly Serverside API).
12
+
13
+ ## v7.0.2
14
+ ### Added
15
+ - Added support for data processing options in Serverside API. For more details see : https://developers.facebook.com/docs/marketing-apis/data-processing-options
16
+
17
+ ## v7.0.0
18
+ ### Changed
19
+ - Graph API call upgrade to [v7.0](https://developers.facebook.com/docs/graph-api/changelog/version7.0)
20
+
21
  ## v6.0.2
22
  ### Added
23
  - Add support for custom properties in the Server-Side API
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php CHANGED
@@ -23,7 +23,7 @@
23
  */
24
  namespace FacebookAds;
25
  class ApiConfig {
26
- const APIVersion = '7.0';
27
- const SDKVersion = '7.0.1';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
23
  */
24
  namespace FacebookAds;
25
  class ApiConfig {
26
+ const APIVersion = '8.0';
27
+ const SDKVersion = '8.0.0';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php CHANGED
@@ -45,6 +45,7 @@ use FacebookAds\Object\Values\AdAccountTargetingUnifiedRegulatedCategoriesValues
45
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedWhitelistedTypesValues;
46
  use FacebookAds\Object\Values\AdAccountTasksValues;
47
  use FacebookAds\Object\Values\AdActivityCategoryValues;
 
48
  use FacebookAds\Object\Values\AdAsyncRequestSetNotificationModeValues;
49
  use FacebookAds\Object\Values\AdCreativeApplinkTreatmentValues;
50
  use FacebookAds\Object\Values\AdCreativeAuthorizationCategoryValues;
@@ -56,6 +57,7 @@ use FacebookAds\Object\Values\AdCreativeOperatorValues;
56
  use FacebookAds\Object\Values\AdDatePresetValues;
57
  use FacebookAds\Object\Values\AdExecutionOptionsValues;
58
  use FacebookAds\Object\Values\AdOperatorValues;
 
59
  use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
60
  use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
61
  use FacebookAds\Object\Values\AdPreviewAdFormatValues;
@@ -100,6 +102,7 @@ use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
100
  use FacebookAds\Object\Values\CampaignObjectiveValues;
101
  use FacebookAds\Object\Values\CampaignOperatorValues;
102
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
 
103
  use FacebookAds\Object\Values\CampaignStatusValues;
104
  use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
105
  use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
@@ -157,6 +160,7 @@ class AdAccount extends AbstractCrudObject {
157
  'after' => 'string',
158
  'business_id' => 'string',
159
  'category' => 'category_enum',
 
160
  'extra_oids' => 'list<string>',
161
  'limit' => 'int',
162
  'oid' => 'string',
@@ -166,6 +170,7 @@ class AdAccount extends AbstractCrudObject {
166
  );
167
  $enums = array(
168
  'category_enum' => AdActivityCategoryValues::getInstance()->getValues(),
 
169
  );
170
 
171
  $request = new ApiRequest(
@@ -210,12 +215,14 @@ class AdAccount extends AbstractCrudObject {
210
  $this->assureId();
211
 
212
  $param_types = array(
 
213
  'location_types' => 'list<location_types_enum>',
214
  'name' => 'string',
215
  'parent_page' => 'string',
216
  'targeted_area_type' => 'targeted_area_type_enum',
217
  );
218
  $enums = array(
 
219
  'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
220
  'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
221
  );
@@ -239,12 +246,14 @@ class AdAccount extends AbstractCrudObject {
239
  $this->assureId();
240
 
241
  $param_types = array(
 
242
  'location_types' => 'list<location_types_enum>',
243
  'name' => 'string',
244
  'parent_page' => 'string',
245
  'targeted_area_type' => 'targeted_area_type_enum',
246
  );
247
  $enums = array(
 
248
  'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
249
  'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
250
  );
@@ -264,38 +273,6 @@ class AdAccount extends AbstractCrudObject {
264
  return $pending ? $request : $request->execute();
265
  }
266
 
267
- public function deleteAdSets(array $fields = array(), array $params = array(), $pending = false) {
268
- $this->assureId();
269
-
270
- $param_types = array(
271
- 'before_date' => 'datetime',
272
- 'delete_offset' => 'unsigned int',
273
- 'delete_strategy' => 'delete_strategy_enum',
274
- 'object_count' => 'int',
275
- );
276
- $enums = array(
277
- 'delete_strategy_enum' => array(
278
- 'DELETE_ANY',
279
- 'DELETE_ARCHIVED_BEFORE',
280
- 'DELETE_OLDEST',
281
- ),
282
- );
283
-
284
- $request = new ApiRequest(
285
- $this->api,
286
- $this->data['id'],
287
- RequestInterface::METHOD_DELETE,
288
- '/ad_sets',
289
- new AbstractCrudObject(),
290
- 'EDGE',
291
- array(),
292
- new TypeChecker($param_types, $enums)
293
- );
294
- $request->addParams($params);
295
- $request->addFields($fields);
296
- return $pending ? $request : $request->execute();
297
- }
298
-
299
  public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
300
  $this->assureId();
301
 
@@ -618,29 +595,6 @@ class AdAccount extends AbstractCrudObject {
618
  return $pending ? $request : $request->execute();
619
  }
620
 
621
- public function getAdReportSchedules(array $fields = array(), array $params = array(), $pending = false) {
622
- $this->assureId();
623
-
624
- $param_types = array(
625
- );
626
- $enums = array(
627
- );
628
-
629
- $request = new ApiRequest(
630
- $this->api,
631
- $this->data['id'],
632
- RequestInterface::METHOD_GET,
633
- '/adreportschedules',
634
- new AbstractCrudObject(),
635
- 'EDGE',
636
- array(),
637
- new TypeChecker($param_types, $enums)
638
- );
639
- $request->addParams($params);
640
- $request->addFields($fields);
641
- return $pending ? $request : $request->execute();
642
- }
643
-
644
  public function getAdRulesHistory(array $fields = array(), array $params = array(), $pending = false) {
645
  $this->assureId();
646
 
@@ -1129,6 +1083,7 @@ class AdAccount extends AbstractCrudObject {
1129
  'composer_type' => 'string',
1130
  'container_type' => 'container_type_enum',
1131
  'content_category' => 'content_category_enum',
 
1132
  'description' => 'string',
1133
  'embeddable' => 'bool',
1134
  'end_offset' => 'unsigned int',
@@ -1182,6 +1137,7 @@ class AdAccount extends AbstractCrudObject {
1182
  'upload_session_id' => 'string',
1183
  'upload_setting_properties' => 'string',
1184
  'video_file_chunk' => 'file',
 
1185
  'video_start_time_ms' => 'unsigned int',
1186
  'waterfall_id' => 'string',
1187
  );
@@ -1660,6 +1616,7 @@ class AdAccount extends AbstractCrudObject {
1660
  'promoted_object' => 'Object',
1661
  'source_campaign_id' => 'string',
1662
  'special_ad_categories' => 'list<special_ad_categories_enum>',
 
1663
  'spend_cap' => 'unsigned int',
1664
  'status' => 'status_enum',
1665
  'topline_id' => 'string',
@@ -1670,6 +1627,7 @@ class AdAccount extends AbstractCrudObject {
1670
  'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
1671
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
1672
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
 
1673
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
1674
  );
1675
 
45
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedWhitelistedTypesValues;
46
  use FacebookAds\Object\Values\AdAccountTasksValues;
47
  use FacebookAds\Object\Values\AdActivityCategoryValues;
48
+ use FacebookAds\Object\Values\AdActivityDataSourceValues;
49
  use FacebookAds\Object\Values\AdAsyncRequestSetNotificationModeValues;
50
  use FacebookAds\Object\Values\AdCreativeApplinkTreatmentValues;
51
  use FacebookAds\Object\Values\AdCreativeAuthorizationCategoryValues;
57
  use FacebookAds\Object\Values\AdDatePresetValues;
58
  use FacebookAds\Object\Values\AdExecutionOptionsValues;
59
  use FacebookAds\Object\Values\AdOperatorValues;
60
+ use FacebookAds\Object\Values\AdPlacePageSetCategoryValues;
61
  use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
62
  use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
63
  use FacebookAds\Object\Values\AdPreviewAdFormatValues;
102
  use FacebookAds\Object\Values\CampaignObjectiveValues;
103
  use FacebookAds\Object\Values\CampaignOperatorValues;
104
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
105
+ use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
106
  use FacebookAds\Object\Values\CampaignStatusValues;
107
  use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
108
  use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
160
  'after' => 'string',
161
  'business_id' => 'string',
162
  'category' => 'category_enum',
163
+ 'data_source' => 'data_source_enum',
164
  'extra_oids' => 'list<string>',
165
  'limit' => 'int',
166
  'oid' => 'string',
170
  );
171
  $enums = array(
172
  'category_enum' => AdActivityCategoryValues::getInstance()->getValues(),
173
+ 'data_source_enum' => AdActivityDataSourceValues::getInstance()->getValues(),
174
  );
175
 
176
  $request = new ApiRequest(
215
  $this->assureId();
216
 
217
  $param_types = array(
218
+ 'category' => 'category_enum',
219
  'location_types' => 'list<location_types_enum>',
220
  'name' => 'string',
221
  'parent_page' => 'string',
222
  'targeted_area_type' => 'targeted_area_type_enum',
223
  );
224
  $enums = array(
225
+ 'category_enum' => AdPlacePageSetCategoryValues::getInstance()->getValues(),
226
  'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
227
  'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
228
  );
246
  $this->assureId();
247
 
248
  $param_types = array(
249
+ 'category' => 'category_enum',
250
  'location_types' => 'list<location_types_enum>',
251
  'name' => 'string',
252
  'parent_page' => 'string',
253
  'targeted_area_type' => 'targeted_area_type_enum',
254
  );
255
  $enums = array(
256
+ 'category_enum' => AdPlacePageSetCategoryValues::getInstance()->getValues(),
257
  'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
258
  'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
259
  );
273
  return $pending ? $request : $request->execute();
274
  }
275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
277
  $this->assureId();
278
 
595
  return $pending ? $request : $request->execute();
596
  }
597
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
598
  public function getAdRulesHistory(array $fields = array(), array $params = array(), $pending = false) {
599
  $this->assureId();
600
 
1083
  'composer_type' => 'string',
1084
  'container_type' => 'container_type_enum',
1085
  'content_category' => 'content_category_enum',
1086
+ 'creative_tools' => 'string',
1087
  'description' => 'string',
1088
  'embeddable' => 'bool',
1089
  'end_offset' => 'unsigned int',
1137
  'upload_session_id' => 'string',
1138
  'upload_setting_properties' => 'string',
1139
  'video_file_chunk' => 'file',
1140
+ 'video_id_original' => 'string',
1141
  'video_start_time_ms' => 'unsigned int',
1142
  'waterfall_id' => 'string',
1143
  );
1616
  'promoted_object' => 'Object',
1617
  'source_campaign_id' => 'string',
1618
  'special_ad_categories' => 'list<special_ad_categories_enum>',
1619
+ 'special_ad_category_country' => 'list<special_ad_category_country_enum>',
1620
  'spend_cap' => 'unsigned int',
1621
  'status' => 'status_enum',
1622
  'topline_id' => 'string',
1627
  'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
1628
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
1629
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
1630
+ 'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
1631
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
1632
  );
1633
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdActivity.php CHANGED
@@ -30,6 +30,7 @@ use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdActivityFields;
32
  use FacebookAds\Object\Values\AdActivityCategoryValues;
 
33
  use FacebookAds\Object\Values\AdActivityEventTypeValues;
34
 
35
  /**
@@ -54,6 +55,7 @@ class AdActivity extends AbstractObject {
54
  $ref_enums = array();
55
  $ref_enums['EventType'] = AdActivityEventTypeValues::getInstance()->getValues();
56
  $ref_enums['Category'] = AdActivityCategoryValues::getInstance()->getValues();
 
57
  return $ref_enums;
58
  }
59
 
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdActivityFields;
32
  use FacebookAds\Object\Values\AdActivityCategoryValues;
33
+ use FacebookAds\Object\Values\AdActivityDataSourceValues;
34
  use FacebookAds\Object\Values\AdActivityEventTypeValues;
35
 
36
  /**
55
  $ref_enums = array();
56
  $ref_enums['EventType'] = AdActivityEventTypeValues::getInstance()->getValues();
57
  $ref_enums['Category'] = AdActivityCategoryValues::getInstance()->getValues();
58
+ $ref_enums['DataSource'] = AdActivityDataSourceValues::getInstance()->getValues();
59
  return $ref_enums;
60
  }
61
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdPlacePageSet.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdPlacePageSetFields;
 
32
  use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
33
  use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
34
 
@@ -59,6 +60,7 @@ class AdPlacePageSet extends AbstractCrudObject {
59
 
60
  protected static function getReferencedEnums() {
61
  $ref_enums = array();
 
62
  $ref_enums['LocationTypes'] = AdPlacePageSetLocationTypesValues::getInstance()->getValues();
63
  $ref_enums['TargetedAreaType'] = AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues();
64
  return $ref_enums;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdPlacePageSetFields;
32
+ use FacebookAds\Object\Values\AdPlacePageSetCategoryValues;
33
  use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
34
  use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
35
 
60
 
61
  protected static function getReferencedEnums() {
62
  $ref_enums = array();
63
+ $ref_enums['Category'] = AdPlacePageSetCategoryValues::getInstance()->getValues();
64
  $ref_enums['LocationTypes'] = AdPlacePageSetLocationTypesValues::getInstance()->getValues();
65
  $ref_enums['TargetedAreaType'] = AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues();
66
  return $ref_enums;
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php CHANGED
@@ -121,6 +121,7 @@ class AdStudy extends AbstractCrudObject {
121
  'name' => 'string',
122
  'offline_conversion_data_sets' => 'list<Object>',
123
  'offsitepixels' => 'list<Object>',
 
124
  'product_sets' => 'list<Object>',
125
  'type' => 'type_enum',
126
  );
121
  'name' => 'string',
122
  'offline_conversion_data_sets' => 'list<Object>',
123
  'offsitepixels' => 'list<Object>',
124
+ 'product_catalogs' => 'list<Object>',
125
  'product_sets' => 'list<Object>',
126
  'type' => 'type_enum',
127
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php CHANGED
@@ -282,6 +282,7 @@ class AdStudyObjective extends AbstractCrudObject {
282
  'name' => 'string',
283
  'offline_conversion_data_sets' => 'list<Object>',
284
  'offsitepixels' => 'list<Object>',
 
285
  'product_sets' => 'list<Object>',
286
  'type' => 'type_enum',
287
  );
282
  'name' => 'string',
283
  'offline_conversion_data_sets' => 'list<Object>',
284
  'offsitepixels' => 'list<Object>',
285
+ 'product_catalogs' => 'list<Object>',
286
  'product_sets' => 'list<Object>',
287
  'type' => 'type_enum',
288
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdVideo.php CHANGED
@@ -38,7 +38,6 @@ use FacebookAds\Object\Values\AdVideoSwapModeValues;
38
  use FacebookAds\Object\Values\AdVideoTypeValues;
39
  use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
40
  use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
41
- use FacebookAds\Object\Values\AdVideoValidationAdPlacementsValues;
42
  use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
43
  use FacebookAds\Object\Values\CommentFilterValues;
44
  use FacebookAds\Object\Values\CommentLiveFilterValues;
@@ -82,7 +81,6 @@ class AdVideo extends AbstractCrudObject {
82
  $ref_enums['SwapMode'] = AdVideoSwapModeValues::getInstance()->getValues();
83
  $ref_enums['UnpublishedContentType'] = AdVideoUnpublishedContentTypeValues::getInstance()->getValues();
84
  $ref_enums['UploadPhase'] = AdVideoUploadPhaseValues::getInstance()->getValues();
85
- $ref_enums['ValidationAdPlacements'] = AdVideoValidationAdPlacementsValues::getInstance()->getValues();
86
  $ref_enums['Type'] = AdVideoTypeValues::getInstance()->getValues();
87
  $ref_enums['BackdatedTimeGranularity'] = AdVideoBackdatedTimeGranularityValues::getInstance()->getValues();
88
  return $ref_enums;
38
  use FacebookAds\Object\Values\AdVideoTypeValues;
39
  use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
40
  use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
 
41
  use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
42
  use FacebookAds\Object\Values\CommentFilterValues;
43
  use FacebookAds\Object\Values\CommentLiveFilterValues;
81
  $ref_enums['SwapMode'] = AdVideoSwapModeValues::getInstance()->getValues();
82
  $ref_enums['UnpublishedContentType'] = AdVideoUnpublishedContentTypeValues::getInstance()->getValues();
83
  $ref_enums['UploadPhase'] = AdVideoUploadPhaseValues::getInstance()->getValues();
 
84
  $ref_enums['Type'] = AdVideoTypeValues::getInstance()->getValues();
85
  $ref_enums['BackdatedTimeGranularity'] = AdVideoBackdatedTimeGranularityValues::getInstance()->getValues();
86
  return $ref_enums;
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdsInterest.php → AdoptablePet.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\AdsInterestFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\AdsInterestFields;
39
  *
40
  */
41
 
42
- class AdsInterest extends AbstractCrudObject {
43
 
44
  /**
45
- * @return AdsInterestFields
46
  */
47
  public static function getFieldsEnum() {
48
- return AdsInterestFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
@@ -67,9 +67,9 @@ class AdsInterest extends AbstractCrudObject {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
- new AdsInterest(),
71
  'NODE',
72
- AdsInterest::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);
28
  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.
39
  *
40
  */
41
 
42
+ class AdoptablePet extends AbstractCrudObject {
43
 
44
  /**
45
+ * @return AdoptablePetFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return AdoptablePetFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
+ new AdoptablePet(),
71
  'NODE',
72
+ AdoptablePet::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php CHANGED
@@ -185,6 +185,9 @@ class Application extends AbstractCrudObject {
185
  'consider_views' => 'bool',
186
  'custom_events' => 'list<Object>',
187
  'custom_events_file' => 'file',
 
 
 
188
  'device_token' => 'string',
189
  'event' => 'event_enum',
190
  'extinfo' => 'Object',
@@ -1533,7 +1536,6 @@ class Application extends AbstractCrudObject {
1533
  $param_types = array(
1534
  'an_platforms' => 'list<an_platforms_enum>',
1535
  'android_class_name' => 'string',
1536
- 'android_key_hash' => 'list<string>',
1537
  'android_key_hashes' => 'list<string>',
1538
  'android_package_name' => 'string',
1539
  'android_sso' => 'bool',
@@ -1551,12 +1553,9 @@ class Application extends AbstractCrudObject {
1551
  'canvas_fluid_height' => 'bool',
1552
  'canvas_fluid_width' => 'bool',
1553
  'canvas_url' => 'string',
1554
- 'configured_ios_sso' => 'bool',
1555
  'contact_email' => 'string',
1556
  'deauth_callback_url' => 'string',
1557
  'ios_bundle_id' => 'list<string>',
1558
- 'ipad_app_store_id' => 'string',
1559
- 'iphone_app_store_id' => 'string',
1560
  'mobile_web_url' => 'string',
1561
  'namespace' => 'string',
1562
  'page_tab_default_name' => 'string',
185
  'consider_views' => 'bool',
186
  'custom_events' => 'list<Object>',
187
  'custom_events_file' => 'file',
188
+ 'data_processing_options' => 'list<string>',
189
+ 'data_processing_options_country' => 'unsigned int',
190
+ 'data_processing_options_state' => 'unsigned int',
191
  'device_token' => 'string',
192
  'event' => 'event_enum',
193
  'extinfo' => 'Object',
1536
  $param_types = array(
1537
  'an_platforms' => 'list<an_platforms_enum>',
1538
  'android_class_name' => 'string',
 
1539
  'android_key_hashes' => 'list<string>',
1540
  'android_package_name' => 'string',
1541
  'android_sso' => 'bool',
1553
  'canvas_fluid_height' => 'bool',
1554
  'canvas_fluid_width' => 'bool',
1555
  'canvas_url' => 'string',
 
1556
  'contact_email' => 'string',
1557
  'deauth_callback_url' => 'string',
1558
  'ios_bundle_id' => 'list<string>',
 
 
1559
  'mobile_web_url' => 'string',
1560
  'namespace' => 'string',
1561
  'page_tab_default_name' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AtlasCampaign.php CHANGED
@@ -114,6 +114,9 @@ class AtlasCampaign extends AbstractCrudObject {
114
  );
115
  $enums = array(
116
  'dimensions_enum' => array(
 
 
 
117
  'DEVICE_TYPE',
118
  'SOURCE_CHANNEL',
119
  ),
@@ -121,7 +124,7 @@ class AtlasCampaign extends AbstractCrudObject {
121
  'DAY',
122
  'HOUR',
123
  'MONTH',
124
- 'WEEK',
125
  'YEAR',
126
  ),
127
  );
114
  );
115
  $enums = array(
116
  'dimensions_enum' => array(
117
+ 'AD_ID',
118
+ 'AD_SET_ID',
119
+ 'CAMPAIGN_ID',
120
  'DEVICE_TYPE',
121
  'SOURCE_CHANNEL',
122
  ),
124
  'DAY',
125
  'HOUR',
126
  'MONTH',
127
+ 'WEEK_SUNDAY',
128
  'YEAR',
129
  ),
130
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php CHANGED
@@ -35,19 +35,9 @@ use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultMetricsValues;
35
  use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues;
36
  use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues;
37
  use FacebookAds\Object\Values\AdStudyTypeValues;
38
- use FacebookAds\Object\Values\AdVideoContainerTypeValues;
39
- use FacebookAds\Object\Values\AdVideoContentCategoryValues;
40
- use FacebookAds\Object\Values\AdVideoFormattingValues;
41
- use FacebookAds\Object\Values\AdVideoOriginalProjectionTypeValues;
42
- use FacebookAds\Object\Values\AdVideoSwapModeValues;
43
- use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
44
- use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
45
- use FacebookAds\Object\Values\AdVideoValidationAdPlacementsValues;
46
  use FacebookAds\Object\Values\AdsPixelSortByValues;
47
  use FacebookAds\Object\Values\BusinessAgreementRequestStatusValues;
48
  use FacebookAds\Object\Values\BusinessAssetSharingAgreementRequestStatusValues;
49
- use FacebookAds\Object\Values\BusinessCreativeFolderSharingAgreementRequestStatusValues;
50
- use FacebookAds\Object\Values\BusinessImageValidationAdPlacementsValues;
51
  use FacebookAds\Object\Values\BusinessPagePermittedTasksValues;
52
  use FacebookAds\Object\Values\BusinessPermittedTasksValues;
53
  use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
@@ -64,6 +54,7 @@ use FacebookAds\Object\Values\MeasurementUploadEventMatchUniverseValues;
64
  use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
65
  use FacebookAds\Object\Values\OracleTransactionTypeValues;
66
  use FacebookAds\Object\Values\ProductCatalogVerticalValues;
 
67
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
68
  use FacebookAds\Object\Values\SystemUserRoleValues;
69
 
@@ -436,32 +427,6 @@ class Business extends AbstractCrudObject {
436
  return $pending ? $request : $request->execute();
437
  }
438
 
439
- public function getAttemptedSharingAgreements(array $fields = array(), array $params = array(), $pending = false) {
440
- $this->assureId();
441
-
442
- $param_types = array(
443
- 'request_status' => 'request_status_enum',
444
- 'requesting_business_id' => 'string',
445
- );
446
- $enums = array(
447
- 'request_status_enum' => BusinessCreativeFolderSharingAgreementRequestStatusValues::getInstance()->getValues(),
448
- );
449
-
450
- $request = new ApiRequest(
451
- $this->api,
452
- $this->data['id'],
453
- RequestInterface::METHOD_GET,
454
- '/attempted_sharing_agreements',
455
- new BusinessCreativeFolderSharingAgreement(),
456
- 'EDGE',
457
- BusinessCreativeFolderSharingAgreement::getFieldsEnum()->getValues(),
458
- new TypeChecker($param_types, $enums)
459
- );
460
- $request->addParams($params);
461
- $request->addFields($fields);
462
- return $pending ? $request : $request->execute();
463
- }
464
-
465
  public function createBlockListDraft(array $fields = array(), array $params = array(), $pending = false) {
466
  $this->assureId();
467
 
@@ -952,102 +917,6 @@ class Business extends AbstractCrudObject {
952
  return $pending ? $request : $request->execute();
953
  }
954
 
955
- public function getCreativeAssetTags(array $fields = array(), array $params = array(), $pending = false) {
956
- $this->assureId();
957
-
958
- $param_types = array(
959
- );
960
- $enums = array(
961
- );
962
-
963
- $request = new ApiRequest(
964
- $this->api,
965
- $this->data['id'],
966
- RequestInterface::METHOD_GET,
967
- '/creative_asset_tags',
968
- new CreativeAssetTag(),
969
- 'EDGE',
970
- CreativeAssetTag::getFieldsEnum()->getValues(),
971
- new TypeChecker($param_types, $enums)
972
- );
973
- $request->addParams($params);
974
- $request->addFields($fields);
975
- return $pending ? $request : $request->execute();
976
- }
977
-
978
- public function getCreativeFolders(array $fields = array(), array $params = array(), $pending = false) {
979
- $this->assureId();
980
-
981
- $param_types = array(
982
- );
983
- $enums = array(
984
- );
985
-
986
- $request = new ApiRequest(
987
- $this->api,
988
- $this->data['id'],
989
- RequestInterface::METHOD_GET,
990
- '/creative_folders',
991
- new BusinessCreativeFolder(),
992
- 'EDGE',
993
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
994
- new TypeChecker($param_types, $enums)
995
- );
996
- $request->addParams($params);
997
- $request->addFields($fields);
998
- return $pending ? $request : $request->execute();
999
- }
1000
-
1001
- public function createCreativeFolder(array $fields = array(), array $params = array(), $pending = false) {
1002
- $this->assureId();
1003
-
1004
- $param_types = array(
1005
- 'description' => 'string',
1006
- 'name' => 'string',
1007
- 'parent_folder_id' => 'string',
1008
- );
1009
- $enums = array(
1010
- );
1011
-
1012
- $request = new ApiRequest(
1013
- $this->api,
1014
- $this->data['id'],
1015
- RequestInterface::METHOD_POST,
1016
- '/creative_folders',
1017
- new BusinessCreativeFolder(),
1018
- 'EDGE',
1019
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
1020
- new TypeChecker($param_types, $enums)
1021
- );
1022
- $request->addParams($params);
1023
- $request->addFields($fields);
1024
- return $pending ? $request : $request->execute();
1025
- }
1026
-
1027
- public function getCreatives(array $fields = array(), array $params = array(), $pending = false) {
1028
- $this->assureId();
1029
-
1030
- $param_types = array(
1031
- 'creative_folder_id' => 'string',
1032
- );
1033
- $enums = array(
1034
- );
1035
-
1036
- $request = new ApiRequest(
1037
- $this->api,
1038
- $this->data['id'],
1039
- RequestInterface::METHOD_GET,
1040
- '/creatives',
1041
- new BusinessCreative(),
1042
- 'EDGE',
1043
- BusinessCreative::getFieldsEnum()->getValues(),
1044
- new TypeChecker($param_types, $enums)
1045
- );
1046
- $request->addParams($params);
1047
- $request->addFields($fields);
1048
- return $pending ? $request : $request->execute();
1049
- }
1050
-
1051
  public function createCustomConversion(array $fields = array(), array $params = array(), $pending = false) {
1052
  $this->assureId();
1053
 
@@ -1151,35 +1020,6 @@ class Business extends AbstractCrudObject {
1151
  return $pending ? $request : $request->execute();
1152
  }
1153
 
1154
- public function createImage(array $fields = array(), array $params = array(), $pending = false) {
1155
- $this->assureId();
1156
-
1157
- $param_types = array(
1158
- 'ad_placements_validation_only' => 'bool',
1159
- 'bytes' => 'Object',
1160
- 'creative_folder_id' => 'string',
1161
- 'name' => 'string',
1162
- 'validation_ad_placements' => 'list<validation_ad_placements_enum>',
1163
- );
1164
- $enums = array(
1165
- 'validation_ad_placements_enum' => BusinessImageValidationAdPlacementsValues::getInstance()->getValues(),
1166
- );
1167
-
1168
- $request = new ApiRequest(
1169
- $this->api,
1170
- $this->data['id'],
1171
- RequestInterface::METHOD_POST,
1172
- '/images',
1173
- new BusinessImage(),
1174
- 'EDGE',
1175
- BusinessImage::getFieldsEnum()->getValues(),
1176
- new TypeChecker($param_types, $enums)
1177
- );
1178
- $request->addParams($params);
1179
- $request->addFields($fields);
1180
- return $pending ? $request : $request->execute();
1181
- }
1182
-
1183
  public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
1184
  $this->assureId();
1185
 
@@ -1877,29 +1717,6 @@ class Business extends AbstractCrudObject {
1877
  return $pending ? $request : $request->execute();
1878
  }
1879
 
1880
- public function getPendingSharedCreativeFolders(array $fields = array(), array $params = array(), $pending = false) {
1881
- $this->assureId();
1882
-
1883
- $param_types = array(
1884
- );
1885
- $enums = array(
1886
- );
1887
-
1888
- $request = new ApiRequest(
1889
- $this->api,
1890
- $this->data['id'],
1891
- RequestInterface::METHOD_GET,
1892
- '/pending_shared_creative_folders',
1893
- new BusinessCreativeFolder(),
1894
- 'EDGE',
1895
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
1896
- new TypeChecker($param_types, $enums)
1897
- );
1898
- $request->addParams($params);
1899
- $request->addFields($fields);
1900
- return $pending ? $request : $request->execute();
1901
- }
1902
-
1903
  public function getPendingUsers(array $fields = array(), array $params = array(), $pending = false) {
1904
  $this->assureId();
1905
 
@@ -1928,12 +1745,14 @@ class Business extends AbstractCrudObject {
1928
  $this->assureId();
1929
 
1930
  $param_types = array(
 
1931
  'height' => 'int',
1932
  'redirect' => 'bool',
1933
  'type' => 'type_enum',
1934
  'width' => 'int',
1935
  );
1936
  $enums = array(
 
1937
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
1938
  );
1939
 
@@ -2136,110 +1955,6 @@ class Business extends AbstractCrudObject {
2136
  return $pending ? $request : $request->execute();
2137
  }
2138
 
2139
- public function createVideo(array $fields = array(), array $params = array(), $pending = false) {
2140
- $this->assureId();
2141
-
2142
- $param_types = array(
2143
- 'ad_placements_validation_only' => 'bool',
2144
- 'adaptive_type' => 'string',
2145
- 'animated_effect_id' => 'unsigned int',
2146
- 'application_id' => 'string',
2147
- 'asked_fun_fact_prompt_id' => 'unsigned int',
2148
- 'attribution_app_id' => 'string',
2149
- 'audio_story_wave_animation_handle' => 'string',
2150
- 'chunk_session_id' => 'string',
2151
- 'composer_entry_picker' => 'string',
2152
- 'composer_entry_point' => 'string',
2153
- 'composer_entry_time' => 'unsigned int',
2154
- 'composer_session_events_log' => 'string',
2155
- 'composer_session_id' => 'string',
2156
- 'composer_source_surface' => 'string',
2157
- 'composer_type' => 'string',
2158
- 'container_type' => 'container_type_enum',
2159
- 'content_category' => 'content_category_enum',
2160
- 'creative_folder_id' => 'string',
2161
- 'description' => 'string',
2162
- 'embeddable' => 'bool',
2163
- 'end_offset' => 'unsigned int',
2164
- 'fbuploader_video_file_chunk' => 'string',
2165
- 'file_size' => 'unsigned int',
2166
- 'file_url' => 'string',
2167
- 'fisheye_video_cropped' => 'bool',
2168
- 'formatting' => 'formatting_enum',
2169
- 'fov' => 'unsigned int',
2170
- 'front_z_rotation' => 'float',
2171
- 'fun_fact_prompt_id' => 'unsigned int',
2172
- 'fun_fact_toastee_id' => 'unsigned int',
2173
- 'guide' => 'list<list<unsigned int>>',
2174
- 'guide_enabled' => 'bool',
2175
- 'has_nickname' => 'bool',
2176
- 'holiday_card' => 'string',
2177
- 'initial_heading' => 'unsigned int',
2178
- 'initial_pitch' => 'unsigned int',
2179
- 'instant_game_entry_point_data' => 'string',
2180
- 'is_boost_intended' => 'bool',
2181
- 'is_group_linking_post' => 'bool',
2182
- 'is_voice_clip' => 'bool',
2183
- 'location_source_id' => 'string',
2184
- 'offer_like_post_id' => 'unsigned int',
2185
- 'og_action_type_id' => 'string',
2186
- 'og_icon_id' => 'string',
2187
- 'og_object_id' => 'string',
2188
- 'og_phrase' => 'string',
2189
- 'og_suggestion_mechanism' => 'string',
2190
- 'original_fov' => 'unsigned int',
2191
- 'original_projection_type' => 'original_projection_type_enum',
2192
- 'publish_event_id' => 'unsigned int',
2193
- 'react_mode_metadata' => 'string',
2194
- 'referenced_sticker_id' => 'string',
2195
- 'replace_video_id' => 'string',
2196
- 'sales_promo_id' => 'unsigned int',
2197
- 'slideshow_spec' => 'map',
2198
- 'source' => 'string',
2199
- 'spherical' => 'bool',
2200
- 'start_offset' => 'unsigned int',
2201
- 'swap_mode' => 'swap_mode_enum',
2202
- 'text_format_metadata' => 'string',
2203
- 'throwback_camera_roll_media' => 'string',
2204
- 'thumb' => 'file',
2205
- 'time_since_original_post' => 'unsigned int',
2206
- 'title' => 'string',
2207
- 'transcode_setting_properties' => 'string',
2208
- 'unpublished_content_type' => 'unpublished_content_type_enum',
2209
- 'upload_phase' => 'upload_phase_enum',
2210
- 'upload_session_id' => 'string',
2211
- 'upload_setting_properties' => 'string',
2212
- 'validation_ad_placements' => 'list<validation_ad_placements_enum>',
2213
- 'video_file_chunk' => 'string',
2214
- 'video_start_time_ms' => 'unsigned int',
2215
- 'waterfall_id' => 'string',
2216
- );
2217
- $enums = array(
2218
- 'container_type_enum' => AdVideoContainerTypeValues::getInstance()->getValues(),
2219
- 'content_category_enum' => AdVideoContentCategoryValues::getInstance()->getValues(),
2220
- 'formatting_enum' => AdVideoFormattingValues::getInstance()->getValues(),
2221
- 'original_projection_type_enum' => AdVideoOriginalProjectionTypeValues::getInstance()->getValues(),
2222
- 'swap_mode_enum' => AdVideoSwapModeValues::getInstance()->getValues(),
2223
- 'unpublished_content_type_enum' => AdVideoUnpublishedContentTypeValues::getInstance()->getValues(),
2224
- 'upload_phase_enum' => AdVideoUploadPhaseValues::getInstance()->getValues(),
2225
- 'validation_ad_placements_enum' => AdVideoValidationAdPlacementsValues::getInstance()->getValues(),
2226
- );
2227
-
2228
- $request = new ApiRequest(
2229
- $this->api,
2230
- $this->data['id'],
2231
- RequestInterface::METHOD_POST,
2232
- '/videos',
2233
- new AdVideo(),
2234
- 'EDGE',
2235
- AdVideo::getFieldsEnum()->getValues(),
2236
- new TypeChecker($param_types, $enums)
2237
- );
2238
- $request->addParams($params);
2239
- $request->addFields($fields);
2240
- return $pending ? $request : $request->execute();
2241
- }
2242
-
2243
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
2244
  $this->assureId();
2245
 
35
  use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues;
36
  use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues;
37
  use FacebookAds\Object\Values\AdStudyTypeValues;
 
 
 
 
 
 
 
 
38
  use FacebookAds\Object\Values\AdsPixelSortByValues;
39
  use FacebookAds\Object\Values\BusinessAgreementRequestStatusValues;
40
  use FacebookAds\Object\Values\BusinessAssetSharingAgreementRequestStatusValues;
 
 
41
  use FacebookAds\Object\Values\BusinessPagePermittedTasksValues;
42
  use FacebookAds\Object\Values\BusinessPermittedTasksValues;
43
  use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
54
  use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
55
  use FacebookAds\Object\Values\OracleTransactionTypeValues;
56
  use FacebookAds\Object\Values\ProductCatalogVerticalValues;
57
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
58
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
59
  use FacebookAds\Object\Values\SystemUserRoleValues;
60
 
427
  return $pending ? $request : $request->execute();
428
  }
429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  public function createBlockListDraft(array $fields = array(), array $params = array(), $pending = false) {
431
  $this->assureId();
432
 
917
  return $pending ? $request : $request->execute();
918
  }
919
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
920
  public function createCustomConversion(array $fields = array(), array $params = array(), $pending = false) {
921
  $this->assureId();
922
 
1020
  return $pending ? $request : $request->execute();
1021
  }
1022
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1023
  public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
1024
  $this->assureId();
1025
 
1717
  return $pending ? $request : $request->execute();
1718
  }
1719
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1720
  public function getPendingUsers(array $fields = array(), array $params = array(), $pending = false) {
1721
  $this->assureId();
1722
 
1745
  $this->assureId();
1746
 
1747
  $param_types = array(
1748
+ 'breaking_change' => 'breaking_change_enum',
1749
  'height' => 'int',
1750
  'redirect' => 'bool',
1751
  'type' => 'type_enum',
1752
  'width' => 'int',
1753
  );
1754
  $enums = array(
1755
+ 'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
1756
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
1757
  );
1758
 
1955
  return $pending ? $request : $request->execute();
1956
  }
1957
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1958
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
1959
  $this->assureId();
1960
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreative.php DELETED
@@ -1,80 +0,0 @@
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\BusinessCreativeFields;
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 BusinessCreative extends AbstractCrudObject {
43
-
44
- /**
45
- * @return BusinessCreativeFields
46
- */
47
- public static function getFieldsEnum() {
48
- return BusinessCreativeFields::getInstance();
49
- }
50
-
51
- protected static function getReferencedEnums() {
52
- $ref_enums = array();
53
- return $ref_enums;
54
- }
55
-
56
-
57
- public function getAdPlacementValidationResults(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
- '/ad_placement_validation_results',
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolder.php DELETED
@@ -1,262 +0,0 @@
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\BusinessCreativeFolderFields;
32
- use FacebookAds\Object\Values\BusinessCreativeFolderPermittedTasksValues;
33
- use FacebookAds\Object\Values\BusinessCreativeFolderTasksValues;
34
-
35
- /**
36
- * This class is auto-generated.
37
- *
38
- * For any issues or feature requests related to this class, please let us know
39
- * on github and we'll fix in our codegen framework. We'll not be able to accept
40
- * pull request for this class.
41
- *
42
- */
43
-
44
- class BusinessCreativeFolder extends AbstractCrudObject {
45
-
46
- /**
47
- * @deprecated getEndpoint function is deprecated
48
- */
49
- protected function getEndpoint() {
50
- return 'creative_folders';
51
- }
52
-
53
- /**
54
- * @return BusinessCreativeFolderFields
55
- */
56
- public static function getFieldsEnum() {
57
- return BusinessCreativeFolderFields::getInstance();
58
- }
59
-
60
- protected static function getReferencedEnums() {
61
- $ref_enums = array();
62
- $ref_enums['PermittedTasks'] = BusinessCreativeFolderPermittedTasksValues::getInstance()->getValues();
63
- $ref_enums['Tasks'] = BusinessCreativeFolderTasksValues::getInstance()->getValues();
64
- return $ref_enums;
65
- }
66
-
67
-
68
- public function getAgencies(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
- '/agencies',
81
- new Business(),
82
- 'EDGE',
83
- Business::getFieldsEnum()->getValues(),
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 createAgency(array $fields = array(), array $params = array(), $pending = false) {
92
- $this->assureId();
93
-
94
- $param_types = array(
95
- 'business' => 'string',
96
- 'permitted_tasks' => 'list<permitted_tasks_enum>',
97
- );
98
- $enums = array(
99
- 'permitted_tasks_enum' => BusinessCreativeFolderPermittedTasksValues::getInstance()->getValues(),
100
- );
101
-
102
- $request = new ApiRequest(
103
- $this->api,
104
- $this->data['id'],
105
- RequestInterface::METHOD_POST,
106
- '/agencies',
107
- new BusinessCreativeFolder(),
108
- 'EDGE',
109
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
110
- new TypeChecker($param_types, $enums)
111
- );
112
- $request->addParams($params);
113
- $request->addFields($fields);
114
- return $pending ? $request : $request->execute();
115
- }
116
-
117
- public function getAssignedUsers(array $fields = array(), array $params = array(), $pending = false) {
118
- $this->assureId();
119
-
120
- $param_types = array(
121
- 'business' => 'string',
122
- );
123
- $enums = array(
124
- );
125
-
126
- $request = new ApiRequest(
127
- $this->api,
128
- $this->data['id'],
129
- RequestInterface::METHOD_GET,
130
- '/assigned_users',
131
- new AssignedUser(),
132
- 'EDGE',
133
- AssignedUser::getFieldsEnum()->getValues(),
134
- new TypeChecker($param_types, $enums)
135
- );
136
- $request->addParams($params);
137
- $request->addFields($fields);
138
- return $pending ? $request : $request->execute();
139
- }
140
-
141
- public function createAssignedUser(array $fields = array(), array $params = array(), $pending = false) {
142
- $this->assureId();
143
-
144
- $param_types = array(
145
- 'tasks' => 'list<tasks_enum>',
146
- 'user' => 'int',
147
- );
148
- $enums = array(
149
- 'tasks_enum' => BusinessCreativeFolderTasksValues::getInstance()->getValues(),
150
- );
151
-
152
- $request = new ApiRequest(
153
- $this->api,
154
- $this->data['id'],
155
- RequestInterface::METHOD_POST,
156
- '/assigned_users',
157
- new BusinessCreativeFolder(),
158
- 'EDGE',
159
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
160
- new TypeChecker($param_types, $enums)
161
- );
162
- $request->addParams($params);
163
- $request->addFields($fields);
164
- return $pending ? $request : $request->execute();
165
- }
166
-
167
- public function getSubFolders(array $fields = array(), array $params = array(), $pending = false) {
168
- $this->assureId();
169
-
170
- $param_types = array(
171
- );
172
- $enums = array(
173
- );
174
-
175
- $request = new ApiRequest(
176
- $this->api,
177
- $this->data['id'],
178
- RequestInterface::METHOD_GET,
179
- '/subfolders',
180
- new BusinessCreativeFolder(),
181
- 'EDGE',
182
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
183
- new TypeChecker($param_types, $enums)
184
- );
185
- $request->addParams($params);
186
- $request->addFields($fields);
187
- return $pending ? $request : $request->execute();
188
- }
189
-
190
- public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
191
- $this->assureId();
192
-
193
- $param_types = array(
194
- );
195
- $enums = array(
196
- );
197
-
198
- $request = new ApiRequest(
199
- $this->api,
200
- $this->data['id'],
201
- RequestInterface::METHOD_DELETE,
202
- '/',
203
- new AbstractCrudObject(),
204
- 'NODE',
205
- array(),
206
- new TypeChecker($param_types, $enums)
207
- );
208
- $request->addParams($params);
209
- $request->addFields($fields);
210
- return $pending ? $request : $request->execute();
211
- }
212
-
213
- public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
214
- $this->assureId();
215
-
216
- $param_types = array(
217
- );
218
- $enums = array(
219
- );
220
-
221
- $request = new ApiRequest(
222
- $this->api,
223
- $this->data['id'],
224
- RequestInterface::METHOD_GET,
225
- '/',
226
- new BusinessCreativeFolder(),
227
- 'NODE',
228
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
229
- new TypeChecker($param_types, $enums)
230
- );
231
- $request->addParams($params);
232
- $request->addFields($fields);
233
- return $pending ? $request : $request->execute();
234
- }
235
-
236
- public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
237
- $this->assureId();
238
-
239
- $param_types = array(
240
- 'creative_insight_permissions' => 'map',
241
- 'description' => 'string',
242
- 'name' => 'string',
243
- );
244
- $enums = array(
245
- );
246
-
247
- $request = new ApiRequest(
248
- $this->api,
249
- $this->data['id'],
250
- RequestInterface::METHOD_POST,
251
- '/',
252
- new BusinessCreativeFolder(),
253
- 'NODE',
254
- BusinessCreativeFolder::getFieldsEnum()->getValues(),
255
- new TypeChecker($param_types, $enums)
256
- );
257
- $request->addParams($params);
258
- $request->addFields($fields);
259
- return $pending ? $request : $request->execute();
260
- }
261
-
262
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolderSharingAgreement.php DELETED
@@ -1,82 +0,0 @@
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\BusinessCreativeFolderSharingAgreementFields;
32
- use FacebookAds\Object\Values\BusinessCreativeFolderSharingAgreementRequestStatusValues;
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 BusinessCreativeFolderSharingAgreement extends AbstractCrudObject {
44
-
45
- /**
46
- * @return BusinessCreativeFolderSharingAgreementFields
47
- */
48
- public static function getFieldsEnum() {
49
- return BusinessCreativeFolderSharingAgreementFields::getInstance();
50
- }
51
-
52
- protected static function getReferencedEnums() {
53
- $ref_enums = array();
54
- $ref_enums['RequestStatus'] = BusinessCreativeFolderSharingAgreementRequestStatusValues::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 BusinessCreativeFolderSharingAgreement(),
73
- 'NODE',
74
- BusinessCreativeFolderSharingAgreement::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/BusinessImage.php DELETED
@@ -1,245 +0,0 @@
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\BusinessImageFields;
32
- use FacebookAds\Object\Values\BusinessImageValidationAdPlacementsValues;
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 BusinessImage extends AbstractCrudObject {
44
-
45
- /**
46
- * @deprecated getEndpoint function is deprecated
47
- */
48
- protected function getEndpoint() {
49
- return 'images';
50
- }
51
-
52
- /**
53
- * @return BusinessImageFields
54
- */
55
- public static function getFieldsEnum() {
56
- return BusinessImageFields::getInstance();
57
- }
58
-
59
- protected static function getReferencedEnums() {
60
- $ref_enums = array();
61
- $ref_enums['ValidationAdPlacements'] = BusinessImageValidationAdPlacementsValues::getInstance()->getValues();
62
- return $ref_enums;
63
- }
64
-
65
-
66
- public function getAdPlacementValidationResults(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
- '/ad_placement_validation_results',
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 deleteCreativeAssetTags(array $fields = array(), array $params = array(), $pending = false) {
90
- $this->assureId();
91
-
92
- $param_types = array(
93
- 'business_id' => 'string',
94
- 'tag_name' => 'string',
95
- );
96
- $enums = array(
97
- );
98
-
99
- $request = new ApiRequest(
100
- $this->api,
101
- $this->data['id'],
102
- RequestInterface::METHOD_DELETE,
103
- '/creative_asset_tags',
104
- new AbstractCrudObject(),
105
- 'EDGE',
106
- array(),
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 getCreativeAssetTags(array $fields = array(), array $params = array(), $pending = false) {
115
- $this->assureId();
116
-
117
- $param_types = array(
118
- 'business_id' => 'string',
119
- );
120
- $enums = array(
121
- );
122
-
123
- $request = new ApiRequest(
124
- $this->api,
125
- $this->data['id'],
126
- RequestInterface::METHOD_GET,
127
- '/creative_asset_tags',
128
- new CreativeAssetTag(),
129
- 'EDGE',
130
- CreativeAssetTag::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 createCreativeAssetTag(array $fields = array(), array $params = array(), $pending = false) {
139
- $this->assureId();
140
-
141
- $param_types = array(
142
- 'business_id' => 'string',
143
- 'tag_name' => 'string',
144
- );
145
- $enums = array(
146
- );
147
-
148
- $request = new ApiRequest(
149
- $this->api,
150
- $this->data['id'],
151
- RequestInterface::METHOD_POST,
152
- '/creative_asset_tags',
153
- new BusinessImage(),
154
- 'EDGE',
155
- BusinessImage::getFieldsEnum()->getValues(),
156
- new TypeChecker($param_types, $enums)
157
- );
158
- $request->addParams($params);
159
- $request->addFields($fields);
160
- return $pending ? $request : $request->execute();
161
- }
162
-
163
- public function getInsights(array $fields = array(), array $params = array(), $pending = false) {
164
- $this->assureId();
165
-
166
- $param_types = array(
167
- 'breakdowns' => 'list<breakdowns_enum>',
168
- 'time_range' => 'Object',
169
- );
170
- $enums = array(
171
- 'breakdowns_enum' => array(
172
- 'ad_id',
173
- 'age',
174
- 'country',
175
- 'device_platform',
176
- 'gender',
177
- 'objective',
178
- 'optimization_goal',
179
- 'platform_position',
180
- 'publisher_platform',
181
- ),
182
- );
183
-
184
- $request = new ApiRequest(
185
- $this->api,
186
- $this->data['id'],
187
- RequestInterface::METHOD_GET,
188
- '/insights',
189
- new AbstractCrudObject(),
190
- 'EDGE',
191
- array(),
192
- new TypeChecker($param_types, $enums)
193
- );
194
- $request->addParams($params);
195
- $request->addFields($fields);
196
- return $pending ? $request : $request->execute();
197
- }
198
-
199
- public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
200
- $this->assureId();
201
-
202
- $param_types = array(
203
- );
204
- $enums = array(
205
- );
206
-
207
- $request = new ApiRequest(
208
- $this->api,
209
- $this->data['id'],
210
- RequestInterface::METHOD_DELETE,
211
- '/',
212
- new AbstractCrudObject(),
213
- 'NODE',
214
- array(),
215
- new TypeChecker($param_types, $enums)
216
- );
217
- $request->addParams($params);
218
- $request->addFields($fields);
219
- return $pending ? $request : $request->execute();
220
- }
221
-
222
- public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
223
- $this->assureId();
224
-
225
- $param_types = array(
226
- );
227
- $enums = array(
228
- );
229
-
230
- $request = new ApiRequest(
231
- $this->api,
232
- $this->data['id'],
233
- RequestInterface::METHOD_GET,
234
- '/',
235
- new BusinessImage(),
236
- 'NODE',
237
- BusinessImage::getFieldsEnum()->getValues(),
238
- new TypeChecker($param_types, $enums)
239
- );
240
- $request->addParams($params);
241
- $request->addFields($fields);
242
- return $pending ? $request : $request->execute();
243
- }
244
-
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php CHANGED
@@ -47,6 +47,7 @@ use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
47
  use FacebookAds\Object\Values\CampaignObjectiveValues;
48
  use FacebookAds\Object\Values\CampaignOperatorValues;
49
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
 
50
  use FacebookAds\Object\Values\CampaignSpecialAdCategoryValues;
51
  use FacebookAds\Object\Values\CampaignStatusOptionValues;
52
  use FacebookAds\Object\Values\CampaignStatusValues;
@@ -93,6 +94,7 @@ class Campaign extends AbstractArchivableCrudObject {
93
  $ref_enums['ExecutionOptions'] = CampaignExecutionOptionsValues::getInstance()->getValues();
94
  $ref_enums['Objective'] = CampaignObjectiveValues::getInstance()->getValues();
95
  $ref_enums['SpecialAdCategories'] = CampaignSpecialAdCategoriesValues::getInstance()->getValues();
 
96
  $ref_enums['Operator'] = CampaignOperatorValues::getInstance()->getValues();
97
  $ref_enums['SpecialAdCategory'] = CampaignSpecialAdCategoryValues::getInstance()->getValues();
98
  $ref_enums['StatusOption'] = CampaignStatusOptionValues::getInstance()->getValues();
@@ -509,6 +511,7 @@ class Campaign extends AbstractArchivableCrudObject {
509
  'promoted_object' => 'Object',
510
  'special_ad_categories' => 'list<special_ad_categories_enum>',
511
  'special_ad_category' => 'special_ad_category_enum',
 
512
  'spend_cap' => 'unsigned int',
513
  'status' => 'status_enum',
514
  'upstream_events' => 'map',
@@ -519,6 +522,7 @@ class Campaign extends AbstractArchivableCrudObject {
519
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
520
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
521
  'special_ad_category_enum' => CampaignSpecialAdCategoryValues::getInstance()->getValues(),
 
522
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
523
  );
524
 
47
  use FacebookAds\Object\Values\CampaignObjectiveValues;
48
  use FacebookAds\Object\Values\CampaignOperatorValues;
49
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
50
+ use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
51
  use FacebookAds\Object\Values\CampaignSpecialAdCategoryValues;
52
  use FacebookAds\Object\Values\CampaignStatusOptionValues;
53
  use FacebookAds\Object\Values\CampaignStatusValues;
94
  $ref_enums['ExecutionOptions'] = CampaignExecutionOptionsValues::getInstance()->getValues();
95
  $ref_enums['Objective'] = CampaignObjectiveValues::getInstance()->getValues();
96
  $ref_enums['SpecialAdCategories'] = CampaignSpecialAdCategoriesValues::getInstance()->getValues();
97
+ $ref_enums['SpecialAdCategoryCountry'] = CampaignSpecialAdCategoryCountryValues::getInstance()->getValues();
98
  $ref_enums['Operator'] = CampaignOperatorValues::getInstance()->getValues();
99
  $ref_enums['SpecialAdCategory'] = CampaignSpecialAdCategoryValues::getInstance()->getValues();
100
  $ref_enums['StatusOption'] = CampaignStatusOptionValues::getInstance()->getValues();
511
  'promoted_object' => 'Object',
512
  'special_ad_categories' => 'list<special_ad_categories_enum>',
513
  'special_ad_category' => 'special_ad_category_enum',
514
+ 'special_ad_category_country' => 'list<special_ad_category_country_enum>',
515
  'spend_cap' => 'unsigned int',
516
  'status' => 'status_enum',
517
  'upstream_events' => 'map',
522
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
523
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
524
  'special_ad_category_enum' => CampaignSpecialAdCategoryValues::getInstance()->getValues(),
525
+ 'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
526
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
527
  );
528
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ClientTransparencyStatus.php DELETED
@@ -1,57 +0,0 @@
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\ClientTransparencyStatusFields;
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 ClientTransparencyStatus extends AbstractObject {
43
-
44
- /**
45
- * @return ClientTransparencyStatusFields
46
- */
47
- public static function getFieldsEnum() {
48
- return ClientTransparencyStatusFields::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/CommerceMerchantSettings.php CHANGED
@@ -277,6 +277,35 @@ class CommerceMerchantSettings extends AbstractCrudObject {
277
  return $pending ? $request : $request->execute();
278
  }
279
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
281
  $this->assureId();
282
 
277
  return $pending ? $request : $request->execute();
278
  }
279
 
280
+ public function createWhatsappChannel(array $fields = array(), array $params = array(), $pending = false) {
281
+ $this->assureId();
282
+
283
+ $param_types = array(
284
+ 'op' => 'op_enum',
285
+ 'whatsapp_business_accounts' => 'list<string>',
286
+ );
287
+ $enums = array(
288
+ 'op_enum' => array(
289
+ 'ADD',
290
+ 'REMOVE',
291
+ ),
292
+ );
293
+
294
+ $request = new ApiRequest(
295
+ $this->api,
296
+ $this->data['id'],
297
+ RequestInterface::METHOD_POST,
298
+ '/whatsapp_channel',
299
+ new AbstractCrudObject(),
300
+ 'EDGE',
301
+ array(),
302
+ new TypeChecker($param_types, $enums)
303
+ );
304
+ $request->addParams($params);
305
+ $request->addFields($fields);
306
+ return $pending ? $request : $request->execute();
307
+ }
308
+
309
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
310
  $this->assureId();
311
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrderTransactionDetail.php CHANGED
@@ -54,6 +54,29 @@ class CommerceOrderTransactionDetail extends AbstractCrudObject {
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  public function getTaxDetails(array $fields = array(), array $params = array(), $pending = false) {
58
  $this->assureId();
59
 
54
  }
55
 
56
 
57
+ public function getItems(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
+ '/items',
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 getTaxDetails(array $fields = array(), array $params = array(), $pending = false) {
81
  $this->assureId();
82
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CreativeAssetTag.php DELETED
@@ -1,57 +0,0 @@
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\CreativeAssetTagFields;
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 CreativeAssetTag extends AbstractObject {
43
-
44
- /**
45
- * @return CreativeAssetTagFields
46
- */
47
- public static function getFieldsEnum() {
48
- return CreativeAssetTagFields::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/Event.php CHANGED
@@ -31,6 +31,7 @@ use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\EventFields;
32
  use FacebookAds\Object\Values\EventCategoryValues;
33
  use FacebookAds\Object\Values\EventEventStateFilterValues;
 
34
  use FacebookAds\Object\Values\EventTimeFilterValues;
35
  use FacebookAds\Object\Values\EventTypeValues;
36
  use FacebookAds\Object\Values\LiveVideoProjectionValues;
@@ -60,6 +61,7 @@ class Event extends AbstractCrudObject {
60
  protected static function getReferencedEnums() {
61
  $ref_enums = array();
62
  $ref_enums['Category'] = EventCategoryValues::getInstance()->getValues();
 
63
  $ref_enums['Type'] = EventTypeValues::getInstance()->getValues();
64
  $ref_enums['EventStateFilter'] = EventEventStateFilterValues::getInstance()->getValues();
65
  $ref_enums['TimeFilter'] = EventTimeFilterValues::getInstance()->getValues();
@@ -153,7 +155,6 @@ class Event extends AbstractCrudObject {
153
  'privacy' => 'string',
154
  'projection' => 'projection_enum',
155
  'published' => 'bool',
156
- 'save_vod' => 'bool',
157
  'schedule_custom_profile_image' => 'file',
158
  'spatial_audio_format' => 'spatial_audio_format_enum',
159
  'status' => 'status_enum',
31
  use FacebookAds\Object\Fields\EventFields;
32
  use FacebookAds\Object\Values\EventCategoryValues;
33
  use FacebookAds\Object\Values\EventEventStateFilterValues;
34
+ use FacebookAds\Object\Values\EventOnlineEventFormatValues;
35
  use FacebookAds\Object\Values\EventTimeFilterValues;
36
  use FacebookAds\Object\Values\EventTypeValues;
37
  use FacebookAds\Object\Values\LiveVideoProjectionValues;
61
  protected static function getReferencedEnums() {
62
  $ref_enums = array();
63
  $ref_enums['Category'] = EventCategoryValues::getInstance()->getValues();
64
+ $ref_enums['OnlineEventFormat'] = EventOnlineEventFormatValues::getInstance()->getValues();
65
  $ref_enums['Type'] = EventTypeValues::getInstance()->getValues();
66
  $ref_enums['EventStateFilter'] = EventEventStateFilterValues::getInstance()->getValues();
67
  $ref_enums['TimeFilter'] = EventTimeFilterValues::getInstance()->getValues();
155
  'privacy' => 'string',
156
  'projection' => 'projection_enum',
157
  'published' => 'bool',
 
158
  'schedule_custom_profile_image' => 'file',
159
  'spatial_audio_format' => 'spatial_audio_format_enum',
160
  'status' => 'status_enum',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExternalEventSource.php CHANGED
@@ -61,27 +61,4 @@ class ExternalEventSource extends AbstractCrudObject {
61
  }
62
 
63
 
64
- public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
65
- $this->assureId();
66
-
67
- $param_types = array(
68
- );
69
- $enums = array(
70
- );
71
-
72
- $request = new ApiRequest(
73
- $this->api,
74
- $this->data['id'],
75
- RequestInterface::METHOD_GET,
76
- '/',
77
- new ExternalEventSource(),
78
- 'NODE',
79
- ExternalEventSource::getFieldsEnum()->getValues(),
80
- new TypeChecker($param_types, $enums)
81
- );
82
- $request->addParams($params);
83
- $request->addFields($fields);
84
- return $pending ? $request : $request->execute();
85
- }
86
-
87
  }
61
  }
62
 
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignActivityFields.php CHANGED
@@ -53,8 +53,6 @@ class AdCampaignActivityFields extends AbstractEnum {
53
  const BID_TYPE_OLD = 'bid_type_old';
54
  const BILLING_EVENT_NEW = 'billing_event_new';
55
  const BILLING_EVENT_OLD = 'billing_event_old';
56
- const BRANDE_AUDIENCE_ID_NEW = 'brande_audience_id_new';
57
- const BRANDE_AUDIENCE_ID_OLD = 'brande_audience_id_old';
58
  const BUDGET_LIMIT_NEW = 'budget_limit_new';
59
  const BUDGET_LIMIT_OLD = 'budget_limit_old';
60
  const CREATED_TIME = 'created_time';
@@ -112,8 +110,6 @@ class AdCampaignActivityFields extends AbstractEnum {
112
  'bid_type_old' => 'string',
113
  'billing_event_new' => 'BillingEventNew',
114
  'billing_event_old' => 'BillingEventOld',
115
- 'brande_audience_id_new' => 'BrandAudience',
116
- 'brande_audience_id_old' => 'BrandAudience',
117
  'budget_limit_new' => 'Object',
118
  'budget_limit_old' => 'Object',
119
  'created_time' => 'datetime',
53
  const BID_TYPE_OLD = 'bid_type_old';
54
  const BILLING_EVENT_NEW = 'billing_event_new';
55
  const BILLING_EVENT_OLD = 'billing_event_old';
 
 
56
  const BUDGET_LIMIT_NEW = 'budget_limit_new';
57
  const BUDGET_LIMIT_OLD = 'budget_limit_old';
58
  const CREATED_TIME = 'created_time';
110
  'bid_type_old' => 'string',
111
  'billing_event_new' => 'BillingEventNew',
112
  'billing_event_old' => 'BillingEventOld',
 
 
113
  'budget_limit_new' => 'Object',
114
  'budget_limit_old' => 'Object',
115
  'created_time' => 'datetime',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdPlacePageSetFields.php CHANGED
@@ -43,6 +43,7 @@ class AdPlacePageSetFields extends AbstractEnum {
43
  const NAME = 'name';
44
  const PAGES_COUNT = 'pages_count';
45
  const PARENT_PAGE = 'parent_page';
 
46
  const TARGETED_AREA_TYPE = 'targeted_area_type';
47
 
48
  public function getFieldTypes() {
@@ -53,6 +54,7 @@ class AdPlacePageSetFields extends AbstractEnum {
53
  'name' => 'string',
54
  'pages_count' => 'int',
55
  'parent_page' => 'Page',
 
56
  'targeted_area_type' => 'TargetedAreaType',
57
  );
58
  }
43
  const NAME = 'name';
44
  const PAGES_COUNT = 'pages_count';
45
  const PARENT_PAGE = 'parent_page';
46
+ const CATEGORY = 'category';
47
  const TARGETED_AREA_TYPE = 'targeted_area_type';
48
 
49
  public function getFieldTypes() {
54
  'name' => 'string',
55
  'pages_count' => 'int',
56
  'parent_page' => 'Page',
57
+ 'category' => 'Category',
58
  'targeted_area_type' => 'TargetedAreaType',
59
  );
60
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdReportSpecFields.php CHANGED
@@ -48,7 +48,6 @@ class AdReportSpecFields extends AbstractEnum {
48
  const ID = 'id';
49
  const INSIGHTS_SECTION = 'insights_section';
50
  const NAME = 'name';
51
- const REPORT_SCHEDULE = 'report_schedule';
52
  const REPORT_SCHEDULE_ID = 'report_schedule_id';
53
  const SORT_BY = 'sort_by';
54
  const SORT_DIR = 'sort_dir';
@@ -69,7 +68,6 @@ class AdReportSpecFields extends AbstractEnum {
69
  'id' => 'string',
70
  'insights_section' => 'Object',
71
  'name' => 'string',
72
- 'report_schedule' => 'Object',
73
  'report_schedule_id' => 'string',
74
  'sort_by' => 'string',
75
  'sort_dir' => 'string',
48
  const ID = 'id';
49
  const INSIGHTS_SECTION = 'insights_section';
50
  const NAME = 'name';
 
51
  const REPORT_SCHEDULE_ID = 'report_schedule_id';
52
  const SORT_BY = 'sort_by';
53
  const SORT_DIR = 'sort_dir';
68
  'id' => 'string',
69
  'insights_section' => 'Object',
70
  'name' => 'string',
 
71
  'report_schedule_id' => 'string',
72
  'sort_by' => 'string',
73
  'sort_dir' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php CHANGED
@@ -39,12 +39,16 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
39
 
40
  const ACCOUNT_ADMIN = 'account_admin';
41
  const AD = 'ad';
 
42
  const B2C = 'b2c';
 
43
  const BSG = 'bsg';
44
  const CITY_COMMUNITY = 'city_community';
 
45
  const DAILY_DEALS = 'daily_deals';
46
  const DAILY_DEALS_LEGACY = 'daily_deals_legacy';
47
  const DPA = 'dpa';
 
48
  const DRI_COUNTERFEIT = 'dri_counterfeit';
49
  const FACEBOOK = 'facebook';
50
  const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
@@ -70,12 +74,16 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
70
  return array(
71
  'account_admin' => 'map<string, string>',
72
  'ad' => 'map<string, string>',
 
73
  'b2c' => 'map<string, string>',
 
74
  'bsg' => 'map<string, string>',
75
  'city_community' => 'map<string, string>',
 
76
  'daily_deals' => 'map<string, string>',
77
  'daily_deals_legacy' => 'map<string, string>',
78
  'dpa' => 'map<string, string>',
 
79
  'dri_counterfeit' => 'map<string, string>',
80
  'facebook' => 'map<string, string>',
81
  'facebook_pages_live_shopping' => 'map<string, string>',
39
 
40
  const ACCOUNT_ADMIN = 'account_admin';
41
  const AD = 'ad';
42
+ const ADS_CONVERSION_EXPERIENCES = 'ads_conversion_experiences';
43
  const B2C = 'b2c';
44
+ const B2C_COMMERCE_UNIFIED = 'b2c_commerce_unified';
45
  const BSG = 'bsg';
46
  const CITY_COMMUNITY = 'city_community';
47
+ const COMMERCE = 'commerce';
48
  const DAILY_DEALS = 'daily_deals';
49
  const DAILY_DEALS_LEGACY = 'daily_deals_legacy';
50
  const DPA = 'dpa';
51
+ const DRI_COPYRIGHT = 'dri_copyright';
52
  const DRI_COUNTERFEIT = 'dri_counterfeit';
53
  const FACEBOOK = 'facebook';
54
  const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
74
  return array(
75
  'account_admin' => 'map<string, string>',
76
  'ad' => 'map<string, string>',
77
+ 'ads_conversion_experiences' => 'map<string, string>',
78
  'b2c' => 'map<string, string>',
79
+ 'b2c_commerce_unified' => 'map<string, string>',
80
  'bsg' => 'map<string, string>',
81
  'city_community' => 'map<string, string>',
82
+ 'commerce' => 'map<string, string>',
83
  'daily_deals' => 'map<string, string>',
84
  'daily_deals_legacy' => 'map<string, string>',
85
  'dpa' => 'map<string, string>',
86
+ 'dri_copyright' => 'map<string, string>',
87
  'dri_counterfeit' => 'map<string, string>',
88
  'facebook' => 'map<string, string>',
89
  'facebook_pages_live_shopping' => 'map<string, string>',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AdsInterestFields.php → AdoptablePetFields.php} RENAMED
@@ -35,25 +35,51 @@ use FacebookAds\Enum\AbstractEnum;
35
  *
36
  */
37
 
38
- class AdsInterestFields extends AbstractEnum {
39
 
40
- const AUDIENCE_SIZE = 'audience_size';
 
 
 
 
 
 
 
 
41
  const DESCRIPTION = 'description';
42
- const DISAMBIGUATION_CATEGORY = 'disambiguation_category';
43
  const ID = 'id';
 
44
  const NAME = 'name';
45
- const PATH = 'path';
46
- const TOPIC = 'topic';
 
 
 
 
47
 
48
  public function getFieldTypes() {
49
  return array(
50
- 'audience_size' => 'unsigned int',
 
 
 
 
 
 
 
 
51
  'description' => 'string',
52
- 'disambiguation_category' => 'string',
53
  'id' => 'string',
 
54
  'name' => 'string',
55
- 'path' => 'list<string>',
56
- 'topic' => 'string',
 
 
 
 
57
  );
58
  }
59
  }
35
  *
36
  */
37
 
38
+ class AdoptablePetFields extends AbstractEnum {
39
 
40
+ const ADDRESS = 'address';
41
+ const ADOPTABLE_PET_ID = 'adoptable_pet_id';
42
+ const ADOPTION_APPLICATION_FORM_URL = 'adoption_application_form_url';
43
+ const AGE_BUCKET = 'age_bucket';
44
+ const ANIMAL_TYPE = 'animal_type';
45
+ const APPLINKS = 'applinks';
46
+ const AVAILABILITY = 'availability';
47
+ const BREED = 'breed';
48
+ const CURRENCY = 'currency';
49
  const DESCRIPTION = 'description';
50
+ const GENDER = 'gender';
51
  const ID = 'id';
52
+ const IMAGES = 'images';
53
  const NAME = 'name';
54
+ const PRICE = 'price';
55
+ const SANITIZED_IMAGES = 'sanitized_images';
56
+ const SHELTER_NAME = 'shelter_name';
57
+ const SHELTER_PAGE_ID = 'shelter_page_id';
58
+ const SIZE = 'size';
59
+ const URL = 'url';
60
 
61
  public function getFieldTypes() {
62
  return array(
63
+ 'address' => 'Object',
64
+ 'adoptable_pet_id' => 'string',
65
+ 'adoption_application_form_url' => 'string',
66
+ 'age_bucket' => 'string',
67
+ 'animal_type' => 'string',
68
+ 'applinks' => 'CatalogItemAppLinks',
69
+ 'availability' => 'string',
70
+ 'breed' => 'string',
71
+ 'currency' => 'string',
72
  'description' => 'string',
73
+ 'gender' => 'string',
74
  'id' => 'string',
75
+ 'images' => 'list<string>',
76
  'name' => 'string',
77
+ 'price' => 'string',
78
+ 'sanitized_images' => 'list<string>',
79
+ 'shelter_name' => 'string',
80
+ 'shelter_page_id' => 'Page',
81
+ 'size' => 'string',
82
+ 'url' => 'string',
83
  );
84
  }
85
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php CHANGED
@@ -67,6 +67,7 @@ class AdsInsightsFields extends AbstractEnum {
67
  const CAMPAIGN_NAME = 'campaign_name';
68
  const CANVAS_AVG_VIEW_PERCENT = 'canvas_avg_view_percent';
69
  const CANVAS_AVG_VIEW_TIME = 'canvas_avg_view_time';
 
70
  const CATALOG_SEGMENT_VALUE = 'catalog_segment_value';
71
  const CATALOG_SEGMENT_VALUE_MOBILE_PURCHASE_ROAS = 'catalog_segment_value_mobile_purchase_roas';
72
  const CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS = 'catalog_segment_value_omni_purchase_roas';
@@ -75,6 +76,8 @@ class AdsInsightsFields extends AbstractEnum {
75
  const CONVERSION_RATE_RANKING = 'conversion_rate_ranking';
76
  const CONVERSION_VALUES = 'conversion_values';
77
  const CONVERSIONS = 'conversions';
 
 
78
  const COST_PER_15_SEC_VIDEO_VIEW = 'cost_per_15_sec_video_view';
79
  const COST_PER_2_SEC_CONTINUOUS_VIDEO_VIEW = 'cost_per_2_sec_continuous_video_view';
80
  const COST_PER_ACTION_TYPE = 'cost_per_action_type';
@@ -119,6 +122,7 @@ class AdsInsightsFields extends AbstractEnum {
119
  const INSTANT_EXPERIENCE_CLICKS_TO_OPEN = 'instant_experience_clicks_to_open';
120
  const INSTANT_EXPERIENCE_CLICKS_TO_START = 'instant_experience_clicks_to_start';
121
  const INSTANT_EXPERIENCE_OUTBOUND_CLICKS = 'instant_experience_outbound_clicks';
 
122
  const LABELS = 'labels';
123
  const LOCATION = 'location';
124
  const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
@@ -200,6 +204,7 @@ class AdsInsightsFields extends AbstractEnum {
200
  'campaign_name' => 'string',
201
  'canvas_avg_view_percent' => 'string',
202
  'canvas_avg_view_time' => 'string',
 
203
  'catalog_segment_value' => 'list<AdsActionStats>',
204
  'catalog_segment_value_mobile_purchase_roas' => 'list<AdsActionStats>',
205
  'catalog_segment_value_omni_purchase_roas' => 'list<AdsActionStats>',
@@ -208,6 +213,8 @@ class AdsInsightsFields extends AbstractEnum {
208
  'conversion_rate_ranking' => 'string',
209
  'conversion_values' => 'list<AdsActionStats>',
210
  'conversions' => 'list<AdsActionStats>',
 
 
211
  'cost_per_15_sec_video_view' => 'list<AdsActionStats>',
212
  'cost_per_2_sec_continuous_video_view' => 'list<AdsActionStats>',
213
  'cost_per_action_type' => 'list<AdsActionStats>',
@@ -252,6 +259,7 @@ class AdsInsightsFields extends AbstractEnum {
252
  'instant_experience_clicks_to_open' => 'string',
253
  'instant_experience_clicks_to_start' => 'string',
254
  'instant_experience_outbound_clicks' => 'string',
 
255
  'labels' => 'string',
256
  'location' => 'string',
257
  'mobile_app_purchase_roas' => 'list<AdsActionStats>',
67
  const CAMPAIGN_NAME = 'campaign_name';
68
  const CANVAS_AVG_VIEW_PERCENT = 'canvas_avg_view_percent';
69
  const CANVAS_AVG_VIEW_TIME = 'canvas_avg_view_time';
70
+ const CATALOG_SEGMENT_ACTIONS = 'catalog_segment_actions';
71
  const CATALOG_SEGMENT_VALUE = 'catalog_segment_value';
72
  const CATALOG_SEGMENT_VALUE_MOBILE_PURCHASE_ROAS = 'catalog_segment_value_mobile_purchase_roas';
73
  const CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS = 'catalog_segment_value_omni_purchase_roas';
76
  const CONVERSION_RATE_RANKING = 'conversion_rate_ranking';
77
  const CONVERSION_VALUES = 'conversion_values';
78
  const CONVERSIONS = 'conversions';
79
+ const CONVERTED_PRODUCT_QUANTITY = 'converted_product_quantity';
80
+ const CONVERTED_PRODUCT_VALUE = 'converted_product_value';
81
  const COST_PER_15_SEC_VIDEO_VIEW = 'cost_per_15_sec_video_view';
82
  const COST_PER_2_SEC_CONTINUOUS_VIDEO_VIEW = 'cost_per_2_sec_continuous_video_view';
83
  const COST_PER_ACTION_TYPE = 'cost_per_action_type';
122
  const INSTANT_EXPERIENCE_CLICKS_TO_OPEN = 'instant_experience_clicks_to_open';
123
  const INSTANT_EXPERIENCE_CLICKS_TO_START = 'instant_experience_clicks_to_start';
124
  const INSTANT_EXPERIENCE_OUTBOUND_CLICKS = 'instant_experience_outbound_clicks';
125
+ const INTERACTIVE_COMPONENT_TAP = 'interactive_component_tap';
126
  const LABELS = 'labels';
127
  const LOCATION = 'location';
128
  const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
204
  'campaign_name' => 'string',
205
  'canvas_avg_view_percent' => 'string',
206
  'canvas_avg_view_time' => 'string',
207
+ 'catalog_segment_actions' => 'list<AdsActionStats>',
208
  'catalog_segment_value' => 'list<AdsActionStats>',
209
  'catalog_segment_value_mobile_purchase_roas' => 'list<AdsActionStats>',
210
  'catalog_segment_value_omni_purchase_roas' => 'list<AdsActionStats>',
213
  'conversion_rate_ranking' => 'string',
214
  'conversion_values' => 'list<AdsActionStats>',
215
  'conversions' => 'list<AdsActionStats>',
216
+ 'converted_product_quantity' => 'list<AdsActionStats>',
217
+ 'converted_product_value' => 'list<AdsActionStats>',
218
  'cost_per_15_sec_video_view' => 'list<AdsActionStats>',
219
  'cost_per_2_sec_continuous_video_view' => 'list<AdsActionStats>',
220
  'cost_per_action_type' => 'list<AdsActionStats>',
259
  'instant_experience_clicks_to_open' => 'string',
260
  'instant_experience_clicks_to_start' => 'string',
261
  'instant_experience_outbound_clicks' => 'string',
262
+ 'interactive_component_tap' => 'list<AdsActionStats>',
263
  'labels' => 'string',
264
  'location' => 'string',
265
  'mobile_app_purchase_roas' => 'list<AdsActionStats>',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BrandAudienceFields.php DELETED
@@ -1,65 +0,0 @@
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 BrandAudienceFields extends AbstractEnum {
39
-
40
- const ACCOUNT = 'account';
41
- const DELIVERY_TARGETING = 'delivery_targeting';
42
- const DESCRIPTION = 'description';
43
- const ID = 'id';
44
- const NAME = 'name';
45
- const SENTENCE_LINES = 'sentence_lines';
46
- const STATUS = 'status';
47
- const TARGETING = 'targeting';
48
- const TIME_CREATED = 'time_created';
49
- const TIME_UPDATED = 'time_updated';
50
-
51
- public function getFieldTypes() {
52
- return array(
53
- 'account' => 'AdAccount',
54
- 'delivery_targeting' => 'Targeting',
55
- 'description' => 'string',
56
- 'id' => 'string',
57
- 'name' => 'string',
58
- 'sentence_lines' => 'list',
59
- 'status' => 'string',
60
- 'targeting' => 'Targeting',
61
- 'time_created' => 'datetime',
62
- 'time_updated' => 'datetime',
63
- );
64
- }
65
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFields.php DELETED
@@ -1,67 +0,0 @@
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 BusinessCreativeFields extends AbstractEnum {
39
-
40
- const CREATION_TIME = 'creation_time';
41
- const DURATION = 'duration';
42
- const HASH = 'hash';
43
- const HEIGHT = 'height';
44
- const ID = 'id';
45
- const NAME = 'name';
46
- const THUMBNAIL = 'thumbnail';
47
- const TYPE = 'type';
48
- const URL = 'url';
49
- const VIDEO_ID = 'video_id';
50
- const WIDTH = 'width';
51
-
52
- public function getFieldTypes() {
53
- return array(
54
- 'creation_time' => 'datetime',
55
- 'duration' => 'int',
56
- 'hash' => 'string',
57
- 'height' => 'int',
58
- 'id' => 'string',
59
- 'name' => 'string',
60
- 'thumbnail' => 'string',
61
- 'type' => 'string',
62
- 'url' => 'string',
63
- 'video_id' => 'string',
64
- 'width' => 'int',
65
- );
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderFields.php DELETED
@@ -1,63 +0,0 @@
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 BusinessCreativeFolderFields extends AbstractEnum {
39
-
40
- const BUSINESS = 'business';
41
- const CREATION_TIME = 'creation_time';
42
- const CREATIVE_INSIGHT_PERMISSIONS = 'creative_insight_permissions';
43
- const DESCRIPTION = 'description';
44
- const ID = 'id';
45
- const MEDIA_LIBRARY_URL = 'media_library_url';
46
- const NAME = 'name';
47
- const PARENT_FOLDER = 'parent_folder';
48
- const PARENT_FOLDER_ID = 'parent_folder_id';
49
-
50
- public function getFieldTypes() {
51
- return array(
52
- 'business' => 'Business',
53
- 'creation_time' => 'datetime',
54
- 'creative_insight_permissions' => 'map<string, string>',
55
- 'description' => 'string',
56
- 'id' => 'string',
57
- 'media_library_url' => 'string',
58
- 'name' => 'string',
59
- 'parent_folder' => 'BusinessCreativeFolder',
60
- 'parent_folder_id' => 'string',
61
- );
62
- }
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderSharingAgreementFields.php DELETED
@@ -1,53 +0,0 @@
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 BusinessCreativeFolderSharingAgreementFields extends AbstractEnum {
39
-
40
- const FOLDER_ID = 'folder_id';
41
- const ID = 'id';
42
- const REQUESTING_BUSINESS = 'requesting_business';
43
- const STATUS = 'status';
44
-
45
- public function getFieldTypes() {
46
- return array(
47
- 'folder_id' => 'string',
48
- 'id' => 'string',
49
- 'requesting_business' => 'Business',
50
- 'status' => 'string',
51
- );
52
- }
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessImageFields.php DELETED
@@ -1,73 +0,0 @@
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 BusinessImageFields extends AbstractEnum {
39
-
40
- const BUSINESS = 'business';
41
- const CREATION_TIME = 'creation_time';
42
- const HASH = 'hash';
43
- const HEIGHT = 'height';
44
- const ID = 'id';
45
- const MEDIA_LIBRARY_URL = 'media_library_url';
46
- const NAME = 'name';
47
- const URL = 'url';
48
- const URL_128 = 'url_128';
49
- const WIDTH = 'width';
50
- const AD_PLACEMENTS_VALIDATION_ONLY = 'ad_placements_validation_only';
51
- const BYTES = 'bytes';
52
- const CREATIVE_FOLDER_ID = 'creative_folder_id';
53
- const VALIDATION_AD_PLACEMENTS = 'validation_ad_placements';
54
-
55
- public function getFieldTypes() {
56
- return array(
57
- 'business' => 'Business',
58
- 'creation_time' => 'datetime',
59
- 'hash' => 'string',
60
- 'height' => 'int',
61
- 'id' => 'string',
62
- 'media_library_url' => 'string',
63
- 'name' => 'string',
64
- 'url' => 'string',
65
- 'url_128' => 'string',
66
- 'width' => 'int',
67
- 'ad_placements_validation_only' => 'bool',
68
- 'bytes' => 'Object',
69
- 'creative_folder_id' => 'string',
70
- 'validation_ad_placements' => 'list<ValidationAdPlacements>',
71
- );
72
- }
73
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CampaignFields.php CHANGED
@@ -64,6 +64,7 @@ class CampaignFields extends AbstractEnum {
64
  const SOURCE_CAMPAIGN_ID = 'source_campaign_id';
65
  const SPECIAL_AD_CATEGORIES = 'special_ad_categories';
66
  const SPECIAL_AD_CATEGORY = 'special_ad_category';
 
67
  const SPEND_CAP = 'spend_cap';
68
  const START_TIME = 'start_time';
69
  const STATUS = 'status';
@@ -104,6 +105,7 @@ class CampaignFields extends AbstractEnum {
104
  'source_campaign_id' => 'string',
105
  'special_ad_categories' => 'list<string>',
106
  'special_ad_category' => 'string',
 
107
  'spend_cap' => 'string',
108
  'start_time' => 'datetime',
109
  'status' => 'Status',
64
  const SOURCE_CAMPAIGN_ID = 'source_campaign_id';
65
  const SPECIAL_AD_CATEGORIES = 'special_ad_categories';
66
  const SPECIAL_AD_CATEGORY = 'special_ad_category';
67
+ const SPECIAL_AD_CATEGORY_COUNTRY = 'special_ad_category_country';
68
  const SPEND_CAP = 'spend_cap';
69
  const START_TIME = 'start_time';
70
  const STATUS = 'status';
105
  'source_campaign_id' => 'string',
106
  'special_ad_categories' => 'list<string>',
107
  'special_ad_category' => 'string',
108
+ 'special_ad_category_country' => 'list<string>',
109
  'spend_cap' => 'string',
110
  'start_time' => 'datetime',
111
  'status' => 'Status',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ClientTransparencyStatusFields.php DELETED
@@ -1,53 +0,0 @@
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 ClientTransparencyStatusFields extends AbstractEnum {
39
-
40
- const GRACE_PERIOD_EXPIRATION_DATE = 'grace_period_expiration_date';
41
- const HAS_OWNING_BUSINESS = 'has_owning_business';
42
- const IS_SATISFIED = 'is_satisfied';
43
- const OWNING_BUSINESS_REQUIREMENTS = 'owning_business_requirements';
44
-
45
- public function getFieldTypes() {
46
- return array(
47
- 'grace_period_expiration_date' => 'datetime',
48
- 'has_owning_business' => 'bool',
49
- 'is_satisfied' => 'bool',
50
- 'owning_business_requirements' => 'Object',
51
- );
52
- }
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php CHANGED
@@ -58,6 +58,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
58
  const SUPPORTED_CARD_TYPES = 'supported_card_types';
59
  const TERMS = 'terms';
60
  const TERMS_URL_BY_LOCALE = 'terms_url_by_locale';
 
61
 
62
  public function getFieldTypes() {
63
  return array(
@@ -82,6 +83,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
82
  'supported_card_types' => 'list<string>',
83
  'terms' => 'string',
84
  'terms_url_by_locale' => 'map<string, string>',
 
85
  );
86
  }
87
  }
58
  const SUPPORTED_CARD_TYPES = 'supported_card_types';
59
  const TERMS = 'terms';
60
  const TERMS_URL_BY_LOCALE = 'terms_url_by_locale';
61
+ const WHATSAPP_CHANNEL = 'whatsapp_channel';
62
 
63
  public function getFieldTypes() {
64
  return array(
83
  'supported_card_types' => 'list<string>',
84
  'terms' => 'string',
85
  'terms_url_by_locale' => 'map<string, string>',
86
+ 'whatsapp_channel' => 'Object',
87
  );
88
  }
89
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/EventFields.php CHANGED
@@ -56,6 +56,8 @@ class EventFields extends AbstractEnum {
56
  const MAYBE_COUNT = 'maybe_count';
57
  const NAME = 'name';
58
  const NOREPLY_COUNT = 'noreply_count';
 
 
59
  const OWNER = 'owner';
60
  const PARENT_GROUP = 'parent_group';
61
  const PLACE = 'place';
@@ -90,6 +92,8 @@ class EventFields extends AbstractEnum {
90
  'maybe_count' => 'int',
91
  'name' => 'string',
92
  'noreply_count' => 'int',
 
 
93
  'owner' => 'Object',
94
  'parent_group' => 'Group',
95
  'place' => 'Place',
56
  const MAYBE_COUNT = 'maybe_count';
57
  const NAME = 'name';
58
  const NOREPLY_COUNT = 'noreply_count';
59
+ const ONLINE_EVENT_FORMAT = 'online_event_format';
60
+ const ONLINE_EVENT_THIRD_PARTY_URL = 'online_event_third_party_url';
61
  const OWNER = 'owner';
62
  const PARENT_GROUP = 'parent_group';
63
  const PLACE = 'place';
92
  'maybe_count' => 'int',
93
  'name' => 'string',
94
  'noreply_count' => 'int',
95
+ 'online_event_format' => 'OnlineEventFormat',
96
+ 'online_event_third_party_url' => 'string',
97
  'owner' => 'Object',
98
  'parent_group' => 'Group',
99
  'place' => 'Place',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
37
 
38
  class IGMediaFields extends AbstractEnum {
39
 
 
40
  const CAPTION = 'caption';
41
  const COMMENTS_COUNT = 'comments_count';
42
  const ID = 'id';
@@ -54,6 +55,7 @@ class IGMediaFields extends AbstractEnum {
54
 
55
  public function getFieldTypes() {
56
  return array(
 
57
  'caption' => 'string',
58
  'comments_count' => 'int',
59
  'id' => 'string',
37
 
38
  class IGMediaFields extends AbstractEnum {
39
 
40
+ const ALT_TEXT = 'alt_text';
41
  const CAPTION = 'caption';
42
  const COMMENTS_COUNT = 'comments_count';
43
  const ID = 'id';
55
 
56
  public function getFieldTypes() {
57
  return array(
58
+ 'alt_text' => 'string',
59
  'caption' => 'string',
60
  'comments_count' => 'int',
61
  'id' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IterativeSplitTestConfigFields.php DELETED
@@ -1,63 +0,0 @@
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 IterativeSplitTestConfigFields extends AbstractEnum {
39
-
40
- const BUDGET = 'budget';
41
- const END_TIME = 'end_time';
42
- const GUIDANCE = 'guidance';
43
- const ID = 'id';
44
- const ITERATIVE_SPLIT_TEST_ORIGINAL_VARIANT_ID = 'iterative_split_test_original_variant_id';
45
- const ITERATIVE_SPLIT_TEST_VARIANT_TO_SPLIT_MAPPING = 'iterative_split_test_variant_to_split_mapping';
46
- const RESULTS_WINDOW = 'results_window';
47
- const SPLITS = 'splits';
48
- const START_TIME = 'start_time';
49
-
50
- public function getFieldTypes() {
51
- return array(
52
- 'budget' => 'int',
53
- 'end_time' => 'datetime',
54
- 'guidance' => 'Object',
55
- 'id' => 'string',
56
- 'iterative_split_test_original_variant_id' => 'string',
57
- 'iterative_split_test_variant_to_split_mapping' => 'map<string, int>',
58
- 'results_window' => 'Object',
59
- 'splits' => 'list<int>',
60
- 'start_time' => 'datetime',
61
- );
62
- }
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OracleTransactionFields.php CHANGED
@@ -42,7 +42,6 @@ class OracleTransactionFields extends AbstractEnum {
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';
@@ -64,7 +63,6 @@ class OracleTransactionFields extends AbstractEnum {
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',
42
  const AMOUNT_DUE = 'amount_due';
43
  const BILLED_AMOUNT_DETAILS = 'billed_amount_details';
44
  const BILLING_PERIOD = 'billing_period';
 
45
  const CDN_DOWNLOAD_URI = 'cdn_download_uri';
46
  const CURRENCY = 'currency';
47
  const DOWNLOAD_URI = 'download_uri';
63
  'amount_due' => 'CurrencyAmount',
64
  'billed_amount_details' => 'BilledAmountDetails',
65
  'billing_period' => 'string',
 
66
  'cdn_download_uri' => 'string',
67
  'currency' => 'string',
68
  'download_uri' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAboutStoryFields.php DELETED
@@ -1,59 +0,0 @@
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 PageAboutStoryFields extends AbstractEnum {
39
-
40
- const COMPOSED_TEXT = 'composed_text';
41
- const COVER_PHOTO = 'cover_photo';
42
- const ENTITY_MAP = 'entity_map';
43
- const ID = 'id';
44
- const IS_PUBLISHED = 'is_published';
45
- const PAGE_ID = 'page_id';
46
- const TITLE = 'title';
47
-
48
- public function getFieldTypes() {
49
- return array(
50
- 'composed_text' => 'list<Object>',
51
- 'cover_photo' => 'Photo',
52
- 'entity_map' => 'list<Object>',
53
- 'id' => 'string',
54
- 'is_published' => 'bool',
55
- 'page_id' => 'string',
56
- 'title' => 'string',
57
- );
58
- }
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAdminNoteFields.php CHANGED
@@ -40,6 +40,7 @@ class PageAdminNoteFields extends AbstractEnum {
40
  const BODY = 'body';
41
  const FROM = 'from';
42
  const ID = 'id';
 
43
  const USER = 'user';
44
 
45
  public function getFieldTypes() {
@@ -47,6 +48,7 @@ class PageAdminNoteFields extends AbstractEnum {
47
  'body' => 'string',
48
  'from' => 'Page',
49
  'id' => 'string',
 
50
  'user' => 'User',
51
  );
52
  }
40
  const BODY = 'body';
41
  const FROM = 'from';
42
  const ID = 'id';
43
+ const NOTE_LABEL = 'note_label';
44
  const USER = 'user';
45
 
46
  public function getFieldTypes() {
48
  'body' => 'string',
49
  'from' => 'Page',
50
  'id' => 'string',
51
+ 'note_label' => 'string',
52
  'user' => 'User',
53
  );
54
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php CHANGED
@@ -128,7 +128,6 @@ class PageFields extends AbstractEnum {
128
  const NEW_LIKE_COUNT = 'new_like_count';
129
  const OFFER_ELIGIBLE = 'offer_eligible';
130
  const OVERALL_STAR_RATING = 'overall_star_rating';
131
- const PAGE_ABOUT_STORY = 'page_about_story';
132
  const PAGE_TOKEN = 'page_token';
133
  const PARENT_PAGE = 'parent_page';
134
  const PARKING = 'parking';
@@ -137,6 +136,7 @@ class PageFields extends AbstractEnum {
137
  const PERSONAL_INTERESTS = 'personal_interests';
138
  const PHARMA_SAFETY_INFO = 'pharma_safety_info';
139
  const PHONE = 'phone';
 
140
  const PLACE_TYPE = 'place_type';
141
  const PLOT_OUTLINE = 'plot_outline';
142
  const PREFERRED_AUDIENCE = 'preferred_audience';
@@ -272,7 +272,6 @@ class PageFields extends AbstractEnum {
272
  'new_like_count' => 'unsigned int',
273
  'offer_eligible' => 'bool',
274
  'overall_star_rating' => 'float',
275
- 'page_about_story' => 'PageAboutStory',
276
  'page_token' => 'string',
277
  'parent_page' => 'Page',
278
  'parking' => 'PageParking',
@@ -281,6 +280,7 @@ class PageFields extends AbstractEnum {
281
  'personal_interests' => 'string',
282
  'pharma_safety_info' => 'string',
283
  'phone' => 'string',
 
284
  'place_type' => 'string',
285
  'plot_outline' => 'string',
286
  'preferred_audience' => 'Targeting',
128
  const NEW_LIKE_COUNT = 'new_like_count';
129
  const OFFER_ELIGIBLE = 'offer_eligible';
130
  const OVERALL_STAR_RATING = 'overall_star_rating';
 
131
  const PAGE_TOKEN = 'page_token';
132
  const PARENT_PAGE = 'parent_page';
133
  const PARKING = 'parking';
136
  const PERSONAL_INTERESTS = 'personal_interests';
137
  const PHARMA_SAFETY_INFO = 'pharma_safety_info';
138
  const PHONE = 'phone';
139
+ const PICKUP_OPTIONS = 'pickup_options';
140
  const PLACE_TYPE = 'place_type';
141
  const PLOT_OUTLINE = 'plot_outline';
142
  const PREFERRED_AUDIENCE = 'preferred_audience';
272
  'new_like_count' => 'unsigned int',
273
  'offer_eligible' => 'bool',
274
  'overall_star_rating' => 'float',
 
275
  'page_token' => 'string',
276
  'parent_page' => 'Page',
277
  'parking' => 'PageParking',
280
  'personal_interests' => 'string',
281
  'pharma_safety_info' => 'string',
282
  'phone' => 'string',
283
+ 'pickup_options' => 'list<string>',
284
  'place_type' => 'string',
285
  'plot_outline' => 'string',
286
  'preferred_audience' => 'Targeting',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PaymentSubscriptionFields.php ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 PaymentSubscriptionFields extends AbstractEnum {
39
+
40
+ const AMOUNT = 'amount';
41
+ const APP_PARAM_DATA = 'app_param_data';
42
+ const APPLICATION = 'application';
43
+ const BILLING_PERIOD = 'billing_period';
44
+ const CANCELED_REASON = 'canceled_reason';
45
+ const CREATED_TIME = 'created_time';
46
+ const CURRENCY = 'currency';
47
+ const ID = 'id';
48
+ const LAST_PAYMENT = 'last_payment';
49
+ const NEXT_BILL_TIME = 'next_bill_time';
50
+ const NEXT_PERIOD_AMOUNT = 'next_period_amount';
51
+ const NEXT_PERIOD_CURRENCY = 'next_period_currency';
52
+ const NEXT_PERIOD_PRODUCT = 'next_period_product';
53
+ const PAYMENT_STATUS = 'payment_status';
54
+ const PENDING_CANCEL = 'pending_cancel';
55
+ const PERIOD_START_TIME = 'period_start_time';
56
+ const PRODUCT = 'product';
57
+ const STATUS = 'status';
58
+ const TEST = 'test';
59
+ const TRIAL_AMOUNT = 'trial_amount';
60
+ const TRIAL_CURRENCY = 'trial_currency';
61
+ const TRIAL_EXPIRY_TIME = 'trial_expiry_time';
62
+ const UPDATED_TIME = 'updated_time';
63
+ const USER = 'user';
64
+
65
+ public function getFieldTypes() {
66
+ return array(
67
+ 'amount' => 'string',
68
+ 'app_param_data' => 'string',
69
+ 'application' => 'Profile',
70
+ 'billing_period' => 'string',
71
+ 'canceled_reason' => 'string',
72
+ 'created_time' => 'datetime',
73
+ 'currency' => 'string',
74
+ 'id' => 'string',
75
+ 'last_payment' => 'string',
76
+ 'next_bill_time' => 'datetime',
77
+ 'next_period_amount' => 'string',
78
+ 'next_period_currency' => 'string',
79
+ 'next_period_product' => 'string',
80
+ 'payment_status' => 'string',
81
+ 'pending_cancel' => 'bool',
82
+ 'period_start_time' => 'datetime',
83
+ 'product' => 'string',
84
+ 'status' => 'string',
85
+ 'test' => 'unsigned int',
86
+ 'trial_amount' => 'string',
87
+ 'trial_currency' => 'string',
88
+ 'trial_expiry_time' => 'datetime',
89
+ 'updated_time' => 'datetime',
90
+ 'user' => 'Profile',
91
+ );
92
+ }
93
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductSetFields.php CHANGED
@@ -40,18 +40,24 @@ class ProductSetFields extends AbstractEnum {
40
  const AUTO_CREATION_URL = 'auto_creation_url';
41
  const FILTER = 'filter';
42
  const ID = 'id';
 
 
43
  const NAME = 'name';
44
  const PRODUCT_CATALOG = 'product_catalog';
45
  const PRODUCT_COUNT = 'product_count';
 
46
 
47
  public function getFieldTypes() {
48
  return array(
49
  'auto_creation_url' => 'string',
50
  'filter' => 'string',
51
  'id' => 'string',
 
 
52
  'name' => 'string',
53
  'product_catalog' => 'ProductCatalog',
54
  'product_count' => 'unsigned int',
 
55
  );
56
  }
57
  }
40
  const AUTO_CREATION_URL = 'auto_creation_url';
41
  const FILTER = 'filter';
42
  const ID = 'id';
43
+ const LATEST_METADATA = 'latest_metadata';
44
+ const LIVE_METADATA = 'live_metadata';
45
  const NAME = 'name';
46
  const PRODUCT_CATALOG = 'product_catalog';
47
  const PRODUCT_COUNT = 'product_count';
48
+ const METADATA = 'metadata';
49
 
50
  public function getFieldTypes() {
51
  return array(
52
  'auto_creation_url' => 'string',
53
  'filter' => 'string',
54
  'id' => 'string',
55
+ 'latest_metadata' => 'ProductSetMetadata',
56
+ 'live_metadata' => 'ProductSetMetadata',
57
  'name' => 'string',
58
  'product_catalog' => 'ProductCatalog',
59
  'product_count' => 'unsigned int',
60
+ 'metadata' => 'map',
61
  );
62
  }
63
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{MessengerPlatformReferralFields.php → ProductSetMetadataFields.php} RENAMED
@@ -35,21 +35,17 @@ use FacebookAds\Enum\AbstractEnum;
35
  *
36
  */
37
 
38
- class MessengerPlatformReferralFields extends AbstractEnum {
39
 
40
- const AD_ID = 'ad_id';
41
- const ID = 'id';
42
- const REF = 'ref';
43
- const SOURCE = 'source';
44
- const TYPE = 'type';
45
 
46
  public function getFieldTypes() {
47
  return array(
48
- 'ad_id' => 'string',
49
- 'id' => 'string',
50
- 'ref' => 'string',
51
- 'source' => 'string',
52
- 'type' => 'string',
53
  );
54
  }
55
  }
35
  *
36
  */
37
 
38
+ class ProductSetMetadataFields extends AbstractEnum {
39
 
40
+ const COVER_IMAGE_URL = 'cover_image_url';
41
+ const DESCRIPTION = 'description';
42
+ const INTEGRITY_REVIEW_STATUS = 'integrity_review_status';
 
 
43
 
44
  public function getFieldTypes() {
45
  return array(
46
+ 'cover_image_url' => 'string',
47
+ 'description' => 'string',
48
+ 'integrity_review_status' => 'string',
 
 
49
  );
50
  }
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SplitTestConfigFields.php DELETED
@@ -1,59 +0,0 @@
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 SplitTestConfigFields extends AbstractEnum {
39
-
40
- const BUDGET = 'budget';
41
- const EARLY_WINNER_DECLARATION_ENABLED = 'early_winner_declaration_enabled';
42
- const END_TIME = 'end_time';
43
- const SPLITS = 'splits';
44
- const START_TIME = 'start_time';
45
- const TEST_VARIABLE = 'test_variable';
46
- const ID = 'id';
47
-
48
- public function getFieldTypes() {
49
- return array(
50
- 'budget' => 'int',
51
- 'early_winner_declaration_enabled' => 'bool',
52
- 'end_time' => 'datetime',
53
- 'splits' => 'list<int>',
54
- 'start_time' => 'datetime',
55
- 'test_variable' => 'string',
56
- 'id' => 'string',
57
- );
58
- }
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TargetingFields.php CHANGED
@@ -95,6 +95,7 @@ class TargetingFields extends AbstractEnum {
95
  const INCOME = 'income';
96
  const INDUSTRIES = 'industries';
97
  const INSTAGRAM_POSITIONS = 'instagram_positions';
 
98
  const INTERESTED_IN = 'interested_in';
99
  const INTERESTS = 'interests';
100
  const IS_WHATSAPP_DESTINATION_AD = 'is_whatsapp_destination_ad';
@@ -185,6 +186,7 @@ class TargetingFields extends AbstractEnum {
185
  'income' => 'list<IDName>',
186
  'industries' => 'list<IDName>',
187
  'instagram_positions' => 'list<string>',
 
188
  'interested_in' => 'list<unsigned int>',
189
  'interests' => 'list<IDName>',
190
  'is_whatsapp_destination_ad' => 'bool',
95
  const INCOME = 'income';
96
  const INDUSTRIES = 'industries';
97
  const INSTAGRAM_POSITIONS = 'instagram_positions';
98
+ const INSTREAM_VIDEO_SKIPPABLE_EXCLUDED = 'instream_video_skippable_excluded';
99
  const INTERESTED_IN = 'interested_in';
100
  const INTERESTS = 'interests';
101
  const IS_WHATSAPP_DESTINATION_AD = 'is_whatsapp_destination_ad';
186
  'income' => 'list<IDName>',
187
  'industries' => 'list<IDName>',
188
  'instagram_positions' => 'list<string>',
189
+ 'instream_video_skippable_excluded' => 'bool',
190
  'interested_in' => 'list<unsigned int>',
191
  'interests' => 'list<IDName>',
192
  'is_whatsapp_destination_ad' => 'bool',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{CreativeAssetTagFields.php → TargetingRelaxationFields.php} RENAMED
@@ -35,13 +35,13 @@ use FacebookAds\Enum\AbstractEnum;
35
  *
36
  */
37
 
38
- class CreativeAssetTagFields extends AbstractEnum {
39
 
40
- const NAME = 'name';
41
 
42
  public function getFieldTypes() {
43
  return array(
44
- 'name' => 'string',
45
  );
46
  }
47
  }
35
  *
36
  */
37
 
38
+ class TargetingRelaxationFields extends AbstractEnum {
39
 
40
+ const LOOKALIKE = 'lookalike';
41
 
42
  public function getFieldTypes() {
43
  return array(
44
+ 'lookalike' => 'unsigned int',
45
  );
46
  }
47
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserInfluenceFields.php DELETED
@@ -1,51 +0,0 @@
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 UserInfluenceFields extends AbstractEnum {
39
-
40
- const TRUST = 'trust';
41
- const TRUST_CODE = 'trust_code';
42
- const VERSION = 'version';
43
-
44
- public function getFieldTypes() {
45
- return array(
46
- 'trust' => 'string',
47
- 'trust_code' => 'int',
48
- 'version' => 'int',
49
- );
50
- }
51
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserTaggableFriendFields.php DELETED
@@ -1,55 +0,0 @@
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 UserTaggableFriendFields extends AbstractEnum {
39
-
40
- const FIRST_NAME = 'first_name';
41
- const ID = 'id';
42
- const LAST_NAME = 'last_name';
43
- const MIDDLE_NAME = 'middle_name';
44
- const NAME = 'name';
45
-
46
- public function getFieldTypes() {
47
- return array(
48
- 'first_name' => 'string',
49
- 'id' => 'string',
50
- 'last_name' => 'string',
51
- 'middle_name' => 'string',
52
- 'name' => 'string',
53
- );
54
- }
55
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php DELETED
@@ -1,51 +0,0 @@
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 WhatsAppBusinessProfileFields extends AbstractEnum {
39
-
40
- const ID = 'id';
41
- const NAME_VERIFICATION = 'name_verification';
42
- const VERIFIED_NAME = 'verified_name';
43
-
44
- public function getFieldTypes() {
45
- return array(
46
- 'id' => 'string',
47
- 'name_verification' => 'Object',
48
- 'verified_name' => 'string',
49
- );
50
- }
51
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AtlasURLFields.php → WorkMeetingLinkFields.php} RENAMED
@@ -35,13 +35,15 @@ use FacebookAds\Enum\AbstractEnum;
35
  *
36
  */
37
 
38
- class AtlasURLFields extends AbstractEnum {
39
 
40
- const URL = 'url';
 
41
 
42
  public function getFieldTypes() {
43
  return array(
44
- 'url' => 'string',
 
45
  );
46
  }
47
  }
35
  *
36
  */
37
 
38
+ class WorkMeetingLinkFields extends AbstractEnum {
39
 
40
+ const ID = 'id';
41
+ const OWNER = 'owner';
42
 
43
  public function getFieldTypes() {
44
  return array(
45
+ 'id' => 'string',
46
+ 'owner' => 'User',
47
  );
48
  }
49
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php CHANGED
@@ -51,6 +51,7 @@ use FacebookAds\Object\Values\LiveVideoStereoscopicModeValues;
51
  use FacebookAds\Object\Values\LiveVideoStreamTypeValues;
52
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
53
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
 
54
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
55
 
56
  /**
@@ -521,7 +522,6 @@ class Group extends AbstractCrudObject {
521
  'privacy' => 'string',
522
  'projection' => 'projection_enum',
523
  'published' => 'bool',
524
- 'save_vod' => 'bool',
525
  'schedule_custom_profile_image' => 'file',
526
  'spatial_audio_format' => 'spatial_audio_format_enum',
527
  'status' => 'status_enum',
@@ -710,12 +710,14 @@ class Group extends AbstractCrudObject {
710
  $this->assureId();
711
 
712
  $param_types = array(
 
713
  'height' => 'int',
714
  'redirect' => 'bool',
715
  'type' => 'type_enum',
716
  'width' => 'int',
717
  );
718
  $enums = array(
 
719
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
720
  );
721
 
@@ -778,6 +780,7 @@ class Group extends AbstractCrudObject {
778
  'composer_type' => 'string',
779
  'container_type' => 'container_type_enum',
780
  'content_category' => 'content_category_enum',
 
781
  'description' => 'string',
782
  'embeddable' => 'bool',
783
  'end_offset' => 'unsigned int',
@@ -833,6 +836,7 @@ class Group extends AbstractCrudObject {
833
  'upload_session_id' => 'string',
834
  'upload_setting_properties' => 'string',
835
  'video_file_chunk' => 'string',
 
836
  'video_start_time_ms' => 'unsigned int',
837
  'waterfall_id' => 'string',
838
  );
51
  use FacebookAds\Object\Values\LiveVideoStreamTypeValues;
52
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
53
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
54
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
55
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
56
 
57
  /**
522
  'privacy' => 'string',
523
  'projection' => 'projection_enum',
524
  'published' => 'bool',
 
525
  'schedule_custom_profile_image' => 'file',
526
  'spatial_audio_format' => 'spatial_audio_format_enum',
527
  'status' => 'status_enum',
710
  $this->assureId();
711
 
712
  $param_types = array(
713
+ 'breaking_change' => 'breaking_change_enum',
714
  'height' => 'int',
715
  'redirect' => 'bool',
716
  'type' => 'type_enum',
717
  'width' => 'int',
718
  );
719
  $enums = array(
720
+ 'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
721
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
722
  );
723
 
780
  'composer_type' => 'string',
781
  'container_type' => 'container_type_enum',
782
  'content_category' => 'content_category_enum',
783
+ 'creative_tools' => 'string',
784
  'description' => 'string',
785
  'embeddable' => 'bool',
786
  'end_offset' => 'unsigned int',
836
  'upload_session_id' => 'string',
837
  'upload_setting_properties' => 'string',
838
  'video_file_chunk' => 'string',
839
+ 'video_id_original' => 'string',
840
  'video_start_time_ms' => 'unsigned int',
841
  'waterfall_id' => 'string',
842
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/IterativeSplitTestConfig.php DELETED
@@ -1,80 +0,0 @@
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\IterativeSplitTestConfigFields;
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 IterativeSplitTestConfig extends AbstractCrudObject {
43
-
44
- /**
45
- * @return IterativeSplitTestConfigFields
46
- */
47
- public static function getFieldsEnum() {
48
- return IterativeSplitTestConfigFields::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 IterativeSplitTestConfig(),
71
- 'NODE',
72
- IterativeSplitTestConfig::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/LifeEvent.php CHANGED
@@ -110,29 +110,6 @@ class LifeEvent extends AbstractCrudObject {
110
  return $pending ? $request : $request->execute();
111
  }
112
 
113
- public function getPhotos(array $fields = array(), array $params = array(), $pending = false) {
114
- $this->assureId();
115
-
116
- $param_types = array(
117
- );
118
- $enums = array(
119
- );
120
-
121
- $request = new ApiRequest(
122
- $this->api,
123
- $this->data['id'],
124
- RequestInterface::METHOD_GET,
125
- '/photos',
126
- new Photo(),
127
- 'EDGE',
128
- Photo::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 getSelf(array $fields = array(), array $params = array(), $pending = false) {
137
  $this->assureId();
138
 
110
  return $pending ? $request : $request->execute();
111
  }
112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
114
  $this->assureId();
115
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Link.php CHANGED
@@ -30,7 +30,6 @@ use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\LinkFields;
32
  use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
33
- use FacebookAds\Object\Values\ProfileTypeValues;
34
 
35
  /**
36
  * This class is auto-generated.
@@ -116,31 +115,6 @@ class Link extends AbstractCrudObject {
116
  return $pending ? $request : $request->execute();
117
  }
118
 
119
- public function getReactions(array $fields = array(), array $params = array(), $pending = false) {
120
- $this->assureId();
121
-
122
- $param_types = array(
123
- 'type' => 'type_enum',
124
- );
125
- $enums = array(
126
- 'type_enum' => ProfileTypeValues::getInstance()->getValues(),
127
- );
128
-
129
- $request = new ApiRequest(
130
- $this->api,
131
- $this->data['id'],
132
- RequestInterface::METHOD_GET,
133
- '/reactions',
134
- new Profile(),
135
- 'EDGE',
136
- Profile::getFieldsEnum()->getValues(),
137
- new TypeChecker($param_types, $enums)
138
- );
139
- $request->addParams($params);
140
- $request->addFields($fields);
141
- return $pending ? $request : $request->execute();
142
- }
143
-
144
  public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
145
  $this->assureId();
146
 
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\LinkFields;
32
  use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
 
33
 
34
  /**
35
  * This class is auto-generated.
115
  return $pending ? $request : $request->execute();
116
  }
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
119
  $this->assureId();
120
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php CHANGED
@@ -220,29 +220,6 @@ class LiveVideo extends AbstractCrudObject {
220
  return $pending ? $request : $request->execute();
221
  }
222
 
223
- public function getLikes(array $fields = array(), array $params = array(), $pending = false) {
224
- $this->assureId();
225
-
226
- $param_types = array(
227
- );
228
- $enums = array(
229
- );
230
-
231
- $request = new ApiRequest(
232
- $this->api,
233
- $this->data['id'],
234
- RequestInterface::METHOD_GET,
235
- '/likes',
236
- new Profile(),
237
- 'EDGE',
238
- Profile::getFieldsEnum()->getValues(),
239
- new TypeChecker($param_types, $enums)
240
- );
241
- $request->addParams($params);
242
- $request->addFields($fields);
243
- return $pending ? $request : $request->execute();
244
- }
245
-
246
  public function getPolls(array $fields = array(), array $params = array(), $pending = false) {
247
  $this->assureId();
248
 
220
  return $pending ? $request : $request->execute();
221
  }
222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  public function getPolls(array $fields = array(), array $params = array(), $pending = false) {
224
  $this->assureId();
225
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/MediaFingerprint.php CHANGED
@@ -102,4 +102,31 @@ class MediaFingerprint extends AbstractCrudObject {
102
  return $pending ? $request : $request->execute();
103
  }
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  }
102
  return $pending ? $request : $request->execute();
103
  }
104
 
105
+ public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
106
+ $this->assureId();
107
+
108
+ $param_types = array(
109
+ 'metadata' => 'list',
110
+ 'source' => 'file',
111
+ 'title' => 'string',
112
+ 'universal_content_id' => 'string',
113
+ );
114
+ $enums = array(
115
+ );
116
+
117
+ $request = new ApiRequest(
118
+ $this->api,
119
+ $this->data['id'],
120
+ RequestInterface::METHOD_POST,
121
+ '/',
122
+ new MediaFingerprint(),
123
+ 'NODE',
124
+ MediaFingerprint::getFieldsEnum()->getValues(),
125
+ new TypeChecker($param_types, $enums)
126
+ );
127
+ $request->addParams($params);
128
+ $request->addFields($fields);
129
+ return $pending ? $request : $request->execute();
130
+ }
131
+
132
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/MessengerPlatformReferral.php DELETED
@@ -1,80 +0,0 @@
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\MessengerPlatformReferralFields;
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 MessengerPlatformReferral extends AbstractCrudObject {
43
-
44
- /**
45
- * @return MessengerPlatformReferralFields
46
- */
47
- public static function getFieldsEnum() {
48
- return MessengerPlatformReferralFields::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 MessengerPlatformReferral(),
71
- 'NODE',
72
- MessengerPlatformReferral::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/NativeOfferView.php CHANGED
@@ -54,29 +54,6 @@ class NativeOfferView extends AbstractCrudObject {
54
  }
55
 
56
 
57
- public function getPhotos(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
- '/photos',
70
- new Photo(),
71
- 'EDGE',
72
- Photo::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
  public function createPhoto(array $fields = array(), array $params = array(), $pending = false) {
81
  $this->assureId();
82
 
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  public function createPhoto(array $fields = array(), array $params = array(), $pending = false) {
58
  $this->assureId();
59
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/OracleTransaction.php CHANGED
@@ -79,30 +79,6 @@ class OracleTransaction extends AbstractCrudObject {
79
  return $pending ? $request : $request->execute();
80
  }
81
 
82
- public function getData(array $fields = array(), array $params = array(), $pending = false) {
83
- $this->assureId();
84
-
85
- $param_types = array(
86
- 'redirect' => 'bool',
87
- );
88
- $enums = array(
89
- );
90
-
91
- $request = new ApiRequest(
92
- $this->api,
93
- $this->data['id'],
94
- RequestInterface::METHOD_GET,
95
- '/data',
96
- new AtlasURL(),
97
- 'EDGE',
98
- AtlasURL::getFieldsEnum()->getValues(),
99
- new TypeChecker($param_types, $enums)
100
- );
101
- $request->addParams($params);
102
- $request->addFields($fields);
103
- return $pending ? $request : $request->execute();
104
- }
105
-
106
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
107
  $this->assureId();
108
 
79
  return $pending ? $request : $request->execute();
80
  }
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
83
  $this->assureId();
84
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php CHANGED
@@ -60,30 +60,28 @@ use FacebookAds\Object\Values\NativeOfferLocationTypeValues;
60
  use FacebookAds\Object\Values\PageAttireValues;
61
  use FacebookAds\Object\Values\PageBackdatedTimeGranularityValues;
62
  use FacebookAds\Object\Values\PageCheckinEntryPointValues;
63
- use FacebookAds\Object\Values\PageDomainActionTypeValues;
64
  use FacebookAds\Object\Values\PageFoodStylesValues;
65
  use FacebookAds\Object\Values\PageFormattingValues;
66
  use FacebookAds\Object\Values\PageMessagingTypeValues;
67
  use FacebookAds\Object\Values\PageModelValues;
68
  use FacebookAds\Object\Values\PageNotificationTypeValues;
69
- use FacebookAds\Object\Values\PagePaymentDevModeActionValues;
70
  use FacebookAds\Object\Values\PagePermittedTasksValues;
 
71
  use FacebookAds\Object\Values\PagePlaceAttachmentSettingValues;
72
  use FacebookAds\Object\Values\PagePostSurfacesBlacklistValues;
73
  use FacebookAds\Object\Values\PagePostWithValues;
74
  use FacebookAds\Object\Values\PagePostingToRedspaceValues;
75
  use FacebookAds\Object\Values\PagePublishStatusValues;
76
  use FacebookAds\Object\Values\PageSenderActionValues;
77
- use FacebookAds\Object\Values\PageSettingTypeValues;
78
  use FacebookAds\Object\Values\PageSubscribedFieldsValues;
79
  use FacebookAds\Object\Values\PageTargetSurfaceValues;
80
  use FacebookAds\Object\Values\PageTasksValues;
81
  use FacebookAds\Object\Values\PageTemporaryStatusValues;
82
- use FacebookAds\Object\Values\PageThreadStateValues;
83
  use FacebookAds\Object\Values\PageUnpublishedContentTypeValues;
84
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
85
  use FacebookAds\Object\Values\PhotoTypeValues;
86
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
 
87
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
88
  use FacebookAds\Object\Values\VideoCopyrightContentCategoryValues;
89
  use FacebookAds\Object\Values\VideoCopyrightMonitoringTypeValues;
@@ -118,6 +116,7 @@ class Page extends AbstractCrudObject {
118
  $ref_enums = array();
119
  $ref_enums['Attire'] = PageAttireValues::getInstance()->getValues();
120
  $ref_enums['FoodStyles'] = PageFoodStylesValues::getInstance()->getValues();
 
121
  $ref_enums['TemporaryStatus'] = PageTemporaryStatusValues::getInstance()->getValues();
122
  $ref_enums['PermittedTasks'] = PagePermittedTasksValues::getInstance()->getValues();
123
  $ref_enums['Tasks'] = PageTasksValues::getInstance()->getValues();
@@ -135,10 +134,6 @@ class Page extends AbstractCrudObject {
135
  $ref_enums['SenderAction'] = PageSenderActionValues::getInstance()->getValues();
136
  $ref_enums['Model'] = PageModelValues::getInstance()->getValues();
137
  $ref_enums['SubscribedFields'] = PageSubscribedFieldsValues::getInstance()->getValues();
138
- $ref_enums['DomainActionType'] = PageDomainActionTypeValues::getInstance()->getValues();
139
- $ref_enums['PaymentDevModeAction'] = PagePaymentDevModeActionValues::getInstance()->getValues();
140
- $ref_enums['SettingType'] = PageSettingTypeValues::getInstance()->getValues();
141
- $ref_enums['ThreadState'] = PageThreadStateValues::getInstance()->getValues();
142
  return $ref_enums;
143
  }
144
 
@@ -1591,7 +1586,6 @@ class Page extends AbstractCrudObject {
1591
  'privacy' => 'string',
1592
  'projection' => 'projection_enum',
1593
  'published' => 'bool',
1594
- 'save_vod' => 'bool',
1595
  'schedule_custom_profile_image' => 'file',
1596
  'spatial_audio_format' => 'spatial_audio_format_enum',
1597
  'status' => 'status_enum',
@@ -1687,6 +1681,7 @@ class Page extends AbstractCrudObject {
1687
  'page_username' => 'string',
1688
  'permanently_closed' => 'bool',
1689
  'phone' => 'string',
 
1690
  'place_topics' => 'list<string>',
1691
  'price_range' => 'string',
1692
  'store_code' => 'string',
@@ -1697,6 +1692,7 @@ class Page extends AbstractCrudObject {
1697
  'website' => 'string',
1698
  );
1699
  $enums = array(
 
1700
  'temporary_status_enum' => PageTemporaryStatusValues::getInstance()->getValues(),
1701
  );
1702
 
@@ -2033,6 +2029,7 @@ class Page extends AbstractCrudObject {
2033
  $this->assureId();
2034
 
2035
  $param_types = array(
 
2036
  'custom_token' => 'string',
2037
  'model' => 'model_enum',
2038
  'n_best' => 'unsigned int',
@@ -2059,34 +2056,6 @@ class Page extends AbstractCrudObject {
2059
  return $pending ? $request : $request->execute();
2060
  }
2061
 
2062
- public function createPageAboutStory(array $fields = array(), array $params = array(), $pending = false) {
2063
- $this->assureId();
2064
-
2065
- $param_types = array(
2066
- 'composed_text' => 'list<map>',
2067
- 'cover_photo' => 'map',
2068
- 'entity_map' => 'list<map>',
2069
- 'is_published' => 'bool',
2070
- 'title' => 'string',
2071
- );
2072
- $enums = array(
2073
- );
2074
-
2075
- $request = new ApiRequest(
2076
- $this->api,
2077
- $this->data['id'],
2078
- RequestInterface::METHOD_POST,
2079
- '/page_about_story',
2080
- new Page(),
2081
- 'EDGE',
2082
- Page::getFieldsEnum()->getValues(),
2083
- new TypeChecker($param_types, $enums)
2084
- );
2085
- $request->addParams($params);
2086
- $request->addFields($fields);
2087
- return $pending ? $request : $request->execute();
2088
- }
2089
-
2090
  public function getPageBackedInstagramAccounts(array $fields = array(), array $params = array(), $pending = false) {
2091
  $this->assureId();
2092
 
@@ -2281,7 +2250,6 @@ class Page extends AbstractCrudObject {
2281
  'initial_view_heading_override_degrees' => 'unsigned int',
2282
  'initial_view_pitch_override_degrees' => 'unsigned int',
2283
  'initial_view_vertical_fov_override_degrees' => 'unsigned int',
2284
- 'instagram_product_tags' => 'list<map>',
2285
  'ios_bundle_id' => 'string',
2286
  'is_explicit_location' => 'bool',
2287
  'is_explicit_place' => 'bool',
@@ -2345,12 +2313,14 @@ class Page extends AbstractCrudObject {
2345
  $this->assureId();
2346
 
2347
  $param_types = array(
 
2348
  'height' => 'int',
2349
  'redirect' => 'bool',
2350
  'type' => 'type_enum',
2351
  'width' => 'int',
2352
  );
2353
  $enums = array(
 
2354
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
2355
  );
2356
 
@@ -2416,29 +2386,6 @@ class Page extends AbstractCrudObject {
2416
  return $pending ? $request : $request->execute();
2417
  }
2418
 
2419
- public function getPlaceTopics(array $fields = array(), array $params = array(), $pending = false) {
2420
- $this->assureId();
2421
-
2422
- $param_types = array(
2423
- );
2424
- $enums = array(
2425
- );
2426
-
2427
- $request = new ApiRequest(
2428
- $this->api,
2429
- $this->data['id'],
2430
- RequestInterface::METHOD_GET,
2431
- '/place_topics',
2432
- new PlaceTopic(),
2433
- 'EDGE',
2434
- PlaceTopic::getFieldsEnum()->getValues(),
2435
- new TypeChecker($param_types, $enums)
2436
- );
2437
- $request->addParams($params);
2438
- $request->addFields($fields);
2439
- return $pending ? $request : $request->execute();
2440
- }
2441
-
2442
  public function getPosts(array $fields = array(), array $params = array(), $pending = false) {
2443
  $this->assureId();
2444
 
@@ -2799,30 +2746,6 @@ class Page extends AbstractCrudObject {
2799
  return $pending ? $request : $request->execute();
2800
  }
2801
 
2802
- public function deleteTabs(array $fields = array(), array $params = array(), $pending = false) {
2803
- $this->assureId();
2804
-
2805
- $param_types = array(
2806
- 'tab' => 'string',
2807
- );
2808
- $enums = array(
2809
- );
2810
-
2811
- $request = new ApiRequest(
2812
- $this->api,
2813
- $this->data['id'],
2814
- RequestInterface::METHOD_DELETE,
2815
- '/tabs',
2816
- new AbstractCrudObject(),
2817
- 'EDGE',
2818
- array(),
2819
- new TypeChecker($param_types, $enums)
2820
- );
2821
- $request->addParams($params);
2822
- $request->addFields($fields);
2823
- return $pending ? $request : $request->execute();
2824
- }
2825
-
2826
  public function getTabs(array $fields = array(), array $params = array(), $pending = false) {
2827
  $this->assureId();
2828
 
@@ -2948,71 +2871,6 @@ class Page extends AbstractCrudObject {
2948
  return $pending ? $request : $request->execute();
2949
  }
2950
 
2951
- public function deleteThreadSettings(array $fields = array(), array $params = array(), $pending = false) {
2952
- $this->assureId();
2953
-
2954
- $param_types = array(
2955
- 'setting_type' => 'setting_type_enum',
2956
- 'thread_state' => 'thread_state_enum',
2957
- );
2958
- $enums = array(
2959
- 'setting_type_enum' => PageSettingTypeValues::getInstance()->getValues(),
2960
- 'thread_state_enum' => PageThreadStateValues::getInstance()->getValues(),
2961
- );
2962
-
2963
- $request = new ApiRequest(
2964
- $this->api,
2965
- $this->data['id'],
2966
- RequestInterface::METHOD_DELETE,
2967
- '/thread_settings',
2968
- new AbstractCrudObject(),
2969
- 'EDGE',
2970
- array(),
2971
- new TypeChecker($param_types, $enums)
2972
- );
2973
- $request->addParams($params);
2974
- $request->addFields($fields);
2975
- return $pending ? $request : $request->execute();
2976
- }
2977
-
2978
- public function createThreadSetting(array $fields = array(), array $params = array(), $pending = false) {
2979
- $this->assureId();
2980
-
2981
- $param_types = array(
2982
- 'account_linking_url' => 'string',
2983
- 'call_to_actions' => 'list<Object>',
2984
- 'domain_action_type' => 'domain_action_type_enum',
2985
- 'greeting' => 'Object',
2986
- 'payment_dev_mode_action' => 'payment_dev_mode_action_enum',
2987
- 'payment_privacy_url' => 'string',
2988
- 'payment_public_key' => 'string',
2989
- 'payment_testers' => 'list<string>',
2990
- 'setting_type' => 'setting_type_enum',
2991
- 'thread_state' => 'thread_state_enum',
2992
- 'whitelisted_domains' => 'list<string>',
2993
- );
2994
- $enums = array(
2995
- 'domain_action_type_enum' => PageDomainActionTypeValues::getInstance()->getValues(),
2996
- 'payment_dev_mode_action_enum' => PagePaymentDevModeActionValues::getInstance()->getValues(),
2997
- 'setting_type_enum' => PageSettingTypeValues::getInstance()->getValues(),
2998
- 'thread_state_enum' => PageThreadStateValues::getInstance()->getValues(),
2999
- );
3000
-
3001
- $request = new ApiRequest(
3002
- $this->api,
3003
- $this->data['id'],
3004
- RequestInterface::METHOD_POST,
3005
- '/thread_settings',
3006
- new Page(),
3007
- 'EDGE',
3008
- Page::getFieldsEnum()->getValues(),
3009
- new TypeChecker($param_types, $enums)
3010
- );
3011
- $request->addParams($params);
3012
- $request->addFields($fields);
3013
- return $pending ? $request : $request->execute();
3014
- }
3015
-
3016
  public function getThreads(array $fields = array(), array $params = array(), $pending = false) {
3017
  $this->assureId();
3018
 
@@ -3221,6 +3079,7 @@ class Page extends AbstractCrudObject {
3221
  'container_type' => 'container_type_enum',
3222
  'content_category' => 'content_category_enum',
3223
  'content_tags' => 'list<string>',
 
3224
  'crossposted_video_id' => 'string',
3225
  'custom_labels' => 'list<string>',
3226
  'description' => 'string',
@@ -3293,6 +3152,7 @@ class Page extends AbstractCrudObject {
3293
  'upload_setting_properties' => 'string',
3294
  'video_asset_id' => 'string',
3295
  'video_file_chunk' => 'string',
 
3296
  'video_start_time_ms' => 'unsigned int',
3297
  'waterfall_id' => 'string',
3298
  );
@@ -3414,6 +3274,7 @@ class Page extends AbstractCrudObject {
3414
  'parking' => 'map',
3415
  'payment_options' => 'map',
3416
  'phone' => 'string',
 
3417
  'plot_outline' => 'string',
3418
  'price_range' => 'string',
3419
  'public_transit' => 'string',
@@ -3432,6 +3293,7 @@ class Page extends AbstractCrudObject {
3432
  $enums = array(
3433
  'attire_enum' => PageAttireValues::getInstance()->getValues(),
3434
  'food_styles_enum' => PageFoodStylesValues::getInstance()->getValues(),
 
3435
  'temporary_status_enum' => PageTemporaryStatusValues::getInstance()->getValues(),
3436
  );
3437
 
60
  use FacebookAds\Object\Values\PageAttireValues;
61
  use FacebookAds\Object\Values\PageBackdatedTimeGranularityValues;
62
  use FacebookAds\Object\Values\PageCheckinEntryPointValues;
 
63
  use FacebookAds\Object\Values\PageFoodStylesValues;
64
  use FacebookAds\Object\Values\PageFormattingValues;
65
  use FacebookAds\Object\Values\PageMessagingTypeValues;
66
  use FacebookAds\Object\Values\PageModelValues;
67
  use FacebookAds\Object\Values\PageNotificationTypeValues;
 
68
  use FacebookAds\Object\Values\PagePermittedTasksValues;
69
+ use FacebookAds\Object\Values\PagePickupOptionsValues;
70
  use FacebookAds\Object\Values\PagePlaceAttachmentSettingValues;
71
  use FacebookAds\Object\Values\PagePostSurfacesBlacklistValues;
72
  use FacebookAds\Object\Values\PagePostWithValues;
73
  use FacebookAds\Object\Values\PagePostingToRedspaceValues;
74
  use FacebookAds\Object\Values\PagePublishStatusValues;
75
  use FacebookAds\Object\Values\PageSenderActionValues;
 
76
  use FacebookAds\Object\Values\PageSubscribedFieldsValues;
77
  use FacebookAds\Object\Values\PageTargetSurfaceValues;
78
  use FacebookAds\Object\Values\PageTasksValues;
79
  use FacebookAds\Object\Values\PageTemporaryStatusValues;
 
80
  use FacebookAds\Object\Values\PageUnpublishedContentTypeValues;
81
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
82
  use FacebookAds\Object\Values\PhotoTypeValues;
83
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
84
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
85
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
86
  use FacebookAds\Object\Values\VideoCopyrightContentCategoryValues;
87
  use FacebookAds\Object\Values\VideoCopyrightMonitoringTypeValues;
116
  $ref_enums = array();
117
  $ref_enums['Attire'] = PageAttireValues::getInstance()->getValues();
118
  $ref_enums['FoodStyles'] = PageFoodStylesValues::getInstance()->getValues();
119
+ $ref_enums['PickupOptions'] = PagePickupOptionsValues::getInstance()->getValues();
120
  $ref_enums['TemporaryStatus'] = PageTemporaryStatusValues::getInstance()->getValues();
121
  $ref_enums['PermittedTasks'] = PagePermittedTasksValues::getInstance()->getValues();
122
  $ref_enums['Tasks'] = PageTasksValues::getInstance()->getValues();
134
  $ref_enums['SenderAction'] = PageSenderActionValues::getInstance()->getValues();
135
  $ref_enums['Model'] = PageModelValues::getInstance()->getValues();
136
  $ref_enums['SubscribedFields'] = PageSubscribedFieldsValues::getInstance()->getValues();
 
 
 
 
137
  return $ref_enums;
138
  }
139
 
1586
  'privacy' => 'string',
1587
  'projection' => 'projection_enum',
1588
  'published' => 'bool',
 
1589
  'schedule_custom_profile_image' => 'file',
1590
  'spatial_audio_format' => 'spatial_audio_format_enum',
1591
  'status' => 'status_enum',
1681
  'page_username' => 'string',
1682
  'permanently_closed' => 'bool',
1683
  'phone' => 'string',
1684
+ 'pickup_options' => 'list<pickup_options_enum>',
1685
  'place_topics' => 'list<string>',
1686
  'price_range' => 'string',
1687
  'store_code' => 'string',
1692
  'website' => 'string',
1693
  );
1694
  $enums = array(
1695
+ 'pickup_options_enum' => PagePickupOptionsValues::getInstance()->getValues(),
1696
  'temporary_status_enum' => PageTemporaryStatusValues::getInstance()->getValues(),
1697
  );
1698
 
2029
  $this->assureId();
2030
 
2031
  $param_types = array(
2032
+ 'api_version' => 'Object',
2033
  'custom_token' => 'string',
2034
  'model' => 'model_enum',
2035
  'n_best' => 'unsigned int',
2056
  return $pending ? $request : $request->execute();
2057
  }
2058
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2059
  public function getPageBackedInstagramAccounts(array $fields = array(), array $params = array(), $pending = false) {
2060
  $this->assureId();
2061
 
2250
  'initial_view_heading_override_degrees' => 'unsigned int',
2251
  'initial_view_pitch_override_degrees' => 'unsigned int',
2252
  'initial_view_vertical_fov_override_degrees' => 'unsigned int',
 
2253
  'ios_bundle_id' => 'string',
2254
  'is_explicit_location' => 'bool',
2255
  'is_explicit_place' => 'bool',
2313
  $this->assureId();
2314
 
2315
  $param_types = array(
2316
+ 'breaking_change' => 'breaking_change_enum',
2317
  'height' => 'int',
2318
  'redirect' => 'bool',
2319
  'type' => 'type_enum',
2320
  'width' => 'int',
2321
  );
2322
  $enums = array(
2323
+ 'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
2324
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
2325
  );
2326
 
2386
  return $pending ? $request : $request->execute();
2387
  }
2388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2389
  public function getPosts(array $fields = array(), array $params = array(), $pending = false) {
2390
  $this->assureId();
2391
 
2746
  return $pending ? $request : $request->execute();
2747
  }
2748
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2749
  public function getTabs(array $fields = array(), array $params = array(), $pending = false) {
2750
  $this->assureId();
2751
 
2871
  return $pending ? $request : $request->execute();
2872
  }
2873
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2874
  public function getThreads(array $fields = array(), array $params = array(), $pending = false) {
2875
  $this->assureId();
2876
 
3079
  'container_type' => 'container_type_enum',
3080
  'content_category' => 'content_category_enum',
3081
  'content_tags' => 'list<string>',
3082
+ 'creative_tools' => 'string',
3083
  'crossposted_video_id' => 'string',
3084
  'custom_labels' => 'list<string>',
3085
  'description' => 'string',
3152
  'upload_setting_properties' => 'string',
3153
  'video_asset_id' => 'string',
3154
  'video_file_chunk' => 'string',
3155
+ 'video_id_original' => 'string',
3156
  'video_start_time_ms' => 'unsigned int',
3157
  'waterfall_id' => 'string',
3158
  );
3274
  'parking' => 'map',
3275
  'payment_options' => 'map',
3276
  'phone' => 'string',
3277
+ 'pickup_options' => 'list<pickup_options_enum>',
3278
  'plot_outline' => 'string',
3279
  'price_range' => 'string',
3280
  'public_transit' => 'string',
3293
  $enums = array(
3294
  'attire_enum' => PageAttireValues::getInstance()->getValues(),
3295
  'food_styles_enum' => PageFoodStylesValues::getInstance()->getValues(),
3296
+ 'pickup_options_enum' => PagePickupOptionsValues::getInstance()->getValues(),
3297
  'temporary_status_enum' => PageTemporaryStatusValues::getInstance()->getValues(),
3298
  );
3299
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageAboutStory.php DELETED
@@ -1,131 +0,0 @@
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\PageAboutStoryFields;
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 PageAboutStory extends AbstractCrudObject {
43
-
44
- /**
45
- * @return PageAboutStoryFields
46
- */
47
- public static function getFieldsEnum() {
48
- return PageAboutStoryFields::getInstance();
49
- }
50
-
51
- protected static function getReferencedEnums() {
52
- $ref_enums = array();
53
- return $ref_enums;
54
- }
55
-
56
-
57
- public function deleteSelf(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_DELETE,
69
- '/',
70
- new AbstractCrudObject(),
71
- 'NODE',
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
-
83
- $param_types = array(
84
- );
85
- $enums = array(
86
- );
87
-
88
- $request = new ApiRequest(
89
- $this->api,
90
- $this->data['id'],
91
- RequestInterface::METHOD_GET,
92
- '/',
93
- new PageAboutStory(),
94
- 'NODE',
95
- PageAboutStory::getFieldsEnum()->getValues(),
96
- new TypeChecker($param_types, $enums)
97
- );
98
- $request->addParams($params);
99
- $request->addFields($fields);
100
- return $pending ? $request : $request->execute();
101
- }
102
-
103
- public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
104
- $this->assureId();
105
-
106
- $param_types = array(
107
- 'composed_text' => 'list<map>',
108
- 'cover_photo' => 'map',
109
- 'entity_map' => 'list<map>',
110
- 'is_published' => 'bool',
111
- 'title' => 'string',
112
- );
113
- $enums = array(
114
- );
115
-
116
- $request = new ApiRequest(
117
- $this->api,
118
- $this->data['id'],
119
- RequestInterface::METHOD_POST,
120
- '/',
121
- new PageAboutStory(),
122
- 'NODE',
123
- PageAboutStory::getFieldsEnum()->getValues(),
124
- new TypeChecker($param_types, $enums)
125
- );
126
- $request->addParams($params);
127
- $request->addFields($fields);
128
- return $pending ? $request : $request->execute();
129
- }
130
-
131
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageChangeProposal.php CHANGED
@@ -54,51 +54,4 @@ class PageChangeProposal extends AbstractCrudObject {
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 PageChangeProposal(),
71
- 'NODE',
72
- PageChangeProposal::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
- public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
81
- $this->assureId();
82
-
83
- $param_types = array(
84
- 'accept' => 'bool',
85
- );
86
- $enums = array(
87
- );
88
-
89
- $request = new ApiRequest(
90
- $this->api,
91
- $this->data['id'],
92
- RequestInterface::METHOD_POST,
93
- '/',
94
- new PageChangeProposal(),
95
- 'NODE',
96
- PageChangeProposal::getFieldsEnum()->getValues(),
97
- new TypeChecker($param_types, $enums)
98
- );
99
- $request->addParams($params);
100
- $request->addFields($fields);
101
- return $pending ? $request : $request->execute();
102
- }
103
-
104
  }
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{SplitTestConfig.php → PaymentSubscription.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\SplitTestConfigFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\SplitTestConfigFields;
39
  *
40
  */
41
 
42
- class SplitTestConfig extends AbstractCrudObject {
43
 
44
  /**
45
- * @return SplitTestConfigFields
46
  */
47
  public static function getFieldsEnum() {
48
- return SplitTestConfigFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
@@ -67,9 +67,9 @@ class SplitTestConfig extends AbstractCrudObject {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
- new SplitTestConfig(),
71
  'NODE',
72
- SplitTestConfig::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\PaymentSubscriptionFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class PaymentSubscription extends AbstractCrudObject {
43
 
44
  /**
45
+ * @return PaymentSubscriptionFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return PaymentSubscriptionFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
+ new PaymentSubscription(),
71
  'NODE',
72
+ PaymentSubscription::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php CHANGED
@@ -345,6 +345,7 @@ class Post extends AbstractCrudObject {
345
  'SAY_THANKS',
346
  'SEE_MORE',
347
  'SELL_NOW',
 
348
  'SHARE',
349
  'SHOP_NOW',
350
  'SIGN_UP',
345
  'SAY_THANKS',
346
  'SEE_MORE',
347
  'SELL_NOW',
348
+ 'SEND_A_GIFT',
349
  'SHARE',
350
  'SHOP_NOW',
351
  'SIGN_UP',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php CHANGED
@@ -963,6 +963,7 @@ class ProductCatalog extends AbstractCrudObject {
963
 
964
  $param_types = array(
965
  'filter' => 'Object',
 
966
  'name' => 'string',
967
  );
968
  $enums = array(
@@ -1261,8 +1262,15 @@ class ProductCatalog extends AbstractCrudObject {
1261
  $this->assureId();
1262
 
1263
  $param_types = array(
 
1264
  );
1265
  $enums = array(
 
 
 
 
 
 
1266
  );
1267
 
1268
  $request = new ApiRequest(
963
 
964
  $param_types = array(
965
  'filter' => 'Object',
966
+ 'metadata' => 'map',
967
  'name' => 'string',
968
  );
969
  $enums = array(
1262
  $this->assureId();
1263
 
1264
  $param_types = array(
1265
+ 'segment_use_cases' => 'list<segment_use_cases_enum>',
1266
  );
1267
  $enums = array(
1268
+ 'segment_use_cases_enum' => array(
1269
+ 'COLLAB_ADS',
1270
+ 'COLLAB_ADS_FOR_MARKETPLACE_PARTNER',
1271
+ 'IG_SHOPPING',
1272
+ 'TEST',
1273
+ ),
1274
  );
1275
 
1276
  $request = new ApiRequest(
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php CHANGED
@@ -312,6 +312,7 @@ class ProductSet extends AbstractCrudObject {
312
 
313
  $param_types = array(
314
  'filter' => 'Object',
 
315
  'name' => 'string',
316
  );
317
  $enums = array(
312
 
313
  $param_types = array(
314
  'filter' => 'Object',
315
+ 'metadata' => 'map',
316
  'name' => 'string',
317
  );
318
  $enums = array(
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{UserInfluence.php → ProductSetMetadata.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\UserInfluenceFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\UserInfluenceFields;
39
  *
40
  */
41
 
42
- class UserInfluence extends AbstractObject {
43
 
44
  /**
45
- * @return UserInfluenceFields
46
  */
47
  public static function getFieldsEnum() {
48
- return UserInfluenceFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\ProductSetMetadataFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class ProductSetMetadata extends AbstractObject {
43
 
44
  /**
45
+ * @return ProductSetMetadataFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return ProductSetMetadataFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Profile.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProfileFields;
 
32
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
33
  use FacebookAds\Object\Values\ProfileProfileTypeValues;
34
  use FacebookAds\Object\Values\ProfileTypeValues;
@@ -63,12 +64,14 @@ class Profile extends AbstractCrudObject {
63
  $this->assureId();
64
 
65
  $param_types = array(
 
66
  'height' => 'int',
67
  'redirect' => 'bool',
68
  'type' => 'type_enum',
69
  'width' => 'int',
70
  );
71
  $enums = array(
 
72
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
73
  );
74
 
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProfileFields;
32
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
33
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
34
  use FacebookAds\Object\Values\ProfileProfileTypeValues;
35
  use FacebookAds\Object\Values\ProfileTypeValues;
64
  $this->assureId();
65
 
66
  $param_types = array(
67
+ 'breaking_change' => 'breaking_change_enum',
68
  'height' => 'int',
69
  'redirect' => 'bool',
70
  'type' => 'type_enum',
71
  'width' => 'int',
72
  );
73
  $enums = array(
74
+ 'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
75
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
76
  );
77
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProfilePictureSource.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProfilePictureSourceFields;
 
32
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
33
 
34
  /**
@@ -52,6 +53,7 @@ class ProfilePictureSource extends AbstractObject {
52
  protected static function getReferencedEnums() {
53
  $ref_enums = array();
54
  $ref_enums['Type'] = ProfilePictureSourceTypeValues::getInstance()->getValues();
 
55
  return $ref_enums;
56
  }
57
 
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProfilePictureSourceFields;
32
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
33
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
34
 
35
  /**
53
  protected static function getReferencedEnums() {
54
  $ref_enums = array();
55
  $ref_enums['Type'] = ProfilePictureSourceTypeValues::getInstance()->getValues();
56
+ $ref_enums['BreakingChange'] = ProfilePictureSourceBreakingChangeValues::getInstance()->getValues();
57
  return $ref_enums;
58
  }
59
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/SavedAudience.php CHANGED
@@ -54,29 +54,6 @@ class SavedAudience extends AbstractCrudObject {
54
  }
55
 
56
 
57
- public function deleteSelf(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_DELETE,
69
- '/',
70
- new AbstractCrudObject(),
71
- 'NODE',
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
 
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
58
  $this->assureId();
59
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Content.php CHANGED
@@ -41,6 +41,10 @@ class Content implements ArrayAccess {
41
  $this->container['product_id'] = isset($data['product_id']) ? $data['product_id'] : null;;
42
  $this->container['quantity'] = isset($data['quantity']) ? $data['quantity'] : null;
43
  $this->container['item_price'] = isset($data['item_price']) ? $data['item_price'] : null;
 
 
 
 
44
  }
45
 
46
 
@@ -101,6 +105,82 @@ class Content implements ArrayAccess {
101
  return $this;
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  /**
105
  * Returns true if offset exists. False otherwise.
106
  * @param integer $offset Offset
@@ -163,6 +243,10 @@ class Content implements ArrayAccess {
163
  'id' => $this->container['product_id'],
164
  'quantity' => $this->container['quantity'],
165
  'item_price' => $this->container['item_price'],
 
 
 
 
166
  );
167
 
168
  $normalized_payload = array_filter($normalized_payload);
@@ -170,4 +254,4 @@ class Content implements ArrayAccess {
170
  return $normalized_payload;
171
  }
172
 
173
- }
41
  $this->container['product_id'] = isset($data['product_id']) ? $data['product_id'] : null;;
42
  $this->container['quantity'] = isset($data['quantity']) ? $data['quantity'] : null;
43
  $this->container['item_price'] = isset($data['item_price']) ? $data['item_price'] : null;
44
+ $this->container['title'] = isset($data['title']) ? $data['title'] : null;
45
+ $this->container['description'] = isset($data['description']) ? $data['description'] : null;
46
+ $this->container['brand'] = isset($data['brand']) ? $data['brand'] : null;
47
+ $this->container['category'] = isset($data['category']) ? $data['category'] : null;
48
  }
49
 
50
 
105
  return $this;
106
  }
107
 
108
+
109
+ /**
110
+ * Get title.
111
+ * @return string title
112
+ */
113
+ public function getTitle() {
114
+ return $this->container['title'];
115
+ }
116
+
117
+ /**
118
+ * Sets title.
119
+ * @param string $title title
120
+ * @return $this
121
+ */
122
+ public function setTitle($title) {
123
+ $this->container['title'] = $title;
124
+ return $this;
125
+ }
126
+
127
+
128
+ /**
129
+ * Get description.
130
+ * @return string description
131
+ */
132
+ public function getDescription() {
133
+ return $this->container['description'];
134
+ }
135
+
136
+ /**
137
+ * Sets description.
138
+ * @param string $description description
139
+ * @return $this
140
+ */
141
+ public function setDescription($description) {
142
+ $this->container['description'] = $description;
143
+ return $this;
144
+ }
145
+
146
+
147
+ /**
148
+ * Get brand.
149
+ * @return string brand
150
+ */
151
+ public function getBrand() {
152
+ return $this->container['brand'];
153
+ }
154
+
155
+ /**
156
+ * Sets brand.
157
+ * @param string $brand brand
158
+ * @return $this
159
+ */
160
+ public function setBrand($brand) {
161
+ $this->container['brand'] = $brand;
162
+ return $this;
163
+ }
164
+
165
+
166
+ /**
167
+ * Get category.
168
+ * @return string category
169
+ */
170
+ public function getCategory() {
171
+ return $this->container['category'];
172
+ }
173
+
174
+ /**
175
+ * Sets category.
176
+ * @param string $category category
177
+ * @return $this
178
+ */
179
+ public function setCategory($category) {
180
+ $this->container['category'] = $category;
181
+ return $this;
182
+ }
183
+
184
  /**
185
  * Returns true if offset exists. False otherwise.
186
  * @param integer $offset Offset
243
  'id' => $this->container['product_id'],
244
  'quantity' => $this->container['quantity'],
245
  'item_price' => $this->container['item_price'],
246
+ 'title' => $this->container['title'],
247
+ 'description' => $this->container['description'],
248
+ 'brand' => $this->container['brand'],
249
+ 'category' => $this->container['category'],
250
  );
251
 
252
  $normalized_payload = array_filter($normalized_payload);
254
  return $normalized_payload;
255
  }
256
 
257
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php CHANGED
@@ -25,6 +25,7 @@
25
  namespace FacebookAds\Object\ServerSide;
26
 
27
  use ArrayAccess;
 
28
 
29
 
30
  class CustomData implements ArrayAccess {
@@ -46,6 +47,8 @@ class CustomData implements ArrayAccess {
46
  'num_items' => 'string',
47
  'status' => 'string',
48
  'search_string' => 'string',
 
 
49
  'custom_properties' => 'array'
50
  );
51
  /**
@@ -65,6 +68,8 @@ class CustomData implements ArrayAccess {
65
  'num_items' => 'num_items',
66
  'status' => 'status',
67
  'search_string' => 'search_string',
 
 
68
  'custom_properties' => 'custom_properties'
69
  );
70
  /**
@@ -84,6 +89,8 @@ class CustomData implements ArrayAccess {
84
  'num_items' => 'setNumItems',
85
  'status' => 'setStatus',
86
  'search_string' => 'setSearchString',
 
 
87
  'custom_properties' => 'setCustomProperties'
88
  );
89
  /**
@@ -103,6 +110,8 @@ class CustomData implements ArrayAccess {
103
  'num_items' => 'getNumItems',
104
  'status' => 'getStatus',
105
  'search_string' => 'getSearchString',
 
 
106
  'custom_properties' => 'getCustomProperties'
107
  );
108
  /**
@@ -128,6 +137,8 @@ class CustomData implements ArrayAccess {
128
  $this->container['num_items'] = isset($data['num_items']) ? $data['num_items'] : null;
129
  $this->container['status'] = isset($data['status']) ? $data['status'] : null;
130
  $this->container['search_string'] = isset($data['search_string']) ? $data['search_string'] : null;
 
 
131
  $this->container['custom_properties'] = isset($data['custom_properties']) ? $data['custom_properties'] : null;
132
  }
133
 
@@ -310,6 +321,28 @@ class CustomData implements ArrayAccess {
310
  return $this;
311
  }
312
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  /**
314
  * Sets custom_properties that are not defined as the standard properties list in custom data.
315
  * @param array custom_properties dictionary to include custom properties that are not defined in custom data.
@@ -400,6 +433,9 @@ class CustomData implements ArrayAccess {
400
  $normalized_payload['num_items'] = $this->getNumItems();
401
  $normalized_payload['status'] = $this->getStatus();
402
  $normalized_payload['search_string'] = $this->getSearchString();
 
 
 
403
 
404
  if (isset($this->container['contents'])) {
405
  $contents = [];
@@ -524,6 +560,22 @@ class CustomData implements ArrayAccess {
524
  return $this->container['search_string'];
525
  }
526
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527
  /**
528
  * Gets Custom Properties dictionary to add properties that are not defined as part of the custom data.
529
  * @return array
25
  namespace FacebookAds\Object\ServerSide;
26
 
27
  use ArrayAccess;
28
+ use InvalidArgumentException;
29
 
30
 
31
  class CustomData implements ArrayAccess {
47
  'num_items' => 'string',
48
  'status' => 'string',
49
  'search_string' => 'string',
50
+ 'item_number' => 'string',
51
+ 'delivery_category' => 'string',
52
  'custom_properties' => 'array'
53
  );
54
  /**
68
  'num_items' => 'num_items',
69
  'status' => 'status',
70
  'search_string' => 'search_string',
71
+ 'item_number' => 'item_number',
72
+ 'delivery_category' => 'delivery_category',
73
  'custom_properties' => 'custom_properties'
74
  );
75
  /**
89
  'num_items' => 'setNumItems',
90
  'status' => 'setStatus',
91
  'search_string' => 'setSearchString',
92
+ 'item_number' => 'setItemNumber',
93
+ 'delivery_category' => 'setDeliveryCategory',
94
  'custom_properties' => 'setCustomProperties'
95
  );
96
  /**
110
  'num_items' => 'getNumItems',
111
  'status' => 'getStatus',
112
  'search_string' => 'getSearchString',
113
+ 'item_number' => 'getItemNumber',
114
+ 'delivery_category' => 'getDeliveryCategory',
115
  'custom_properties' => 'getCustomProperties'
116
  );
117
  /**
137
  $this->container['num_items'] = isset($data['num_items']) ? $data['num_items'] : null;
138
  $this->container['status'] = isset($data['status']) ? $data['status'] : null;
139
  $this->container['search_string'] = isset($data['search_string']) ? $data['search_string'] : null;
140
+ $this->container['item_number'] = isset($data['item_number']) ? $data['item_number'] : null;
141
+ $this->container['delivery_category'] = isset($data['delivery_category']) ? $data['delivery_category'] : null;
142
  $this->container['custom_properties'] = isset($data['custom_properties']) ? $data['custom_properties'] : null;
143
  }
144
 
321
  return $this;
322
  }
323
 
324
+ /**
325
+ * Sets Type of delivery for a purchase event.
326
+ * @param string $delivery_category Type of delivery for a purchase event.
327
+ * @return $this
328
+ */
329
+ public function setDeliveryCategory($delivery_category) {
330
+ $this->container['delivery_category'] = $delivery_category;
331
+
332
+ return $this;
333
+ }
334
+
335
+ /**
336
+ * Sets the item_number.
337
+ * @param string $item_number The item number.
338
+ * @return $this
339
+ */
340
+ public function setItemNumber($item_number) {
341
+ $this->container['item_number'] = $item_number;
342
+
343
+ return $this;
344
+ }
345
+
346
  /**
347
  * Sets custom_properties that are not defined as the standard properties list in custom data.
348
  * @param array custom_properties dictionary to include custom properties that are not defined in custom data.
433
  $normalized_payload['num_items'] = $this->getNumItems();
434
  $normalized_payload['status'] = $this->getStatus();
435
  $normalized_payload['search_string'] = $this->getSearchString();
436
+ $normalized_payload['item_number'] = $this->getItemNumber();
437
+ $normalized_payload['delivery_category'] =
438
+ Normalizer::normalize('delivery_category', $this->getDeliveryCategory());
439
 
440
  if (isset($this->container['contents'])) {
441
  $contents = [];
560
  return $this->container['search_string'];
561
  }
562
 
563
+ /**
564
+ * Gets a delivery_category for a purchase order.
565
+ * @return string
566
+ */
567
+ public function getDeliveryCategory() {
568
+ return $this->container['delivery_category'];
569
+ }
570
+
571
+ /**
572
+ * Gets the item number.
573
+ * @return string
574
+ */
575
+ public function getItemNumber() {
576
+ return $this->container['item_number'];
577
+ }
578
+
579
  /**
580
  * Gets Custom Properties dictionary to add properties that are not defined as part of the custom data.
581
  * @return array
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Fields/StreamingReactionFields.php → ServerSide/DeliveryCategory.php} RENAMED
@@ -22,28 +22,31 @@
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 StreamingReactionFields extends AbstractEnum {
 
 
 
39
 
40
- const COUNT = 'count';
41
- const REACTION_TYPE = 'reaction_type';
 
 
42
 
43
- public function getFieldTypes() {
44
- return array(
45
- 'count' => 'unsigned int',
46
- 'reaction_type' => 'ReactionType',
47
- );
48
- }
49
  }
22
  *
23
  */
24
 
25
+ namespace FacebookAds\Object\ServerSide;
26
 
27
  use FacebookAds\Enum\AbstractEnum;
28
 
29
  /**
30
+ * Class DeliveryCategory
31
  *
32
+ * Type of delivery for a purchase event.
 
 
33
  *
34
+ * @package FacebookAds\Object\ServerSide
35
  */
36
+ class DeliveryCategory extends AbstractEnum {
37
 
38
+ /**
39
+ * Customer needs to enter the store to get the purchased product.
40
+ */
41
+ const IN_STORE = 'in_store';
42
 
43
+ /**
44
+ * Customer picks up their order by driving to a store and waiting inside their vehicle.
45
+ */
46
+ const CURBSIDE = 'curbside';
47
 
48
+ /**
49
+ * Purchase is delivered to the customer's home.
50
+ */
51
+ const HOME_DELIVERY = 'home_delivery';
 
 
52
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php CHANGED
@@ -44,7 +44,10 @@ class Event implements ArrayAccess {
44
  'opt_out' => 'bool',
45
  'event_id' => 'string',
46
  'user_data' => 'FacebookAds\Object\ServerSide\UserData',
47
- 'custom_data' => 'FacebookAds\Object\ServerSide\CustomData'
 
 
 
48
  );
49
  /**
50
  * Array of attributes where the key is the local name, and the value is the original name
@@ -57,8 +60,12 @@ class Event implements ArrayAccess {
57
  'opt_out' => 'opt_out',
58
  'event_id' => 'event_id',
59
  'user_data' => 'user_data',
60
- 'custom_data' => 'custom_data'
 
 
 
61
  );
 
62
  /**
63
  * Array of attributes to setter functions (for deserialization of responses)
64
  * @var string[]
@@ -70,7 +77,10 @@ class Event implements ArrayAccess {
70
  'opt_out' => 'setOptOut',
71
  'event_id' => 'setEventId',
72
  'user_data' => 'setUserData',
73
- 'custom_data' => 'setCustomData'
 
 
 
74
  );
75
  /**
76
  * Array of attributes to getter functions (for serialization of requests)
@@ -83,7 +93,10 @@ class Event implements ArrayAccess {
83
  'opt_out' => 'getOptOut',
84
  'event_id' => 'getEventId',
85
  'user_data' => 'getUserData',
86
- 'custom_data' => 'getCustomData'
 
 
 
87
  );
88
  /**
89
  * Associative array for storing property values
@@ -103,6 +116,9 @@ class Event implements ArrayAccess {
103
  $this->container['event_id'] = isset($data['event_id']) ? $data['event_id'] : null;
104
  $this->container['user_data'] = isset($data['user_data']) ? $data['user_data'] : null;
105
  $this->container['custom_data'] = isset($data['custom_data']) ? $data['custom_data'] : null;
 
 
 
106
  }
107
 
108
  public static function paramTypes() {
@@ -242,6 +258,43 @@ class Event implements ArrayAccess {
242
  return $this;
243
  }
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  /**
246
  * Returns true if offset exists. False otherwise.
247
  * @param integer $offset Offset
@@ -299,7 +352,10 @@ class Event implements ArrayAccess {
299
  $normalized_payload['custom_data'] = isset($this->container['custom_data']) ? $this->getCustomData()
300
  ->normalize() : null;
301
 
302
- $normalized_payload = array_filter($normalized_payload);
 
 
 
303
 
304
  return $normalized_payload;
305
  }
@@ -363,7 +419,31 @@ class Event implements ArrayAccess {
363
  }
364
 
365
  /**
366
- * Gets the string presentation of the object
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  * @return string
368
  */
369
  public function __toString() {
44
  'opt_out' => 'bool',
45
  'event_id' => 'string',
46
  'user_data' => 'FacebookAds\Object\ServerSide\UserData',
47
+ 'custom_data' => 'FacebookAds\Object\ServerSide\CustomData',
48
+ 'data_processing_options' => 'string[]',
49
+ 'data_processing_options_country' => 'int',
50
+ 'data_processing_options_state' => 'int',
51
  );
52
  /**
53
  * Array of attributes where the key is the local name, and the value is the original name
60
  'opt_out' => 'opt_out',
61
  'event_id' => 'event_id',
62
  'user_data' => 'user_data',
63
+ 'custom_data' => 'custom_data',
64
+ 'data_processing_options' => 'data_processing_options',
65
+ 'data_processing_options_country' => 'data_processing_options_country',
66
+ 'data_processing_options_state' => 'data_processing_options_state'
67
  );
68
+
69
  /**
70
  * Array of attributes to setter functions (for deserialization of responses)
71
  * @var string[]
77
  'opt_out' => 'setOptOut',
78
  'event_id' => 'setEventId',
79
  'user_data' => 'setUserData',
80
+ 'custom_data' => 'setCustomData',
81
+ 'data_processing_options' => 'setDataProcessingOptions',
82
+ 'data_processing_options_country' => 'setDataProcessingOptionsCountry',
83
+ 'data_processing_options_state' => 'setDataProcessingOptionsState',
84
  );
85
  /**
86
  * Array of attributes to getter functions (for serialization of requests)
93
  'opt_out' => 'getOptOut',
94
  'event_id' => 'getEventId',
95
  'user_data' => 'getUserData',
96
+ 'custom_data' => 'getCustomData',
97
+ 'data_processing_options' => 'getDataProcessingOptions',
98
+ 'data_processing_options_country' => 'getDataProcessingOptionsCountry',
99
+ 'data_processing_options_state' => 'getDataProcessingOptionsState',
100
  );
101
  /**
102
  * Associative array for storing property values
116
  $this->container['event_id'] = isset($data['event_id']) ? $data['event_id'] : null;
117
  $this->container['user_data'] = isset($data['user_data']) ? $data['user_data'] : null;
118
  $this->container['custom_data'] = isset($data['custom_data']) ? $data['custom_data'] : null;
119
+ $this->container['data_processing_options'] = isset($data['data_processing_options']) ? $data['data_processing_options'] : null;
120
+ $this->container['data_processing_options_country'] = isset($data['data_processing_options_country']) ? $data['data_processing_options_country'] : null;
121
+ $this->container['data_processing_options_state'] = isset($data['data_processing_options_state']) ? $data['data_processing_options_state'] : null;
122
  }
123
 
124
  public static function paramTypes() {
258
  return $this;
259
  }
260
 
261
+ /**
262
+ * Sets the processing options you would like to enable for a specific event.
263
+ * For more details see: https://developers.facebook.com/docs/marketing-apis/data-processing-options
264
+ * @param string[], e.g. [] or ['LDU']
265
+ * @return $this
266
+ */
267
+ public function setDataProcessingOptions($data_processing_options) {
268
+ $this->container['data_processing_options'] = $data_processing_options;
269
+
270
+ return $this;
271
+ }
272
+
273
+ /**
274
+ * Sets a country that you want to associate to this data processing option. If you set a country, you must also set a state.
275
+ * For more details see: https://developers.facebook.com/docs/marketing-apis/data-processing-options
276
+ * @param int
277
+ * @return $this
278
+ */
279
+ public function setDataProcessingOptionsCountry($data_processing_options_country) {
280
+ $this->container['data_processing_options_country'] = $data_processing_options_country;
281
+
282
+ return $this;
283
+ }
284
+
285
+ /**
286
+ * Sets a state that you want to associate with this data processing option.
287
+ * For more details see: https://developers.facebook.com/docs/marketing-apis/data-processing-options
288
+ * @param int
289
+ * @return $this
290
+ *
291
+ */
292
+ public function setDataProcessingOptionsState($data_processing_options_state) {
293
+ $this->container['data_processing_options_state'] = $data_processing_options_state;
294
+
295
+ return $this;
296
+ }
297
+
298
  /**
299
  * Returns true if offset exists. False otherwise.
300
  * @param integer $offset Offset
352
  $normalized_payload['custom_data'] = isset($this->container['custom_data']) ? $this->getCustomData()
353
  ->normalize() : null;
354
 
355
+ $normalized_payload['data_processing_options'] = $this->getDataProcessingOptions();
356
+ $normalized_payload['data_processing_options_country'] = $this->getDataProcessingOptionsCountry();
357
+ $normalized_payload['data_processing_options_state'] = $this->getDataProcessingOptionsState();
358
+ $normalized_payload = array_filter($normalized_payload, function($val) { if(is_array($val)) { return true; } else { return strlen($val); }});
359
 
360
  return $normalized_payload;
361
  }
419
  }
420
 
421
  /**
422
+ * Gets DataProcessionOptions value of Processing options you would like to enable for a specific event.
423
+ * @return string[]
424
+ */
425
+ public function getDataProcessingOptions() {
426
+ return $this->container['data_processing_options'];
427
+ }
428
+
429
+ /**
430
+ * Gets DataProcessionOptionsState value that represents the state that you want to associate with this data processing option.
431
+ * @return int
432
+ */
433
+ public function getDataProcessingOptionsState() {
434
+ return $this->container['data_processing_options_state'];
435
+ }
436
+
437
+ /**
438
+ * Gets DataProcessionOptionsCountry value that represents the country that you want to associate to this data processing option.
439
+ * @return int
440
+ */
441
+ public function getDataProcessingOptionsCountry() {
442
+ return $this->container['data_processing_options_country'];
443
+ }
444
+
445
+ /**
446
+ * Gets the string representation of the object
447
  * @return string
448
  */
449
  public function __toString() {
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php CHANGED
@@ -40,7 +40,11 @@ class EventRequest implements ArrayAccess {
40
  protected static $param_types = array(
41
  'events' => '\FacebookAds\Object\ServerSide\Event[]',
42
  'test_event_code' => 'string',
43
- 'partner_agent' => 'string'
 
 
 
 
44
  );
45
  /**
46
  * Array of attributes where the key is the local name, and the value is the original name
@@ -49,7 +53,11 @@ class EventRequest implements ArrayAccess {
49
  protected static $attributeMap = array(
50
  'events' => 'events',
51
  'test_event_code' => 'test_event_code',
52
- 'partner_agent' => 'partner_agent'
 
 
 
 
53
  );
54
  /**
55
  * Array of attributes to setter functions (for deserialization of responses)
@@ -58,7 +66,11 @@ class EventRequest implements ArrayAccess {
58
  protected static $setters = array(
59
  'events' => 'setEvents',
60
  'test_event_code' => 'setTestEventCode',
61
- 'partner_agent' => 'setPartnerAgent'
 
 
 
 
62
  );
63
  /**
64
  * Array of attributes to getter functions (for serialization of requests)
@@ -67,7 +79,11 @@ class EventRequest implements ArrayAccess {
67
  protected static $getters = array(
68
  'events' => 'getEvents',
69
  'test_event_code' => 'getTestEventCode',
70
- 'partner_agent' => 'getPartnerAgent'
 
 
 
 
71
  );
72
  /**
73
  * Associative array for storing property values
@@ -85,6 +101,10 @@ class EventRequest implements ArrayAccess {
85
  $this->container['events'] = isset($data['events']) ? $data['events'] : null;
86
  $this->container['test_event_code'] = isset($data['test_event_code']) ? $data['test_event_code'] : null;
87
  $this->container['partner_agent'] = isset($data['partner_agent']) ? $data['partner_agent'] : null;
 
 
 
 
88
  }
89
 
90
  public static function paramTypes() {
@@ -199,7 +219,7 @@ class EventRequest implements ArrayAccess {
199
  * Normalize
200
  * @return array
201
  */
202
- private function normalize() {
203
  $normalized_events = array();
204
  $events = $this->getEvents();
205
  if (!is_null($events)) {
@@ -213,6 +233,10 @@ class EventRequest implements ArrayAccess {
213
  'data' => $normalized_events,
214
  'test_event_code' => $this->container['test_event_code'],
215
  'partner_agent' => $this->container['partner_agent'],
 
 
 
 
216
  );
217
  $normalized_payload = array_filter($normalized_payload);
218
 
@@ -235,6 +259,76 @@ class EventRequest implements ArrayAccess {
235
  return $this->container['partner_agent'];
236
  }
237
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
238
  /**
239
  * Returns true if offset exists. False otherwise.
240
  * @param integer $offset Offset
40
  protected static $param_types = array(
41
  'events' => '\FacebookAds\Object\ServerSide\Event[]',
42
  'test_event_code' => 'string',
43
+ 'partner_agent' => 'string',
44
+ 'namespace_id' => 'string',
45
+ 'upload_id' => 'string',
46
+ 'upload_tag' => 'string',
47
+ 'upload_source' => 'string'
48
  );
49
  /**
50
  * Array of attributes where the key is the local name, and the value is the original name
53
  protected static $attributeMap = array(
54
  'events' => 'events',
55
  'test_event_code' => 'test_event_code',
56
+ 'partner_agent' => 'partner_agent',
57
+ 'namespace_id' => 'namespace_id',
58
+ 'upload_id' => 'upload_id',
59
+ 'upload_tag' => 'upload_tag',
60
+ 'upload_source' => 'upload_source'
61
  );
62
  /**
63
  * Array of attributes to setter functions (for deserialization of responses)
66
  protected static $setters = array(
67
  'events' => 'setEvents',
68
  'test_event_code' => 'setTestEventCode',
69
+ 'partner_agent' => 'setPartnerAgent',
70
+ 'namespace_id' => 'setNamespaceId',
71
+ 'upload_id' => 'setUploadId',
72
+ 'upload_tag' => 'setUploadTag',
73
+ 'upload_source' => 'setUploadSource'
74
  );
75
  /**
76
  * Array of attributes to getter functions (for serialization of requests)
79
  protected static $getters = array(
80
  'events' => 'getEvents',
81
  'test_event_code' => 'getTestEventCode',
82
+ 'partner_agent' => 'getPartnerAgent',
83
+ 'namespace_id' => 'getNamespaceId',
84
+ 'upload_id' => 'getUploadId',
85
+ 'upload_tag' => 'getUploadTag',
86
+ 'upload_source' => 'getUploadSource'
87
  );
88
  /**
89
  * Associative array for storing property values
101
  $this->container['events'] = isset($data['events']) ? $data['events'] : null;
102
  $this->container['test_event_code'] = isset($data['test_event_code']) ? $data['test_event_code'] : null;
103
  $this->container['partner_agent'] = isset($data['partner_agent']) ? $data['partner_agent'] : null;
104
+ $this->container['namespace_id'] = isset($data['namespace_id']) ? $data['namespace_id'] : null;
105
+ $this->container['upload_id'] = isset($data['upload_id']) ? $data['upload_id'] : null;
106
+ $this->container['upload_tag'] = isset($data['upload_tag']) ? $data['upload_tag'] : null;
107
+ $this->container['upload_source'] = isset($data['upload_source']) ? $data['upload_source'] : null;
108
  }
109
 
110
  public static function paramTypes() {
219
  * Normalize
220
  * @return array
221
  */
222
+ public function normalize() {
223
  $normalized_events = array();
224
  $events = $this->getEvents();
225
  if (!is_null($events)) {
233
  'data' => $normalized_events,
234
  'test_event_code' => $this->container['test_event_code'],
235
  'partner_agent' => $this->container['partner_agent'],
236
+ 'namespace_id' => $this->container['namespace_id'],
237
+ 'upload_id' => $this->container['upload_id'],
238
+ 'upload_tag' => $this->container['upload_tag'],
239
+ 'upload_source' => $this->container['upload_source'],
240
  );
241
  $normalized_payload = array_filter($normalized_payload);
242
 
259
  return $this->container['partner_agent'];
260
  }
261
 
262
+ /**
263
+ * Gets namespace_id, a scope used to resolve extern_id or Third-party ID.
264
+ * Can be another data set or data partner ID.
265
+ * @return string
266
+ */
267
+ public function getNamespaceId() {
268
+ return $this->container['namespace_id'];
269
+ }
270
+
271
+ /**
272
+ * Sets namespace_id, a scope used to resolve extern_id or Third-party ID.
273
+ * Can be another data set or data partner ID.
274
+ * @return $this
275
+ */
276
+ public function setNamespaceId($namespace_id) {
277
+ $this->container['namespace_id'] = $namespace_id;
278
+ return $this;
279
+ }
280
+
281
+ /**
282
+ * Gets upload_id, a unique id used to denote the current set being uploaded.
283
+ * @return string
284
+ */
285
+ public function getUploadId() {
286
+ return $this->container['upload_id'];
287
+ }
288
+
289
+ /**
290
+ * Sets upload_id, a unique id used to denote the current set being uploaded.
291
+ * @return $this
292
+ */
293
+ public function setUploadId($upload_id) {
294
+ $this->container['upload_id'] = $upload_id;
295
+ return $this;
296
+ }
297
+
298
+ /**
299
+ * Gets upload_tag, a tag string added to track your Offline event uploads.
300
+ * @return string
301
+ */
302
+ public function getUploadTag() {
303
+ return $this->container['upload_tag'];
304
+ }
305
+
306
+ /**
307
+ * Sets upload_tag, a tag string added to track your Offline event uploads.
308
+ * @return $this
309
+ */
310
+ public function setUploadTag($upload_tag) {
311
+ $this->container['upload_tag'] = $upload_tag;
312
+ return $this;
313
+ }
314
+
315
+ /**
316
+ * Gets upload_source, the origin/source of data for the dataset to be uploaded.
317
+ * @return string
318
+ */
319
+ public function getUploadSource() {
320
+ return $this->container['upload_source'];
321
+ }
322
+
323
+ /**
324
+ * Sets upload_source, the origin/source of data for the dataset to be uploaded.
325
+ * @return $this
326
+ */
327
+ public function setUploadSource($upload_source) {
328
+ $this->container['upload_source'] = $upload_source;
329
+ return $this;
330
+ }
331
+
332
  /**
333
  * Returns true if offset exists. False otherwise.
334
  * @param integer $offset Offset
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php CHANGED
@@ -79,6 +79,34 @@ class Normalizer {
79
  case 'currency':
80
  $normalized_data = Normalizer::normalizeCurrency($data);
81
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  default:
83
  }
84
 
@@ -171,6 +199,93 @@ class Normalizer {
171
  return $result;
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  /**
175
  * @param string $phone_number Phone number to be normalized.
176
  * @return bool
79
  case 'currency':
80
  $normalized_data = Normalizer::normalizeCurrency($data);
81
  break;
82
+
83
+ case 'f5first':
84
+ $normalized_data = Normalizer::normalizeF5($data);
85
+ break;
86
+
87
+ case 'f5last':
88
+ $normalized_data = Normalizer::normalizeF5($data);
89
+ break;
90
+
91
+ case 'fi':
92
+ $normalized_data = Normalizer::normalizeFi($data);
93
+ break;
94
+
95
+ case 'dobd':
96
+ $normalized_data = Normalizer::normalizeDobd($data);
97
+ break;
98
+
99
+ case 'dobm':
100
+ $normalized_data = Normalizer::normalizeDobm($data);
101
+ break;
102
+
103
+ case 'doby':
104
+ $normalized_data = Normalizer::normalizeDoby($data);
105
+ break;
106
+
107
+ case 'delivery_category':
108
+ $normalized_data = Normalizer::normalizeDeliveryCategory($data);
109
+ break;
110
  default:
111
  }
112
 
199
  return $result;
200
  }
201
 
202
+ /**
203
+ * @param string $name A first or last name to be normalized.
204
+ * @return string
205
+ */
206
+ private static function normalizeF5($name) {
207
+ return substr($name, 0, 5);
208
+ }
209
+
210
+ /**
211
+ * @param string $fi A first initial to be normalized.
212
+ * @return string
213
+ */
214
+ private static function normalizeFi($fi) {
215
+ return substr($fi, 0, 1);
216
+ }
217
+
218
+ /**
219
+ * @param string $dobd A date of birth day to be normalized.
220
+ * @return string
221
+ */
222
+ private static function normalizeDobd($dobd) {
223
+ if (strlen($dobd) == 1) {
224
+ $dobd = '0' . $dobd;
225
+ }
226
+
227
+ if (!preg_match('/^[0-9]{2}$/', $dobd)) {
228
+ throw new InvalidArgumentException('Invalid dobd passed(' . $dobd . '). Date of birth day should be in format "DD".');
229
+ }
230
+
231
+ $dobd_int = intval($dobd);
232
+ $in_day_range = ($dobd_int >= 1) && ($dobd_int <= 31);
233
+ if (!$in_day_range) {
234
+ throw new InvalidArgumentException('Invalid dobd passed(' . $dobd . '). Date of birth day should be in format "DD".');
235
+ }
236
+
237
+ return $dobd;
238
+ }
239
+
240
+ /**
241
+ * @param string $dobm A date of birth month to be normalized.
242
+ * @return string
243
+ */
244
+ private static function normalizeDobm($dobm) {
245
+ if (strlen($dobm) == 1) {
246
+ $dobm = '0' . $dobm;
247
+ }
248
+
249
+ if (!preg_match('/^[0-9]{2}$/', $dobm)) {
250
+ throw new InvalidArgumentException('Invalid dobm passed(' . $dobm . '). Date of birth month should be in format "MM".');
251
+ }
252
+
253
+ $dobm_int = intval($dobm);
254
+ $in_month_range = ($dobm_int >= 1) && ($dobm_int <= 12);
255
+ if (!$in_month_range) {
256
+ throw new InvalidArgumentException('Invalid dobm passed(' . $dobm . '). Date of birth month should be in format "MM".');
257
+ }
258
+
259
+ return $dobm;
260
+ }
261
+
262
+ /**
263
+ * @param string $doby A date of birth year to be normalized.
264
+ * @return string
265
+ */
266
+ private static function normalizeDoby($doby) {
267
+ if (!preg_match('/^[0-9]{4}$/', $doby)) {
268
+ throw new InvalidArgumentException('Invalid doby passed(' . $doby . '). Date of birth year should be in format "YYYY".');
269
+ }
270
+
271
+ return $doby;
272
+ }
273
+
274
+ /**
275
+ * Normalizes the type of DeliveryCategory and throws error if invalid.
276
+ * @param string $delivery_category type of DeliveryCategory.
277
+ * @return string
278
+ */
279
+ private static function normalizeDeliveryCategory($delivery_category) {
280
+
281
+ $delivery_categories = DeliveryCategory::getInstance()->getValues();
282
+ if(!DeliveryCategory::getInstance()->isValidValue($delivery_category))
283
+ throw new InvalidArgumentException('Invalid delivery_category passed: ' . $delivery_category .
284
+ '.Allowed values are one of ' . implode(",",$delivery_categories));
285
+
286
+ return $delivery_category;
287
+ }
288
+
289
  /**
290
  * @param string $phone_number Phone number to be normalized.
291
  * @return bool
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php CHANGED
@@ -59,7 +59,13 @@ class UserData implements ArrayAccess {
59
  'fbc' => 'string',
60
  'fbp' => 'string',
61
  'subscription_id' => 'string',
62
- 'fb_login_id' => 'string'
 
 
 
 
 
 
63
  );
64
  /**
65
  * Array of attributes where the key is the local name, and the value is the original name
@@ -82,7 +88,13 @@ class UserData implements ArrayAccess {
82
  'fbc' => 'fbc',
83
  'fbp' => 'fbp',
84
  'subscription_id' => 'subscription_id',
85
- 'fb_login_id' => 'fb_login_id'
 
 
 
 
 
 
86
  );
87
  /**
88
  * Array of attributes to setter functions (for deserialization of responses)
@@ -105,7 +117,13 @@ class UserData implements ArrayAccess {
105
  'fbc' => 'setFbc',
106
  'fbp' => 'setFbp',
107
  'subscription_id' => 'setSubscriptionId',
108
- 'fb_login_id' => 'setFbLoginId'
 
 
 
 
 
 
109
  );
110
  /**
111
  * Array of attributes to getter functions (for serialization of requests)
@@ -128,7 +146,13 @@ class UserData implements ArrayAccess {
128
  'fbc' => 'getFbc',
129
  'fbp' => 'getFbp',
130
  'subscription_id' => 'getSubscriptionId',
131
- 'fb_login_id' => 'getFbLoginId'
 
 
 
 
 
 
132
  );
133
  /**
134
  * Associative array for storing property values
@@ -158,6 +182,12 @@ class UserData implements ArrayAccess {
158
  $this->container['fbp'] = isset($data['fbp']) ? $data['fbp'] : null;
159
  $this->container['subscription_id'] = isset($data['subscription_id']) ? $data['subscription_id'] : null;
160
  $this->container['fb_login_id'] = isset($data['fb_login_id']) ? $data['fb_login_id'] : null;
 
 
 
 
 
 
161
  }
162
 
163
  public static function paramTypes() {
@@ -414,6 +444,72 @@ class UserData implements ArrayAccess {
414
  return $this;
415
  }
416
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  /**
418
  * Returns true if offset exists. False otherwise.
419
  * @param integer $offset Offset
@@ -475,6 +571,12 @@ class UserData implements ArrayAccess {
475
  $normalized_payload['fbp'] = $this->getFbp();
476
  $normalized_payload['subscription_id'] = $this->getSubscriptionId();
477
  $normalized_payload['fb_login_id'] = $this->getFbLoginId();
 
 
 
 
 
 
478
  $normalized_payload = array_filter($normalized_payload);
479
  return $normalized_payload;
480
  }
@@ -614,6 +716,55 @@ class UserData implements ArrayAccess {
614
  public function getFbLoginId() {
615
  return $this->container['fb_login_id'];
616
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
617
  /**
618
  * Gets the string presentation of the object
619
  * @return string
59
  'fbc' => 'string',
60
  'fbp' => 'string',
61
  'subscription_id' => 'string',
62
+ 'fb_login_id' => 'string',
63
+ 'f5first' => 'string',
64
+ 'f5last' => 'string',
65
+ 'fi' => 'string',
66
+ 'dobd' => 'string',
67
+ 'dobm' => 'string',
68
+ 'doby' => 'string'
69
  );
70
  /**
71
  * Array of attributes where the key is the local name, and the value is the original name
88
  'fbc' => 'fbc',
89
  'fbp' => 'fbp',
90
  'subscription_id' => 'subscription_id',
91
+ 'fb_login_id' => 'fb_login_id',
92
+ 'f5first' => 'f5first',
93
+ 'f5last' => 'f5last',
94
+ 'fi' => 'fi',
95
+ 'dobd' => 'dobd',
96
+ 'dobm' => 'dobm',
97
+ 'doby' => 'doby'
98
  );
99
  /**
100
  * Array of attributes to setter functions (for deserialization of responses)
117
  'fbc' => 'setFbc',
118
  'fbp' => 'setFbp',
119
  'subscription_id' => 'setSubscriptionId',
120
+ 'fb_login_id' => 'setFbLoginId',
121
+ 'f5first' => 'setF5first',
122
+ 'f5last' => 'setF5last',
123
+ 'fi' => 'setFi',
124
+ 'dobd' => 'setDobd',
125
+ 'dobm' => 'setDobm',
126
+ 'doby' => 'setDoby'
127
  );
128
  /**
129
  * Array of attributes to getter functions (for serialization of requests)
146
  'fbc' => 'getFbc',
147
  'fbp' => 'getFbp',
148
  'subscription_id' => 'getSubscriptionId',
149
+ 'fb_login_id' => 'getFbLoginId',
150
+ 'f5first' => 'getF5first',
151
+ 'f5last' => 'getF5last',
152
+ 'fi' => 'getFi',
153
+ 'dobd' => 'getDobd',
154
+ 'dobm' => 'getDobm',
155
+ 'doby' => 'getDoby'
156
  );
157
  /**
158
  * Associative array for storing property values
182
  $this->container['fbp'] = isset($data['fbp']) ? $data['fbp'] : null;
183
  $this->container['subscription_id'] = isset($data['subscription_id']) ? $data['subscription_id'] : null;
184
  $this->container['fb_login_id'] = isset($data['fb_login_id']) ? $data['fb_login_id'] : null;
185
+ $this->container['f5first'] = isset($data['f5first']) ? $data['f5first'] : null;
186
+ $this->container['f5last'] = isset($data['f5last']) ? $data['f5last'] : null;
187
+ $this->container['fi'] = isset($data['fi']) ? $data['fi'] : null;
188
+ $this->container['dobd'] = isset($data['dobd']) ? $data['dobd'] : null;
189
+ $this->container['dobm'] = isset($data['dobm']) ? $data['dobm'] : null;
190
+ $this->container['doby'] = isset($data['doby']) ? $data['doby'] : null;
191
  }
192
 
193
  public static function paramTypes() {
444
  return $this;
445
  }
446
 
447
+ /**
448
+ * Sets the first 5 letters of the first name.
449
+ * @param string $f5first The first 5 letters of the first name.
450
+ * @return $this
451
+ */
452
+ public function setF5first($f5first) {
453
+ $this->container['f5first'] = $f5first;
454
+
455
+ return $this;
456
+ }
457
+
458
+ /**
459
+ * Sets the first 5 letters of the last name.
460
+ * @param string $f5last The first 5 letters of the last name.
461
+ * @return $this
462
+ */
463
+ public function setF5last($f5last) {
464
+ $this->container['f5last'] = $f5last;
465
+
466
+ return $this;
467
+ }
468
+
469
+ /**
470
+ * Sets the first initial.
471
+ * @param string $fi The first initial.
472
+ * @return $this
473
+ */
474
+ public function setFi($fi) {
475
+ $this->container['fi'] = $fi;
476
+
477
+ return $this;
478
+ }
479
+
480
+ /**
481
+ * Sets the date of birth day.
482
+ * @param string $dobd The date of birth day.
483
+ * @return $this
484
+ */
485
+ public function setDobd($dobd) {
486
+ $this->container['dobd'] = $dobd;
487
+
488
+ return $this;
489
+ }
490
+
491
+ /**
492
+ * Sets the date of birth month.
493
+ * @param string $dobm The date of birth month.
494
+ * @return $this
495
+ */
496
+ public function setDobm($dobm) {
497
+ $this->container['dobm'] = $dobm;
498
+
499
+ return $this;
500
+ }
501
+
502
+ /**
503
+ * Sets the date of birth year.
504
+ * @param string $doby The date of birth year.
505
+ * @return $this
506
+ */
507
+ public function setDoby($doby) {
508
+ $this->container['doby'] = $doby;
509
+
510
+ return $this;
511
+ }
512
+
513
  /**
514
  * Returns true if offset exists. False otherwise.
515
  * @param integer $offset Offset
571
  $normalized_payload['fbp'] = $this->getFbp();
572
  $normalized_payload['subscription_id'] = $this->getSubscriptionId();
573
  $normalized_payload['fb_login_id'] = $this->getFbLoginId();
574
+ $normalized_payload['f5first'] = Util::hash(Normalizer::normalize('f5first', $this->getF5first()));
575
+ $normalized_payload['f5last'] = Util::hash(Normalizer::normalize('f5last', $this->getF5last()));
576
+ $normalized_payload['fi'] = Util::hash(Normalizer::normalize('fi', $this->getFi()));
577
+ $normalized_payload['dobd'] = Util::hash(Normalizer::normalize('dobd', $this->getDobd()));
578
+ $normalized_payload['dobm'] = Util::hash(Normalizer::normalize('dobm', $this->getDobm()));
579
+ $normalized_payload['doby'] = Util::hash(Normalizer::normalize('doby', $this->getDoby()));
580
  $normalized_payload = array_filter($normalized_payload);
581
  return $normalized_payload;
582
  }
716
  public function getFbLoginId() {
717
  return $this->container['fb_login_id'];
718
  }
719
+
720
+ /**
721
+ * Gets the first 5 letters of the first name.
722
+ * @return string
723
+ */
724
+ public function getF5first() {
725
+ return $this->container['f5first'];
726
+ }
727
+
728
+ /**
729
+ * Gets the first 5 letters of the last name.
730
+ * @return string
731
+ */
732
+ public function getF5last() {
733
+ return $this->container['f5last'];
734
+ }
735
+
736
+ /**
737
+ * Gets the first initial.
738
+ * @return string
739
+ */
740
+ public function getFi() {
741
+ return $this->container['fi'];
742
+ }
743
+
744
+ /**
745
+ * Gets the date of birth day.
746
+ * @return string
747
+ */
748
+ public function getDobd() {
749
+ return $this->container['dobd'];
750
+ }
751
+
752
+ /**
753
+ * Gets the date of birth month.
754
+ * @return string
755
+ */
756
+ public function getDobm() {
757
+ return $this->container['dobm'];
758
+ }
759
+
760
+ /**
761
+ * Gets the date of birth year.
762
+ * @return string
763
+ */
764
+ public function getDoby() {
765
+ return $this->container['doby'];
766
+ }
767
+
768
  /**
769
  * Gets the string presentation of the object
770
  * @return string
vendor/facebook/php-business-sdk/src/FacebookAds/Object/StreamingReaction.php DELETED
@@ -1,59 +0,0 @@
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\StreamingReactionFields;
32
- use FacebookAds\Object\Values\StreamingReactionReactionTypeValues;
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 StreamingReaction extends AbstractObject {
44
-
45
- /**
46
- * @return StreamingReactionFields
47
- */
48
- public static function getFieldsEnum() {
49
- return StreamingReactionFields::getInstance();
50
- }
51
-
52
- protected static function getReferencedEnums() {
53
- $ref_enums = array();
54
- $ref_enums['ReactionType'] = StreamingReactionReactionTypeValues::getInstance()->getValues();
55
- return $ref_enums;
56
- }
57
-
58
-
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AtlasURL.php → TargetingRelaxation.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\AtlasURLFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\AtlasURLFields;
39
  *
40
  */
41
 
42
- class AtlasURL extends AbstractObject {
43
 
44
  /**
45
- * @return AtlasURLFields
46
  */
47
  public static function getFieldsEnum() {
48
- return AtlasURLFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\TargetingRelaxationFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class TargetingRelaxation extends AbstractObject {
43
 
44
  /**
45
+ * @return TargetingRelaxationFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return TargetingRelaxationFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ThirdPartyMeasurementReportDataset.php CHANGED
@@ -77,28 +77,4 @@ class ThirdPartyMeasurementReportDataset extends AbstractCrudObject {
77
  return $pending ? $request : $request->execute();
78
  }
79
 
80
- public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
81
- $this->assureId();
82
-
83
- $param_types = array(
84
- 'data' => 'list<map>',
85
- );
86
- $enums = array(
87
- );
88
-
89
- $request = new ApiRequest(
90
- $this->api,
91
- $this->data['id'],
92
- RequestInterface::METHOD_POST,
93
- '/',
94
- new ThirdPartyMeasurementReportDataset(),
95
- 'NODE',
96
- ThirdPartyMeasurementReportDataset::getFieldsEnum()->getValues(),
97
- new TypeChecker($param_types, $enums)
98
- );
99
- $request->addParams($params);
100
- $request->addFields($fields);
101
- return $pending ? $request : $request->execute();
102
- }
103
-
104
  }
77
  return $pending ? $request : $request->execute();
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php CHANGED
@@ -52,6 +52,7 @@ use FacebookAds\Object\Values\PermissionStatusValues;
52
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
53
  use FacebookAds\Object\Values\PhotoTypeValues;
54
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
 
55
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
56
  use FacebookAds\Object\Values\UserFilteringValues;
57
  use FacebookAds\Object\Values\UserLocalNewsMegaphoneDismissStatusValues;
@@ -827,29 +828,6 @@ class User extends AbstractCrudObject {
827
  return $pending ? $request : $request->execute();
828
  }
829
 
830
- public function getFriendLists(array $fields = array(), array $params = array(), $pending = false) {
831
- $this->assureId();
832
-
833
- $param_types = array(
834
- );
835
- $enums = array(
836
- );
837
-
838
- $request = new ApiRequest(
839
- $this->api,
840
- $this->data['id'],
841
- RequestInterface::METHOD_GET,
842
- '/friendlists',
843
- new FriendList(),
844
- 'EDGE',
845
- FriendList::getFieldsEnum()->getValues(),
846
- new TypeChecker($param_types, $enums)
847
- );
848
- $request->addParams($params);
849
- $request->addFields($fields);
850
- return $pending ? $request : $request->execute();
851
- }
852
-
853
  public function getFriends(array $fields = array(), array $params = array(), $pending = false) {
854
  $this->assureId();
855
 
@@ -1207,7 +1185,6 @@ class User extends AbstractCrudObject {
1207
  'privacy' => 'string',
1208
  'projection' => 'projection_enum',
1209
  'published' => 'bool',
1210
- 'save_vod' => 'bool',
1211
  'schedule_custom_profile_image' => 'file',
1212
  'spatial_audio_format' => 'spatial_audio_format_enum',
1213
  'status' => 'status_enum',
@@ -1239,6 +1216,52 @@ class User extends AbstractCrudObject {
1239
  return $pending ? $request : $request->execute();
1240
  }
1241
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1242
  public function getMusic(array $fields = array(), array $params = array(), $pending = false) {
1243
  $this->assureId();
1244
 
@@ -1475,12 +1498,14 @@ class User extends AbstractCrudObject {
1475
  $this->assureId();
1476
 
1477
  $param_types = array(
 
1478
  'height' => 'int',
1479
  'redirect' => 'bool',
1480
  'type' => 'type_enum',
1481
  'width' => 'int',
1482
  );
1483
  $enums = array(
 
1484
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
1485
  );
1486
 
@@ -1547,29 +1572,6 @@ class User extends AbstractCrudObject {
1547
  return $pending ? $request : $request->execute();
1548
  }
1549
 
1550
- public function getTaggableFriends(array $fields = array(), array $params = array(), $pending = false) {
1551
- $this->assureId();
1552
-
1553
- $param_types = array(
1554
- );
1555
- $enums = array(
1556
- );
1557
-
1558
- $request = new ApiRequest(
1559
- $this->api,
1560
- $this->data['id'],
1561
- RequestInterface::METHOD_GET,
1562
- '/taggable_friends',
1563
- new UserTaggableFriend(),
1564
- 'EDGE',
1565
- UserTaggableFriend::getFieldsEnum()->getValues(),
1566
- new TypeChecker($param_types, $enums)
1567
- );
1568
- $request->addParams($params);
1569
- $request->addFields($fields);
1570
- return $pending ? $request : $request->execute();
1571
- }
1572
-
1573
  public function getVideos(array $fields = array(), array $params = array(), $pending = false) {
1574
  $this->assureId();
1575
 
@@ -1614,6 +1616,7 @@ class User extends AbstractCrudObject {
1614
  'composer_type' => 'string',
1615
  'container_type' => 'container_type_enum',
1616
  'content_category' => 'content_category_enum',
 
1617
  'description' => 'string',
1618
  'direct_share_status' => 'unsigned int',
1619
  'embeddable' => 'bool',
@@ -1672,6 +1675,7 @@ class User extends AbstractCrudObject {
1672
  'upload_session_id' => 'string',
1673
  'upload_setting_properties' => 'string',
1674
  'video_file_chunk' => 'string',
 
1675
  'video_start_time_ms' => 'unsigned int',
1676
  'waterfall_id' => 'string',
1677
  );
52
  use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
53
  use FacebookAds\Object\Values\PhotoTypeValues;
54
  use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
55
+ use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
56
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
57
  use FacebookAds\Object\Values\UserFilteringValues;
58
  use FacebookAds\Object\Values\UserLocalNewsMegaphoneDismissStatusValues;
828
  return $pending ? $request : $request->execute();
829
  }
830
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
831
  public function getFriends(array $fields = array(), array $params = array(), $pending = false) {
832
  $this->assureId();
833
 
1185
  'privacy' => 'string',
1186
  'projection' => 'projection_enum',
1187
  'published' => 'bool',
 
1188
  'schedule_custom_profile_image' => 'file',
1189
  'spatial_audio_format' => 'spatial_audio_format_enum',
1190
  'status' => 'status_enum',
1216
  return $pending ? $request : $request->execute();
1217
  }
1218
 
1219
+ public function getMeetingLink(array $fields = array(), array $params = array(), $pending = false) {
1220
+ $this->assureId();
1221
+
1222
+ $param_types = array(
1223
+ );
1224
+ $enums = array(
1225
+ );
1226
+
1227
+ $request = new ApiRequest(
1228
+ $this->api,
1229
+ $this->data['id'],
1230
+ RequestInterface::METHOD_GET,
1231
+ '/meeting_link',
1232
+ new WorkMeetingLink(),
1233
+ 'EDGE',
1234
+ WorkMeetingLink::getFieldsEnum()->getValues(),
1235
+ new TypeChecker($param_types, $enums)
1236
+ );
1237
+ $request->addParams($params);
1238
+ $request->addFields($fields);
1239
+ return $pending ? $request : $request->execute();
1240
+ }
1241
+
1242
+ public function createMeetingLink(array $fields = array(), array $params = array(), $pending = false) {
1243
+ $this->assureId();
1244
+
1245
+ $param_types = array(
1246
+ );
1247
+ $enums = array(
1248
+ );
1249
+
1250
+ $request = new ApiRequest(
1251
+ $this->api,
1252
+ $this->data['id'],
1253
+ RequestInterface::METHOD_POST,
1254
+ '/meeting_link',
1255
+ new WorkMeetingLink(),
1256
+ 'EDGE',
1257
+ WorkMeetingLink::getFieldsEnum()->getValues(),
1258
+ new TypeChecker($param_types, $enums)
1259
+ );
1260
+ $request->addParams($params);
1261
+ $request->addFields($fields);
1262
+ return $pending ? $request : $request->execute();
1263
+ }
1264
+
1265
  public function getMusic(array $fields = array(), array $params = array(), $pending = false) {
1266
  $this->assureId();
1267
 
1498
  $this->assureId();
1499
 
1500
  $param_types = array(
1501
+ 'breaking_change' => 'breaking_change_enum',
1502
  'height' => 'int',
1503
  'redirect' => 'bool',
1504
  'type' => 'type_enum',
1505
  'width' => 'int',
1506
  );
1507
  $enums = array(
1508
+ 'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
1509
  'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
1510
  );
1511
 
1572
  return $pending ? $request : $request->execute();
1573
  }
1574
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1575
  public function getVideos(array $fields = array(), array $params = array(), $pending = false) {
1576
  $this->assureId();
1577
 
1616
  'composer_type' => 'string',
1617
  'container_type' => 'container_type_enum',
1618
  'content_category' => 'content_category_enum',
1619
+ 'creative_tools' => 'string',
1620
  'description' => 'string',
1621
  'direct_share_status' => 'unsigned int',
1622
  'embeddable' => 'bool',
1675
  'upload_session_id' => 'string',
1676
  'upload_setting_properties' => 'string',
1677
  'video_file_chunk' => 'string',
1678
+ 'video_id_original' => 'string',
1679
  'video_start_time_ms' => 'unsigned int',
1680
  'waterfall_id' => 'string',
1681
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/UserTaggableFriend.php DELETED
@@ -1,86 +0,0 @@
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\UserTaggableFriendFields;
32
- use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
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 UserTaggableFriend extends AbstractCrudObject {
44
-
45
- /**
46
- * @return UserTaggableFriendFields
47
- */
48
- public static function getFieldsEnum() {
49
- return UserTaggableFriendFields::getInstance();
50
- }
51
-
52
- protected static function getReferencedEnums() {
53
- $ref_enums = array();
54
- return $ref_enums;
55
- }
56
-
57
-
58
- public function getPicture(array $fields = array(), array $params = array(), $pending = false) {
59
- $this->assureId();
60
-
61
- $param_types = array(
62
- 'height' => 'int',
63
- 'redirect' => 'bool',
64
- 'type' => 'type_enum',
65
- 'width' => 'int',
66
- );
67
- $enums = array(
68
- 'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
69
- );
70
-
71
- $request = new ApiRequest(
72
- $this->api,
73
- $this->data['id'],
74
- RequestInterface::METHOD_GET,
75
- '/picture',
76
- new ProfilePictureSource(),
77
- 'EDGE',
78
- ProfilePictureSource::getFieldsEnum()->getValues(),
79
- new TypeChecker($param_types, $enums)
80
- );
81
- $request->addParams($params);
82
- $request->addFields($fields);
83
- return $pending ? $request : $request->execute();
84
- }
85
-
86
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountCurrencyValues.php CHANGED
@@ -87,6 +87,7 @@ class AdAccountCurrencyValues extends AbstractEnum {
87
  const THB = 'THB';
88
  const VALUE_TRY = 'TRY';
89
  const TWD = 'TWD';
 
90
  const USD = 'USD';
91
  const UYU = 'UYU';
92
  const VND = 'VND';
87
  const THB = 'THB';
88
  const VALUE_TRY = 'TRY';
89
  const TWD = 'TWD';
90
+ const UAH = 'UAH';
91
  const USD = 'USD';
92
  const UYU = 'UYU';
93
  const VND = 'VND';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountDeliveryEstimateOptimizationGoalValues.php CHANGED
@@ -55,6 +55,7 @@ class AdAccountDeliveryEstimateOptimizationGoalValues extends AbstractEnum {
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
58
  const REACH = 'REACH';
59
  const REPLIES = 'REPLIES';
60
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
58
+ const QUALITY_LEAD = 'QUALITY_LEAD';
59
  const REACH = 'REACH';
60
  const REPLIES = 'REPLIES';
61
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues.php CHANGED
@@ -46,6 +46,7 @@ class AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues extends AbstractE
46
  const INSTANT_GAME = 'INSTANT_GAME';
47
  const ITUNES = 'ITUNES';
48
  const ITUNES_IPAD = 'ITUNES_IPAD';
 
49
  const ROKU_STORE = 'ROKU_STORE';
50
  const WINDOWS_10_STORE = 'WINDOWS_10_STORE';
51
  const WINDOWS_STORE = 'WINDOWS_STORE';
46
  const INSTANT_GAME = 'INSTANT_GAME';
47
  const ITUNES = 'ITUNES';
48
  const ITUNES_IPAD = 'ITUNES_IPAD';
49
+ const OCULUS_APP_STORE = 'OCULUS_APP_STORE';
50
  const ROKU_STORE = 'ROKU_STORE';
51
  const WINDOWS_10_STORE = 'WINDOWS_10_STORE';
52
  const WINDOWS_STORE = 'WINDOWS_STORE';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountPermittedTasksValues.php CHANGED
@@ -39,8 +39,5 @@ class AdAccountPermittedTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
42
- const CREATIVE = 'CREATIVE';
43
- const DRAFT = 'DRAFT';
44
- const FB_EMPLOYEE_DSO_ADVERTISE = 'FB_EMPLOYEE_DSO_ADVERTISE';
45
  const MANAGE = 'MANAGE';
46
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
 
 
 
42
  const MANAGE = 'MANAGE';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedRegulatedCategoriesValues.php CHANGED
@@ -40,5 +40,6 @@ class AdAccountTargetingUnifiedRegulatedCategoriesValues extends AbstractEnum {
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
 
43
  const NONE = 'NONE';
44
  }
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
43
+ const ISSUES_ELECTIONS_POLITICS = 'ISSUES_ELECTIONS_POLITICS';
44
  const NONE = 'NONE';
45
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTasksValues.php CHANGED
@@ -39,8 +39,5 @@ class AdAccountTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
42
- const CREATIVE = 'CREATIVE';
43
- const DRAFT = 'DRAFT';
44
- const FB_EMPLOYEE_DSO_ADVERTISE = 'FB_EMPLOYEE_DSO_ADVERTISE';
45
  const MANAGE = 'MANAGE';
46
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
 
 
 
42
  const MANAGE = 'MANAGE';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageDomainActionTypeValues.php → AdActivityDataSourceValues.php} RENAMED
@@ -33,10 +33,10 @@ use FacebookAds\Enum\AbstractEnum;
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 PageDomainActionTypeValues getInstance()
37
  */
38
- class PageDomainActionTypeValues extends AbstractEnum {
39
 
40
- const ADD = 'ADD';
41
- const REMOVE = 'REMOVE';
42
  }
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 AdActivityDataSourceValues getInstance()
37
  */
38
+ class AdActivityDataSourceValues extends AbstractEnum {
39
 
40
+ const CALYPSO = 'CALYPSO';
41
+ const TAO = 'TAO';
42
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdActivityEventTypeValues.php CHANGED
@@ -92,6 +92,7 @@ class AdActivityEventTypeValues extends AbstractEnum {
92
  const UPDATE_AD_SET_BIDDING = 'update_ad_set_bidding';
93
  const UPDATE_AD_SET_BUDGET = 'update_ad_set_budget';
94
  const UPDATE_AD_SET_DURATION = 'update_ad_set_duration';
 
95
  const UPDATE_AD_SET_MIN_SPEND_TARGET = 'update_ad_set_min_spend_target';
96
  const UPDATE_AD_SET_NAME = 'update_ad_set_name';
97
  const UPDATE_AD_SET_OPTIMIZATION_GOAL = 'update_ad_set_optimization_goal';
@@ -112,4 +113,5 @@ class AdActivityEventTypeValues extends AbstractEnum {
112
  const UPDATE_CAMPAIGN_NAME = 'update_campaign_name';
113
  const UPDATE_CAMPAIGN_RUN_STATUS = 'update_campaign_run_status';
114
  const UPDATE_CAMPAIGN_SCHEDULE = 'update_campaign_schedule';
 
115
  }
92
  const UPDATE_AD_SET_BIDDING = 'update_ad_set_bidding';
93
  const UPDATE_AD_SET_BUDGET = 'update_ad_set_budget';
94
  const UPDATE_AD_SET_DURATION = 'update_ad_set_duration';
95
+ const UPDATE_AD_SET_LEARNING_STAGE_STATUS = 'update_ad_set_learning_stage_status';
96
  const UPDATE_AD_SET_MIN_SPEND_TARGET = 'update_ad_set_min_spend_target';
97
  const UPDATE_AD_SET_NAME = 'update_ad_set_name';
98
  const UPDATE_AD_SET_OPTIMIZATION_GOAL = 'update_ad_set_optimization_goal';
113
  const UPDATE_CAMPAIGN_NAME = 'update_campaign_name';
114
  const UPDATE_CAMPAIGN_RUN_STATUS = 'update_campaign_run_status';
115
  const UPDATE_CAMPAIGN_SCHEDULE = 'update_campaign_schedule';
116
+ const UPDATE_DELIVERY_TYPE_CROSS_LEVEL_SHIFT = 'update_delivery_type_cross_level_shift';
117
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php CHANGED
@@ -81,6 +81,7 @@ class AdAssetFeedSpecCallToActionTypesValues extends AbstractEnum {
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
 
84
  const SHARE = 'SHARE';
85
  const SHOP_NOW = 'SHOP_NOW';
86
  const SIGN_UP = 'SIGN_UP';
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
84
+ const SEND_A_GIFT = 'SEND_A_GIFT';
85
  const SHARE = 'SHARE';
86
  const SHOP_NOW = 'SHOP_NOW';
87
  const SIGN_UP = 'SIGN_UP';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalNewValues.php CHANGED
@@ -55,6 +55,7 @@ class AdCampaignActivityOptimizationGoalNewValues extends AbstractEnum {
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
58
  const REACH = 'REACH';
59
  const REPLIES = 'REPLIES';
60
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
58
+ const QUALITY_LEAD = 'QUALITY_LEAD';
59
  const REACH = 'REACH';
60
  const REPLIES = 'REPLIES';
61
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalOldValues.php CHANGED
@@ -55,6 +55,7 @@ class AdCampaignActivityOptimizationGoalOldValues extends AbstractEnum {
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
58
  const REACH = 'REACH';
59
  const REPLIES = 'REPLIES';
60
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
58
+ const QUALITY_LEAD = 'QUALITY_LEAD';
59
  const REACH = 'REACH';
60
  const REPLIES = 'REPLIES';
61
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignDeliveryEstimateOptimizationGoalValues.php CHANGED
@@ -55,6 +55,7 @@ class AdCampaignDeliveryEstimateOptimizationGoalValues extends AbstractEnum {
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
58
  const REACH = 'REACH';
59
  const REPLIES = 'REPLIES';
60
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
58
+ const QUALITY_LEAD = 'QUALITY_LEAD';
59
  const REACH = 'REACH';
60
  const REPLIES = 'REPLIES';
61
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php CHANGED
@@ -81,6 +81,7 @@ class AdCreativeCallToActionTypeValues extends AbstractEnum {
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
 
84
  const SHARE = 'SHARE';
85
  const SHOP_NOW = 'SHOP_NOW';
86
  const SIGN_UP = 'SIGN_UP';
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
84
+ const SEND_A_GIFT = 'SEND_A_GIFT';
85
  const SHARE = 'SHARE';
86
  const SHOP_NOW = 'SHOP_NOW';
87
  const SIGN_UP = 'SIGN_UP';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php CHANGED
@@ -81,6 +81,7 @@ class AdCreativeLinkDataCallToActionTypeValues extends AbstractEnum {
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
 
84
  const SHARE = 'SHARE';
85
  const SHOP_NOW = 'SHOP_NOW';
86
  const SIGN_UP = 'SIGN_UP';
81
  const SAY_THANKS = 'SAY_THANKS';
82
  const SEE_MORE = 'SEE_MORE';
83
  const SELL_NOW = 'SELL_NOW';
84
+ const SEND_A_GIFT = 'SEND_A_GIFT';
85
  const SHARE = 'SHARE';
86
  const SHOP_NOW = 'SHOP_NOW';
87
  const SIGN_UP = 'SIGN_UP';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PagePaymentDevModeActionValues.php → AdPlacePageSetCategoryValues.php} RENAMED
@@ -33,10 +33,10 @@ use FacebookAds\Enum\AbstractEnum;
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 PagePaymentDevModeActionValues getInstance()
37
  */
38
- class PagePaymentDevModeActionValues extends AbstractEnum {
39
 
40
- const ADD = 'ADD';
41
- const REMOVE = 'REMOVE';
42
  }
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 AdPlacePageSetCategoryValues getInstance()
37
  */
38
+ class AdPlacePageSetCategoryValues extends AbstractEnum {
39
 
40
+ const BOPUS = 'BOPUS';
41
+ const GENERAL = 'GENERAL';
42
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php CHANGED
@@ -67,6 +67,5 @@ class AdPreviewAdFormatValues extends AbstractEnum {
67
  const RIGHT_COLUMN_STANDARD = 'RIGHT_COLUMN_STANDARD';
68
  const SUGGESTED_VIDEO_DESKTOP = 'SUGGESTED_VIDEO_DESKTOP';
69
  const SUGGESTED_VIDEO_MOBILE = 'SUGGESTED_VIDEO_MOBILE';
70
- const WATCH_FEED_HOME = 'WATCH_FEED_HOME';
71
  const WATCH_FEED_MOBILE = 'WATCH_FEED_MOBILE';
72
  }
67
  const RIGHT_COLUMN_STANDARD = 'RIGHT_COLUMN_STANDARD';
68
  const SUGGESTED_VIDEO_DESKTOP = 'SUGGESTED_VIDEO_DESKTOP';
69
  const SUGGESTED_VIDEO_MOBILE = 'SUGGESTED_VIDEO_MOBILE';
 
70
  const WATCH_FEED_MOBILE = 'WATCH_FEED_MOBILE';
71
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetOptimizationGoalValues.php CHANGED
@@ -55,6 +55,7 @@ class AdSetOptimizationGoalValues extends AbstractEnum {
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
58
  const REACH = 'REACH';
59
  const REPLIES = 'REPLIES';
60
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
55
  const PAGE_ENGAGEMENT = 'PAGE_ENGAGEMENT';
56
  const PAGE_LIKES = 'PAGE_LIKES';
57
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
58
+ const QUALITY_LEAD = 'QUALITY_LEAD';
59
  const REACH = 'REACH';
60
  const REPLIES = 'REPLIES';
61
  const SOCIAL_IMPRESSIONS = 'SOCIAL_IMPRESSIONS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetTuneForCategoryValues.php CHANGED
@@ -40,5 +40,6 @@ class AdSetTuneForCategoryValues extends AbstractEnum {
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
 
43
  const NONE = 'NONE';
44
  }
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
43
+ const ISSUES_ELECTIONS_POLITICS = 'ISSUES_ELECTIONS_POLITICS';
44
  const NONE = 'NONE';
45
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php CHANGED
@@ -87,6 +87,7 @@ class AdVideoContainerTypeValues extends AbstractEnum {
87
  const HEURISTIC_CLUSTER_VIDEO = 'HEURISTIC_CLUSTER_VIDEO';
88
  const HEURISTIC_PREVIEW = 'HEURISTIC_PREVIEW';
89
  const HIGHLIGHT_CLIP_VIDEO = 'HIGHLIGHT_CLIP_VIDEO';
 
90
  const INSPIRATION_VIDEO = 'INSPIRATION_VIDEO';
91
  const INSTAGRAM_VIDEO_COPY = 'INSTAGRAM_VIDEO_COPY';
92
  const INSTANT_APPLICATION_PREVIEW = 'INSTANT_APPLICATION_PREVIEW';
@@ -107,6 +108,7 @@ class AdVideoContainerTypeValues extends AbstractEnum {
107
  const MOMENTS_VIDEO = 'MOMENTS_VIDEO';
108
  const NEO_ASYNC_GAME_VIDEO = 'NEO_ASYNC_GAME_VIDEO';
109
  const NO_STORY = 'NO_STORY';
 
110
  const OCULUS_CREATOR_PORTAL = 'OCULUS_CREATOR_PORTAL';
111
  const OCULUS_VENUES_BROADCAST = 'OCULUS_VENUES_BROADCAST';
112
  const OFFERS_VIDEO = 'OFFERS_VIDEO';
@@ -144,5 +146,6 @@ class AdVideoContainerTypeValues extends AbstractEnum {
144
  const VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO = 'VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO';
145
  const VIDEO_SUPERRES = 'VIDEO_SUPERRES';
146
  const WOODHENGE = 'WOODHENGE';
 
147
  const YOUR_DAY = 'YOUR_DAY';
148
  }
87
  const HEURISTIC_CLUSTER_VIDEO = 'HEURISTIC_CLUSTER_VIDEO';
88
  const HEURISTIC_PREVIEW = 'HEURISTIC_PREVIEW';
89
  const HIGHLIGHT_CLIP_VIDEO = 'HIGHLIGHT_CLIP_VIDEO';
90
+ const IG_STORIES_READER = 'IG_STORIES_READER';
91
  const INSPIRATION_VIDEO = 'INSPIRATION_VIDEO';
92
  const INSTAGRAM_VIDEO_COPY = 'INSTAGRAM_VIDEO_COPY';
93
  const INSTANT_APPLICATION_PREVIEW = 'INSTANT_APPLICATION_PREVIEW';
108
  const MOMENTS_VIDEO = 'MOMENTS_VIDEO';
109
  const NEO_ASYNC_GAME_VIDEO = 'NEO_ASYNC_GAME_VIDEO';
110
  const NO_STORY = 'NO_STORY';
111
+ const NO_STORY_WITH_ENTPOST = 'NO_STORY_WITH_ENTPOST';
112
  const OCULUS_CREATOR_PORTAL = 'OCULUS_CREATOR_PORTAL';
113
  const OCULUS_VENUES_BROADCAST = 'OCULUS_VENUES_BROADCAST';
114
  const OFFERS_VIDEO = 'OFFERS_VIDEO';
146
  const VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO = 'VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO';
147
  const VIDEO_SUPERRES = 'VIDEO_SUPERRES';
148
  const WOODHENGE = 'WOODHENGE';
149
+ const WORK_KNOWLEDGE_VIDEO = 'WORK_KNOWLEDGE_VIDEO';
150
  const YOUR_DAY = 'YOUR_DAY';
151
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoOriginalProjectionTypeValues.php CHANGED
@@ -38,7 +38,6 @@ use FacebookAds\Enum\AbstractEnum;
38
  class AdVideoOriginalProjectionTypeValues extends AbstractEnum {
39
 
40
  const CUBEMAP = 'cubemap';
41
- const EQUIANGULAR_CUBEMAP = 'equiangular_cubemap';
42
  const EQUIRECTANGULAR = 'equirectangular';
43
  const HALF_EQUIRECTANGULAR = 'half_equirectangular';
44
  }
38
  class AdVideoOriginalProjectionTypeValues extends AbstractEnum {
39
 
40
  const CUBEMAP = 'cubemap';
 
41
  const EQUIRECTANGULAR = 'equirectangular';
42
  const HALF_EQUIRECTANGULAR = 'half_equirectangular';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoValidationAdPlacementsValues.php DELETED
@@ -1,60 +0,0 @@
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 AdVideoValidationAdPlacementsValues getInstance()
37
- */
38
- class AdVideoValidationAdPlacementsValues extends AbstractEnum {
39
-
40
- const AUDIENCE_NETWORK_INSTREAM_VIDEO = 'AUDIENCE_NETWORK_INSTREAM_VIDEO';
41
- const AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE = 'AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE';
42
- const AUDIENCE_NETWORK_REWARDED_VIDEO = 'AUDIENCE_NETWORK_REWARDED_VIDEO';
43
- const DESKTOP_FEED_STANDARD = 'DESKTOP_FEED_STANDARD';
44
- const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
45
- const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
46
- const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
47
- const INSTANT_ARTICLE_STANDARD = 'INSTANT_ARTICLE_STANDARD';
48
- const INSTREAM_VIDEO_DESKTOP = 'INSTREAM_VIDEO_DESKTOP';
49
- const INSTREAM_VIDEO_IMAGE = 'INSTREAM_VIDEO_IMAGE';
50
- const INSTREAM_VIDEO_MOBILE = 'INSTREAM_VIDEO_MOBILE';
51
- const MESSENGER_MOBILE_INBOX_MEDIA = 'MESSENGER_MOBILE_INBOX_MEDIA';
52
- const MESSENGER_MOBILE_STORY_MEDIA = 'MESSENGER_MOBILE_STORY_MEDIA';
53
- const MOBILE_FEED_STANDARD = 'MOBILE_FEED_STANDARD';
54
- const MOBILE_FULLWIDTH = 'MOBILE_FULLWIDTH';
55
- const MOBILE_INTERSTITIAL = 'MOBILE_INTERSTITIAL';
56
- const MOBILE_MEDIUM_RECTANGLE = 'MOBILE_MEDIUM_RECTANGLE';
57
- const MOBILE_NATIVE = 'MOBILE_NATIVE';
58
- const RIGHT_COLUMN_STANDARD = 'RIGHT_COLUMN_STANDARD';
59
- const SUGGESTED_VIDEO_MOBILE = 'SUGGESTED_VIDEO_MOBILE';
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationSupportedPlatformsValues.php CHANGED
@@ -45,6 +45,7 @@ class ApplicationSupportedPlatformsValues extends AbstractEnum {
45
  const IPAD = 'IPAD';
46
  const IPHONE = 'IPHONE';
47
  const MOBILE_WEB = 'MOBILE_WEB';
 
48
  const SUPPLEMENTARY_IMAGES = 'SUPPLEMENTARY_IMAGES';
49
  const WEB = 'WEB';
50
  const WINDOWS = 'WINDOWS';
45
  const IPAD = 'IPAD';
46
  const IPHONE = 'IPHONE';
47
  const MOBILE_WEB = 'MOBILE_WEB';
48
+ const OCULUS = 'OCULUS';
49
  const SUPPLEMENTARY_IMAGES = 'SUPPLEMENTARY_IMAGES';
50
  const WEB = 'WEB';
51
  const WINDOWS = 'WINDOWS';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupAdaccountTasksValues.php CHANGED
@@ -39,8 +39,5 @@ class BusinessAssetGroupAdaccountTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
42
- const CREATIVE = 'CREATIVE';
43
- const DRAFT = 'DRAFT';
44
- const FB_EMPLOYEE_DSO_ADVERTISE = 'FB_EMPLOYEE_DSO_ADVERTISE';
45
  const MANAGE = 'MANAGE';
46
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
 
 
 
42
  const MANAGE = 'MANAGE';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderPermittedTasksValues.php DELETED
@@ -1,45 +0,0 @@
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 BusinessCreativeFolderPermittedTasksValues getInstance()
37
- */
38
- class BusinessCreativeFolderPermittedTasksValues extends AbstractEnum {
39
-
40
- const CREATE_CONTENT = 'CREATE_CONTENT';
41
- const MANAGE_CONTENT = 'MANAGE_CONTENT';
42
- const MANAGE_PERMISSIONS = 'MANAGE_PERMISSIONS';
43
- const VIEW_CONTENT = 'VIEW_CONTENT';
44
- const VIEW_INSIGHTS = 'VIEW_INSIGHTS';
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderSharingAgreementRequestStatusValues.php DELETED
@@ -1,45 +0,0 @@
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 BusinessCreativeFolderSharingAgreementRequestStatusValues getInstance()
37
- */
38
- class BusinessCreativeFolderSharingAgreementRequestStatusValues extends AbstractEnum {
39
-
40
- const APPROVE = 'APPROVE';
41
- const DECLINE = 'DECLINE';
42
- const EXPIRED = 'EXPIRED';
43
- const IN_PROGRESS = 'IN_PROGRESS';
44
- const PENDING = 'PENDING';
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderTasksValues.php DELETED
@@ -1,45 +0,0 @@
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 BusinessCreativeFolderTasksValues getInstance()
37
- */
38
- class BusinessCreativeFolderTasksValues extends AbstractEnum {
39
-
40
- const CREATE_CONTENT = 'CREATE_CONTENT';
41
- const MANAGE_CONTENT = 'MANAGE_CONTENT';
42
- const MANAGE_PERMISSIONS = 'MANAGE_PERMISSIONS';
43
- const VIEW_CONTENT = 'VIEW_CONTENT';
44
- const VIEW_INSIGHTS = 'VIEW_INSIGHTS';
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessImageValidationAdPlacementsValues.php DELETED
@@ -1,60 +0,0 @@
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 BusinessImageValidationAdPlacementsValues getInstance()
37
- */
38
- class BusinessImageValidationAdPlacementsValues extends AbstractEnum {
39
-
40
- const AUDIENCE_NETWORK_INSTREAM_VIDEO = 'AUDIENCE_NETWORK_INSTREAM_VIDEO';
41
- const AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE = 'AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE';
42
- const AUDIENCE_NETWORK_REWARDED_VIDEO = 'AUDIENCE_NETWORK_REWARDED_VIDEO';
43
- const DESKTOP_FEED_STANDARD = 'DESKTOP_FEED_STANDARD';
44
- const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
45
- const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
46
- const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
47
- const INSTANT_ARTICLE_STANDARD = 'INSTANT_ARTICLE_STANDARD';
48
- const INSTREAM_VIDEO_DESKTOP = 'INSTREAM_VIDEO_DESKTOP';
49
- const INSTREAM_VIDEO_IMAGE = 'INSTREAM_VIDEO_IMAGE';
50
- const INSTREAM_VIDEO_MOBILE = 'INSTREAM_VIDEO_MOBILE';
51
- const MESSENGER_MOBILE_INBOX_MEDIA = 'MESSENGER_MOBILE_INBOX_MEDIA';
52
- const MESSENGER_MOBILE_STORY_MEDIA = 'MESSENGER_MOBILE_STORY_MEDIA';
53
- const MOBILE_FEED_STANDARD = 'MOBILE_FEED_STANDARD';
54
- const MOBILE_FULLWIDTH = 'MOBILE_FULLWIDTH';
55
- const MOBILE_INTERSTITIAL = 'MOBILE_INTERSTITIAL';
56
- const MOBILE_MEDIUM_RECTANGLE = 'MOBILE_MEDIUM_RECTANGLE';
57
- const MOBILE_NATIVE = 'MOBILE_NATIVE';
58
- const RIGHT_COLUMN_STANDARD = 'RIGHT_COLUMN_STANDARD';
59
- const SUGGESTED_VIDEO_MOBILE = 'SUGGESTED_VIDEO_MOBILE';
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php CHANGED
@@ -39,8 +39,5 @@ class BusinessPermittedTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
42
- const CREATIVE = 'CREATIVE';
43
- const DRAFT = 'DRAFT';
44
- const FB_EMPLOYEE_DSO_ADVERTISE = 'FB_EMPLOYEE_DSO_ADVERTISE';
45
  const MANAGE = 'MANAGE';
46
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const ANALYZE = 'ANALYZE';
 
 
 
42
  const MANAGE = 'MANAGE';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessRoleRequestRoleValues.php CHANGED
@@ -43,4 +43,9 @@ class BusinessRoleRequestRoleValues extends AbstractEnum {
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
 
 
 
 
 
46
  }
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
46
+ const PARTNER_CENTER_ADMIN = 'PARTNER_CENTER_ADMIN';
47
+ const PARTNER_CENTER_ANALYST = 'PARTNER_CENTER_ANALYST';
48
+ const PARTNER_CENTER_EDUCATION = 'PARTNER_CENTER_EDUCATION';
49
+ const PARTNER_CENTER_MARKETING = 'PARTNER_CENTER_MARKETING';
50
+ const PARTNER_CENTER_OPERATIONS = 'PARTNER_CENTER_OPERATIONS';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessUserRoleValues.php CHANGED
@@ -43,4 +43,9 @@ class BusinessUserRoleValues extends AbstractEnum {
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
 
 
 
 
 
46
  }
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
46
+ const PARTNER_CENTER_ADMIN = 'PARTNER_CENTER_ADMIN';
47
+ const PARTNER_CENTER_ANALYST = 'PARTNER_CENTER_ANALYST';
48
+ const PARTNER_CENTER_EDUCATION = 'PARTNER_CENTER_EDUCATION';
49
+ const PARTNER_CENTER_MARKETING = 'PARTNER_CENTER_MARKETING';
50
+ const PARTNER_CENTER_OPERATIONS = 'PARTNER_CENTER_OPERATIONS';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoriesValues.php CHANGED
@@ -40,5 +40,6 @@ class CampaignSpecialAdCategoriesValues extends AbstractEnum {
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
 
43
  const NONE = 'NONE';
44
  }
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
43
+ const ISSUES_ELECTIONS_POLITICS = 'ISSUES_ELECTIONS_POLITICS';
44
  const NONE = 'NONE';
45
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryCountryValues.php ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 CampaignSpecialAdCategoryCountryValues getInstance()
37
+ */
38
+ class CampaignSpecialAdCategoryCountryValues 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 AM = 'AM';
47
+ const AN = 'AN';
48
+ const AO = 'AO';
49
+ const AQ = 'AQ';
50
+ const AR = 'AR';
51
+ const VALUE_AS = 'AS';
52
+ const AT = 'AT';
53
+ const AU = 'AU';
54
+ const AW = 'AW';
55
+ const AX = 'AX';
56
+ const AZ = 'AZ';
57
+ const BA = 'BA';
58
+ const BB = 'BB';
59
+ const BD = 'BD';
60
+ const BE = 'BE';
61
+ const BF = 'BF';
62
+ const BG = 'BG';
63
+ const BH = 'BH';
64
+ const BI = 'BI';
65
+ const BJ = 'BJ';
66
+ const BL = 'BL';
67
+ const BM = 'BM';
68
+ const BN = 'BN';
69
+ const BO = 'BO';
70
+ const BQ = 'BQ';
71
+ const BR = 'BR';
72
+ const BS = 'BS';
73
+ const BT = 'BT';
74
+ const BV = 'BV';
75
+ const BW = 'BW';
76
+ const BY = 'BY';
77
+ const BZ = 'BZ';
78
+ const CA = 'CA';
79
+ const CC = 'CC';
80
+ const CD = 'CD';
81
+ const CF = 'CF';
82
+ const CG = 'CG';
83
+ const CH = 'CH';
84
+ const CI = 'CI';
85
+ const CK = 'CK';
86
+ const CL = 'CL';
87
+ const CM = 'CM';
88
+ const CN = 'CN';
89
+ const CO = 'CO';
90
+ const CR = 'CR';
91
+ const CU = 'CU';
92
+ const CV = 'CV';
93
+ const CW = 'CW';
94
+ const CX = 'CX';
95
+ const CY = 'CY';
96
+ const CZ = 'CZ';
97
+ const DE = 'DE';
98
+ const DJ = 'DJ';
99
+ const DK = 'DK';
100
+ const DM = 'DM';
101
+ const VALUE_DO = 'DO';
102
+ const DZ = 'DZ';
103
+ const EC = 'EC';
104
+ const EE = 'EE';
105
+ const EG = 'EG';
106
+ const EH = 'EH';
107
+ const ER = 'ER';
108
+ const ES = 'ES';
109
+ const ET = 'ET';
110
+ const FI = 'FI';
111
+ const FJ = 'FJ';
112
+ const FK = 'FK';
113
+ const FM = 'FM';
114
+ const FO = 'FO';
115
+ const FR = 'FR';
116
+ const GA = 'GA';
117
+ const GB = 'GB';
118
+ const GD = 'GD';
119
+ const GE = 'GE';
120
+ const GF = 'GF';
121
+ const GG = 'GG';
122
+ const GH = 'GH';
123
+ const GI = 'GI';
124
+ const GL = 'GL';
125
+ const GM = 'GM';
126
+ const GN = 'GN';
127
+ const GP = 'GP';
128
+ const GQ = 'GQ';
129
+ const GR = 'GR';
130
+ const GS = 'GS';
131
+ const GT = 'GT';
132
+ const GU = 'GU';
133
+ const GW = 'GW';
134
+ const GY = 'GY';
135
+ const HK = 'HK';
136
+ const HM = 'HM';
137
+ const HN = 'HN';
138
+ const HR = 'HR';
139
+ const HT = 'HT';
140
+ const HU = 'HU';
141
+ const ID = 'ID';
142
+ const IE = 'IE';
143
+ const IL = 'IL';
144
+ const IM = 'IM';
145
+ const IN = 'IN';
146
+ const IO = 'IO';
147
+ const IQ = 'IQ';
148
+ const IR = 'IR';
149
+ const IS = 'IS';
150
+ const IT = 'IT';
151
+ const JE = 'JE';
152
+ const JM = 'JM';
153
+ const JO = 'JO';
154
+ const JP = 'JP';
155
+ const KE = 'KE';
156
+ const KG = 'KG';
157
+ const KH = 'KH';
158
+ const KI = 'KI';
159
+ const KM = 'KM';
160
+ const KN = 'KN';
161
+ const KP = 'KP';
162
+ const KR = 'KR';
163
+ const KW = 'KW';
164
+ const KY = 'KY';
165
+ const KZ = 'KZ';
166
+ const LA = 'LA';
167
+ const LB = 'LB';
168
+ const LC = 'LC';
169
+ const LI = 'LI';
170
+ const LK = 'LK';
171
+ const LR = 'LR';
172
+ const LS = 'LS';
173
+ const LT = 'LT';
174
+ const LU = 'LU';
175
+ const LV = 'LV';
176
+ const LY = 'LY';
177
+ const MA = 'MA';
178
+ const MC = 'MC';
179
+ const MD = 'MD';
180
+ const ME = 'ME';
181
+ const MF = 'MF';
182
+ const MG = 'MG';
183
+ const MH = 'MH';
184
+ const MK = 'MK';
185
+ const ML = 'ML';
186
+ const MM = 'MM';
187
+ const MN = 'MN';
188
+ const MO = 'MO';
189
+ const MP = 'MP';
190
+ const MQ = 'MQ';
191
+ const MR = 'MR';
192
+ const MS = 'MS';
193
+ const MT = 'MT';
194
+ const MU = 'MU';
195
+ const MV = 'MV';
196
+ const MW = 'MW';
197
+ const MX = 'MX';
198
+ const MY = 'MY';
199
+ const MZ = 'MZ';
200
+ const NA = 'NA';
201
+ const NC = 'NC';
202
+ const NE = 'NE';
203
+ const NF = 'NF';
204
+ const NG = 'NG';
205
+ const NI = 'NI';
206
+ const NL = 'NL';
207
+ const NO = 'NO';
208
+ const NP = 'NP';
209
+ const NR = 'NR';
210
+ const NU = 'NU';
211
+ const NZ = 'NZ';
212
+ const OM = 'OM';
213
+ const PA = 'PA';
214
+ const PE = 'PE';
215
+ const PF = 'PF';
216
+ const PG = 'PG';
217
+ const PH = 'PH';
218
+ const PK = 'PK';
219
+ const PL = 'PL';
220
+ const PM = 'PM';
221
+ const PN = 'PN';
222
+ const PR = 'PR';
223
+ const PS = 'PS';
224
+ const PT = 'PT';
225
+ const PW = 'PW';
226
+ const PY = 'PY';
227
+ const QA = 'QA';
228
+ const RE = 'RE';
229
+ const RO = 'RO';
230
+ const RS = 'RS';
231
+ const RU = 'RU';
232
+ const RW = 'RW';
233
+ const SA = 'SA';
234
+ const SB = 'SB';
235
+ const SC = 'SC';
236
+ const SD = 'SD';
237
+ const SE = 'SE';
238
+ const SG = 'SG';
239
+ const SH = 'SH';
240
+ const SI = 'SI';
241
+ const SJ = 'SJ';
242
+ const SK = 'SK';
243
+ const SL = 'SL';
244
+ const SM = 'SM';
245
+ const SN = 'SN';
246
+ const SO = 'SO';
247
+ const SR = 'SR';
248
+ const SS = 'SS';
249
+ const ST = 'ST';
250
+ const SV = 'SV';
251
+ const SX = 'SX';
252
+ const SY = 'SY';
253
+ const SZ = 'SZ';
254
+ const TC = 'TC';
255
+ const TD = 'TD';
256
+ const TF = 'TF';
257
+ const TG = 'TG';
258
+ const TH = 'TH';
259
+ const TJ = 'TJ';
260
+ const TK = 'TK';
261
+ const TL = 'TL';
262
+ const TM = 'TM';
263
+ const TN = 'TN';
264
+ const TO = 'TO';
265
+ const TR = 'TR';
266
+ const TT = 'TT';
267
+ const TV = 'TV';
268
+ const TW = 'TW';
269
+ const TZ = 'TZ';
270
+ const UA = 'UA';
271
+ const UG = 'UG';
272
+ const UM = 'UM';
273
+ const US = 'US';
274
+ const UY = 'UY';
275
+ const UZ = 'UZ';
276
+ const VA = 'VA';
277
+ const VC = 'VC';
278
+ const VE = 'VE';
279
+ const VG = 'VG';
280
+ const VI = 'VI';
281
+ const VN = 'VN';
282
+ const VU = 'VU';
283
+ const WF = 'WF';
284
+ const WS = 'WS';
285
+ const XK = 'XK';
286
+ const YE = 'YE';
287
+ const YT = 'YT';
288
+ const ZA = 'ZA';
289
+ const ZM = 'ZM';
290
+ const ZW = 'ZW';
291
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryValues.php CHANGED
@@ -40,5 +40,6 @@ class CampaignSpecialAdCategoryValues extends AbstractEnum {
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
 
43
  const NONE = 'NONE';
44
  }
40
  const CREDIT = 'CREDIT';
41
  const EMPLOYMENT = 'EMPLOYMENT';
42
  const HOUSING = 'HOUSING';
43
+ const ISSUES_ELECTIONS_POLITICS = 'ISSUES_ELECTIONS_POLITICS';
44
  const NONE = 'NONE';
45
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageSettingTypeValues.php → EventOnlineEventFormatValues.php} RENAMED
@@ -33,13 +33,13 @@ use FacebookAds\Enum\AbstractEnum;
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 PageSettingTypeValues getInstance()
37
  */
38
- class PageSettingTypeValues extends AbstractEnum {
39
 
40
- const ACCOUNT_LINKING = 'ACCOUNT_LINKING';
41
- const CALL_TO_ACTIONS = 'CALL_TO_ACTIONS';
42
- const DOMAIN_WHITELISTING = 'DOMAIN_WHITELISTING';
43
- const GREETING = 'GREETING';
44
- const PAYMENT = 'PAYMENT';
45
  }
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 EventOnlineEventFormatValues getInstance()
37
  */
38
+ class EventOnlineEventFormatValues extends AbstractEnum {
39
 
40
+ const FB_LIVE = 'fb_live';
41
+ const MESSENGER_ROOM = 'messenger_room';
42
+ const NONE = 'none';
43
+ const OTHER = 'other';
44
+ const THIRD_PARTY = 'third_party';
45
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/EventTypeValues.php CHANGED
@@ -38,6 +38,7 @@ use FacebookAds\Enum\AbstractEnum;
38
  class EventTypeValues extends AbstractEnum {
39
 
40
  const COMMUNITY = 'community';
 
41
  const GROUP = 'group';
42
  const VALUE_PRIVATE = 'private';
43
  const VALUE_PUBLIC = 'public';
38
  class EventTypeValues extends AbstractEnum {
39
 
40
  const COMMUNITY = 'community';
41
+ const FRIENDS = 'friends';
42
  const GROUP = 'group';
43
  const VALUE_PRIVATE = 'private';
44
  const VALUE_PUBLIC = 'public';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php CHANGED
@@ -82,6 +82,7 @@ class GroupGroupTypeValues extends AbstractEnum {
82
  const WORK_MENTORSHIP = 'WORK_MENTORSHIP';
83
  const WORK_MULTI_COMPANY = 'WORK_MULTI_COMPANY';
84
  const WORK_RECRUITING = 'WORK_RECRUITING';
 
85
  const WORK_SOCIAL = 'WORK_SOCIAL';
86
  const WORK_TEAM = 'WORK_TEAM';
87
  const WORK_TEAMWORK = 'WORK_TEAMWORK';
82
  const WORK_MENTORSHIP = 'WORK_MENTORSHIP';
83
  const WORK_MULTI_COMPANY = 'WORK_MULTI_COMPANY';
84
  const WORK_RECRUITING = 'WORK_RECRUITING';
85
+ const WORK_RESUME_REVIEW = 'WORK_RESUME_REVIEW';
86
  const WORK_SOCIAL = 'WORK_SOCIAL';
87
  const WORK_TEAM = 'WORK_TEAM';
88
  const WORK_TEAMWORK = 'WORK_TEAMWORK';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php CHANGED
@@ -82,6 +82,7 @@ class GroupPurposeValues extends AbstractEnum {
82
  const WORK_MENTORSHIP = 'WORK_MENTORSHIP';
83
  const WORK_MULTI_COMPANY = 'WORK_MULTI_COMPANY';
84
  const WORK_RECRUITING = 'WORK_RECRUITING';
 
85
  const WORK_SOCIAL = 'WORK_SOCIAL';
86
  const WORK_TEAM = 'WORK_TEAM';
87
  const WORK_TEAMWORK = 'WORK_TEAMWORK';
82
  const WORK_MENTORSHIP = 'WORK_MENTORSHIP';
83
  const WORK_MULTI_COMPANY = 'WORK_MULTI_COMPANY';
84
  const WORK_RECRUITING = 'WORK_RECRUITING';
85
+ const WORK_RESUME_REVIEW = 'WORK_RESUME_REVIEW';
86
  const WORK_SOCIAL = 'WORK_SOCIAL';
87
  const WORK_TEAM = 'WORK_TEAM';
88
  const WORK_TEAMWORK = 'WORK_TEAMWORK';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php CHANGED
@@ -42,6 +42,7 @@ class PageCallToActionAndroidDestinationTypeValues extends AbstractEnum {
42
  const EMAIL = 'EMAIL';
43
  const FACEBOOK_APP = 'FACEBOOK_APP';
44
  const FOLLOW = 'FOLLOW';
 
45
  const MESSENGER = 'MESSENGER';
46
  const MINI_SHOP = 'MINI_SHOP';
47
  const NONE = 'NONE';
42
  const EMAIL = 'EMAIL';
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';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionIphoneDestinationTypeValues.php CHANGED
@@ -42,6 +42,7 @@ class PageCallToActionIphoneDestinationTypeValues extends AbstractEnum {
42
  const EMAIL = 'EMAIL';
43
  const FACEBOOK_APP = 'FACEBOOK_APP';
44
  const FOLLOW = 'FOLLOW';
 
45
  const MESSENGER = 'MESSENGER';
46
  const MINI_SHOP = 'MINI_SHOP';
47
  const NONE = 'NONE';
42
  const EMAIL = 'EMAIL';
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';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php CHANGED
@@ -65,6 +65,7 @@ class PageCallToActionTypeValues extends AbstractEnum {
65
  const SHOP_NOW = 'SHOP_NOW';
66
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
67
  const SIGN_UP = 'SIGN_UP';
 
68
  const VIEW_SHOP = 'VIEW_SHOP';
69
  const VISIT_GROUP = 'VISIT_GROUP';
70
  const WATCH_NOW = 'WATCH_NOW';
65
  const SHOP_NOW = 'SHOP_NOW';
66
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
67
  const SIGN_UP = 'SIGN_UP';
68
+ const VIEW_INVENTORY = 'VIEW_INVENTORY';
69
  const VIEW_SHOP = 'VIEW_SHOP';
70
  const VISIT_GROUP = 'VISIT_GROUP';
71
  const WATCH_NOW = 'WATCH_NOW';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePickupOptionsValues.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 PagePickupOptionsValues getInstance()
37
+ */
38
+ class PagePickupOptionsValues extends AbstractEnum {
39
+
40
+ const CURBSIDE = 'CURBSIDE';
41
+ const IN_STORE = 'IN_STORE';
42
+ const OTHER = 'OTHER';
43
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageSubscribedFieldsValues.php CHANGED
@@ -45,7 +45,6 @@ class PageSubscribedFieldsValues extends AbstractEnum {
45
  const BRANDED_CAMERA = 'branded_camera';
46
  const CATEGORY = 'category';
47
  const CHECKINS = 'checkins';
48
- const COMMERCE_ORDER = 'commerce_order';
49
  const COMPANY_OVERVIEW = 'company_overview';
50
  const CONVERSATIONS = 'conversations';
51
  const CULINARY_TEAM = 'culinary_team';
@@ -81,6 +80,7 @@ class PageSubscribedFieldsValues extends AbstractEnum {
81
  const MESSAGING_CHECKOUT_UPDATES = 'messaging_checkout_updates';
82
  const MESSAGING_DIRECT_SENDS = 'messaging_direct_sends';
83
  const MESSAGING_FBLOGIN_ACCOUNT_LINKING = 'messaging_fblogin_account_linking';
 
84
  const MESSAGING_GAME_PLAYS = 'messaging_game_plays';
85
  const MESSAGING_HANDOVERS = 'messaging_handovers';
86
  const MESSAGING_OPTINS = 'messaging_optins';
45
  const BRANDED_CAMERA = 'branded_camera';
46
  const CATEGORY = 'category';
47
  const CHECKINS = 'checkins';
 
48
  const COMPANY_OVERVIEW = 'company_overview';
49
  const CONVERSATIONS = 'conversations';
50
  const CULINARY_TEAM = 'culinary_team';
80
  const MESSAGING_CHECKOUT_UPDATES = 'messaging_checkout_updates';
81
  const MESSAGING_DIRECT_SENDS = 'messaging_direct_sends';
82
  const MESSAGING_FBLOGIN_ACCOUNT_LINKING = 'messaging_fblogin_account_linking';
83
+ const MESSAGING_FEEDBACK = 'messaging_feedback';
84
  const MESSAGING_GAME_PLAYS = 'messaging_game_plays';
85
  const MESSAGING_HANDOVERS = 'messaging_handovers';
86
  const MESSAGING_OPTINS = 'messaging_optins';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogPermittedTasksValues.php CHANGED
@@ -39,4 +39,5 @@ class ProductCatalogPermittedTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const MANAGE = 'MANAGE';
 
42
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const MANAGE = 'MANAGE';
42
+ const MANAGE_AR = 'MANAGE_AR';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogTasksValues.php CHANGED
@@ -39,4 +39,5 @@ class ProductCatalogTasksValues extends AbstractEnum {
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const MANAGE = 'MANAGE';
 
42
  }
39
 
40
  const ADVERTISE = 'ADVERTISE';
41
  const MANAGE = 'MANAGE';
42
+ const MANAGE_AR = 'MANAGE_AR';
43
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogVerticalValues.php CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
37
  */
38
  class ProductCatalogVerticalValues extends AbstractEnum {
39
 
 
40
  const BOOKABLE = 'bookable';
41
  const COMMERCE = 'commerce';
42
  const DESTINATIONS = 'destinations';
37
  */
38
  class ProductCatalogVerticalValues extends AbstractEnum {
39
 
40
+ const ADOPTABLE_PETS = 'adoptable_pets';
41
  const BOOKABLE = 'bookable';
42
  const COMMERCE = 'commerce';
43
  const DESTINATIONS = 'destinations';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedFeedTypeValues.php CHANGED
@@ -48,6 +48,7 @@ class ProductFeedFeedTypeValues extends AbstractEnum {
48
  const MEDIA_TITLE = 'MEDIA_TITLE';
49
  const OFFER = 'OFFER';
50
  const PRODUCTS = 'PRODUCTS';
 
51
  const VEHICLES = 'VEHICLES';
52
  const VEHICLE_OFFER = 'VEHICLE_OFFER';
53
  }
48
  const MEDIA_TITLE = 'MEDIA_TITLE';
49
  const OFFER = 'OFFER';
50
  const PRODUCTS = 'PRODUCTS';
51
+ const TRANSACTABLE_ITEMS = 'TRANSACTABLE_ITEMS';
52
  const VEHICLES = 'VEHICLES';
53
  const VEHICLE_OFFER = 'VEHICLE_OFFER';
54
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageThreadStateValues.php → ProfilePictureSourceBreakingChangeValues.php} RENAMED
@@ -33,10 +33,9 @@ use FacebookAds\Enum\AbstractEnum;
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 PageThreadStateValues getInstance()
37
  */
38
- class PageThreadStateValues extends AbstractEnum {
39
 
40
- const EXISTING_THREAD = 'EXISTING_THREAD';
41
- const NEW_THREAD = 'NEW_THREAD';
42
  }
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 ProfilePictureSourceBreakingChangeValues getInstance()
37
  */
38
+ class ProfilePictureSourceBreakingChangeValues extends AbstractEnum {
39
 
40
+ const PROFILE_PICTURE = 'PROFILE_PICTURE';
 
41
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/StreamingReactionReactionTypeValues.php DELETED
@@ -1,50 +0,0 @@
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 StreamingReactionReactionTypeValues getInstance()
37
- */
38
- class StreamingReactionReactionTypeValues extends AbstractEnum {
39
-
40
- const ANGRY = 'ANGRY';
41
- const CARE = 'CARE';
42
- const HAHA = 'HAHA';
43
- const LIKE = 'LIKE';
44
- const LOVE = 'LOVE';
45
- const NONE = 'NONE';
46
- const PRIDE = 'PRIDE';
47
- const SAD = 'SAD';
48
- const THANKFUL = 'THANKFUL';
49
- const WOW = 'WOW';
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php CHANGED
@@ -43,4 +43,9 @@ class SystemUserRoleValues extends AbstractEnum {
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
 
 
 
 
 
46
  }
43
  const EMPLOYEE = 'EMPLOYEE';
44
  const FINANCE_ANALYST = 'FINANCE_ANALYST';
45
  const FINANCE_EDITOR = 'FINANCE_EDITOR';
46
+ const PARTNER_CENTER_ADMIN = 'PARTNER_CENTER_ADMIN';
47
+ const PARTNER_CENTER_ANALYST = 'PARTNER_CENTER_ANALYST';
48
+ const PARTNER_CENTER_EDUCATION = 'PARTNER_CENTER_EDUCATION';
49
+ const PARTNER_CENTER_MARKETING = 'PARTNER_CENTER_MARKETING';
50
+ const PARTNER_CENTER_OPERATIONS = 'PARTNER_CENTER_OPERATIONS';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessProfile.php DELETED
@@ -1,104 +0,0 @@
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\WhatsAppBusinessProfileFields;
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 WhatsAppBusinessProfile extends AbstractCrudObject {
43
-
44
- /**
45
- * @return WhatsAppBusinessProfileFields
46
- */
47
- public static function getFieldsEnum() {
48
- return WhatsAppBusinessProfileFields::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 WhatsAppBusinessProfile(),
71
- 'NODE',
72
- WhatsAppBusinessProfile::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
- public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
81
- $this->assureId();
82
-
83
- $param_types = array(
84
- 'verified_name' => 'string',
85
- );
86
- $enums = array(
87
- );
88
-
89
- $request = new ApiRequest(
90
- $this->api,
91
- $this->data['id'],
92
- RequestInterface::METHOD_POST,
93
- '/',
94
- new WhatsAppBusinessProfile(),
95
- 'NODE',
96
- WhatsAppBusinessProfile::getFieldsEnum()->getValues(),
97
- new TypeChecker($param_types, $enums)
98
- );
99
- $request->addParams($params);
100
- $request->addFields($fields);
101
- return $pending ? $request : $request->execute();
102
- }
103
-
104
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{BrandAudience.php → WorkMeetingLink.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\BrandAudienceFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\BrandAudienceFields;
39
  *
40
  */
41
 
42
- class BrandAudience extends AbstractCrudObject {
43
 
44
  /**
45
- * @return BrandAudienceFields
46
  */
47
  public static function getFieldsEnum() {
48
- return BrandAudienceFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
@@ -67,9 +67,9 @@ class BrandAudience extends AbstractCrudObject {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
- new BrandAudience(),
71
  'NODE',
72
- BrandAudience::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\WorkMeetingLinkFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class WorkMeetingLink extends AbstractCrudObject {
43
 
44
  /**
45
+ * @return WorkMeetingLinkFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return WorkMeetingLinkFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
67
  $this->data['id'],
68
  RequestInterface::METHOD_GET,
69
  '/',
70
+ new WorkMeetingLink(),
71
  'NODE',
72
+ WorkMeetingLink::getFieldsEnum()->getValues(),
73
  new TypeChecker($param_types, $enums)
74
  );
75
  $request->addParams($params);