|
53 | 53 | use FacebookAds\Object\Values\ManagedPartnerBusinessSurveyBusinessTypeValues; |
54 | 54 | use FacebookAds\Object\Values\ManagedPartnerBusinessTimezoneIdValues; |
55 | 55 | use FacebookAds\Object\Values\ManagedPartnerBusinessVerticalValues; |
| 56 | +use FacebookAds\Object\Values\OmegaCustomerTrxProductTypesValues; |
56 | 57 | use FacebookAds\Object\Values\OmegaCustomerTrxTypeValues; |
57 | 58 | use FacebookAds\Object\Values\ProductCatalogAdditionalVerticalOptionValues; |
58 | 59 | use FacebookAds\Object\Values\ProductCatalogVerticalValues; |
@@ -736,15 +737,21 @@ public function getBusinessInvoices(array $fields = array(), array $params = arr |
736 | 737 | $this->assureId(); |
737 | 738 |
|
738 | 739 | $param_types = array( |
| 740 | + 'account_ids' => 'list<unsigned int>', |
| 741 | + 'advertiser_name' => 'string', |
| 742 | + 'billing_period_end' => 'string', |
| 743 | + 'billing_period_start' => 'string', |
739 | 744 | 'end_date' => 'string', |
740 | 745 | 'invoice_id' => 'string', |
741 | 746 | 'issue_end_date' => 'string', |
742 | 747 | 'issue_start_date' => 'string', |
| 748 | + 'product_types' => 'list<product_types_enum>', |
743 | 749 | 'root_id' => 'unsigned int', |
744 | 750 | 'start_date' => 'string', |
745 | 751 | 'type' => 'type_enum', |
746 | 752 | ); |
747 | 753 | $enums = array( |
| 754 | + 'product_types_enum' => OmegaCustomerTrxProductTypesValues::getInstance()->getValues(), |
748 | 755 | 'type_enum' => OmegaCustomerTrxTypeValues::getInstance()->getValues(), |
749 | 756 | ); |
750 | 757 |
|
@@ -934,6 +941,29 @@ public function createClientApp(array $fields = array(), array $params = array() |
934 | 941 | return $pending ? $request : $request->execute(); |
935 | 942 | } |
936 | 943 |
|
| 944 | + public function getClientInstagramAssets(array $fields = array(), array $params = array(), $pending = false) { |
| 945 | + $this->assureId(); |
| 946 | + |
| 947 | + $param_types = array( |
| 948 | + ); |
| 949 | + $enums = array( |
| 950 | + ); |
| 951 | + |
| 952 | + $request = new ApiRequest( |
| 953 | + $this->api, |
| 954 | + $this->data['id'], |
| 955 | + RequestInterface::METHOD_GET, |
| 956 | + '/client_instagram_assets', |
| 957 | + new InstagramBusinessAsset(), |
| 958 | + 'EDGE', |
| 959 | + InstagramBusinessAsset::getFieldsEnum()->getValues(), |
| 960 | + new TypeChecker($param_types, $enums) |
| 961 | + ); |
| 962 | + $request->addParams($params); |
| 963 | + $request->addFields($fields); |
| 964 | + return $pending ? $request : $request->execute(); |
| 965 | + } |
| 966 | + |
937 | 967 | public function getClientOffsiteSignalContainerBusinessObjects(array $fields = array(), array $params = array(), $pending = false) { |
938 | 968 | $this->assureId(); |
939 | 969 |
|
@@ -2078,6 +2108,29 @@ public function getOwnedInstagramAccounts(array $fields = array(), array $params |
2078 | 2108 | return $pending ? $request : $request->execute(); |
2079 | 2109 | } |
2080 | 2110 |
|
| 2111 | + public function getOwnedInstagramAssets(array $fields = array(), array $params = array(), $pending = false) { |
| 2112 | + $this->assureId(); |
| 2113 | + |
| 2114 | + $param_types = array( |
| 2115 | + ); |
| 2116 | + $enums = array( |
| 2117 | + ); |
| 2118 | + |
| 2119 | + $request = new ApiRequest( |
| 2120 | + $this->api, |
| 2121 | + $this->data['id'], |
| 2122 | + RequestInterface::METHOD_GET, |
| 2123 | + '/owned_instagram_assets', |
| 2124 | + new InstagramBusinessAsset(), |
| 2125 | + 'EDGE', |
| 2126 | + InstagramBusinessAsset::getFieldsEnum()->getValues(), |
| 2127 | + new TypeChecker($param_types, $enums) |
| 2128 | + ); |
| 2129 | + $request->addParams($params); |
| 2130 | + $request->addFields($fields); |
| 2131 | + return $pending ? $request : $request->execute(); |
| 2132 | + } |
| 2133 | + |
2081 | 2134 | public function getOwnedOffsiteSignalContainerBusinessObjects(array $fields = array(), array $params = array(), $pending = false) { |
2082 | 2135 | $this->assureId(); |
2083 | 2136 |
|
|
0 commit comments