Skip to content

Commit 9a6d441

Browse files
committed
Fixing branch names
1 parent 622d8c3 commit 9a6d441

File tree

6 files changed

+402
-0
lines changed

6 files changed

+402
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ composer.lock
1111
.php-cs-fixer.cache
1212
.phpunit.result.cache
1313
phpunit.xml
14+
composer.phar
1415

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
3+
namespace PHPFUI\ConstantContact\Definition;
4+
5+
class FileObject extends \PHPFUI\ConstantContact\Definition\Base
6+
{
7+
/**
8+
* @var int $id Identifies the MyLibrary file.
9+
* @var string $name The file name.
10+
* @var int $height The image height.
11+
* @var int $width The image width.
12+
* @var int $size The image size.
13+
* @var string $url The image URL.
14+
* @var string $description The image description.
15+
* @var string $folder The image folder
16+
* @var string $source The application that uploaded this image.
17+
* @var string $type The image format.
18+
* @var string $status THe image status.
19+
* @var bool $image Boolean indicating if this file is an image.
20+
* @var int $folder_id Identifies a folder in MyLibrary.
21+
* @var string $external_url The external url for the file.
22+
* @var string $modified_date Identifies the time a user last modified the file.
23+
* @var string $added_date Identifies the time a user originally added the file to MyLibrary.
24+
* @var string $external_file_id External identifier for the file.
25+
*/
26+
27+
protected static array $fields = [
28+
'id' => 'int',
29+
'name' => 'string',
30+
'height' => 'int',
31+
'width' => 'int',
32+
'size' => 'int',
33+
'url' => 'string',
34+
'description' => 'string',
35+
'folder' => 'string',
36+
'source' => ['MyComputer', 'StockImage', 'Facebook', 'Instagram', 'Bigstock', 'Mobile', 'Artwork', 'Canva'],
37+
'type' => ['GIF', 'JPG', 'PDF', 'PNG', 'DOC', 'DOCX', 'XLS', 'XLSX', 'PPT', 'PPTX'],
38+
'status' => ['Active', 'Processing', 'VirusFound', 'Deleted', 'Purged', 'Failed'],
39+
'thumbnail' => 'PHPFUI\\ConstantContact\\Definition\\Thumbnail',
40+
'image' => 'bool',
41+
'folder_id' => 'int',
42+
'external_url' => 'string',
43+
'modified_date' => 'string',
44+
'added_date' => 'string',
45+
'external_file_id' => 'string',
46+
47+
];
48+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace PHPFUI\ConstantContact\Definition;
4+
5+
class Thumbnail extends \PHPFUI\ConstantContact\Definition\Base
6+
{
7+
/**
8+
* @var int $width Thumbnail width.
9+
* @var int $height Thumbnail height.
10+
* @var string $url Thumbnail url.
11+
*/
12+
13+
protected static array $fields = [
14+
'width' => 'int',
15+
'height' => 'int',
16+
'url' => 'string',
17+
18+
];
19+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use generate.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\V3\Emails\Activities;
6+
7+
class NonOpenerResends extends \PHPFUI\ConstantContact\Base
8+
{
9+
10+
public function __construct(\PHPFUI\ConstantContact\Client $client)
11+
{
12+
parent::__construct($client, '/v3/emails/activities/{campaign_activity_id}/non_opener_resends');
13+
}
14+
15+
16+
/**
17+
* GET Details for a Resend to Non-openers Campaign Activity
18+
*
19+
* Get details about a resend to non-openers campaign activity. If a resend
20+
* activity does not exist for the specified `campaign_activity_id`, an
21+
* empty list is returned in the results. You can only create one resend
22+
* activity per email campaign.
23+
*
24+
* @param string $campaign_activity_id The unique ID for the primary email campaign activity.
25+
*/
26+
public function get(string $campaign_activity_id) : array
27+
{
28+
return $this->doGet(['campaign_activity_id' => $campaign_activity_id, ]);
29+
}
30+
}

update.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
exec('/usr/bin/php8.0 composer.phar update');
4+
35
include 'vendor/autoload.php';
46

57
// get the latest

0 commit comments

Comments
 (0)