@parra/parra-js-sdk 0.3.626 → 0.3.628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ParraAPI.d.ts +4 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -816,7 +816,7 @@ export interface Site {
|
|
816
816
|
icons: Array<SiteIconStub>;
|
817
817
|
}
|
818
818
|
export interface UpdateSiteRequestBody {
|
819
|
-
name
|
819
|
+
name?: string;
|
820
820
|
description?: string | null;
|
821
821
|
logo_asset_id?: string | null;
|
822
822
|
wordmark_asset_id?: string | null;
|
@@ -1802,6 +1802,8 @@ export interface UpdateProductRequestBody {
|
|
1802
1802
|
disabled?: boolean;
|
1803
1803
|
icon_asset_id?: string | null;
|
1804
1804
|
image_asset_id?: string | null;
|
1805
|
+
cta_title?: string | null;
|
1806
|
+
cta_url?: string | null;
|
1805
1807
|
}
|
1806
1808
|
export interface CreateProductEntitlementRequestBody {
|
1807
1809
|
entitlement_id: string;
|
@@ -7049,7 +7051,7 @@ declare class ParraAPI {
|
|
7049
7051
|
createSubscriberForEmailAudienceById: (email_audience_id: string, body: CreateEmailSubscriberRequestBody, options?: Options) => Promise<Response>;
|
7050
7052
|
getSiteForTenant: (tenant_id: string, options?: Options) => Promise<Site>;
|
7051
7053
|
getSiteById: (tenant_id: string, site_id: string, options?: Options) => Promise<Site>;
|
7052
|
-
updateSiteById: (tenant_id: string, site_id: string, body
|
7054
|
+
updateSiteById: (tenant_id: string, site_id: string, body?: UpdateSiteRequestBody, options?: Options) => Promise<Site>;
|
7053
7055
|
deleteSiteById: (tenant_id: string, site_id: string, options?: Options) => Promise<Response>;
|
7054
7056
|
createTag: (tenant_id: string, body: CreateTagRequestBody, options?: Options) => Promise<Tag>;
|
7055
7057
|
paginateTags: (tenant_id: string, query?: {
|