@parra/parra-js-sdk 0.3.626 → 0.3.629
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 +5 -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,9 @@ 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;
|
1807
|
+
price?: AnyPrice | null;
|
1805
1808
|
}
|
1806
1809
|
export interface CreateProductEntitlementRequestBody {
|
1807
1810
|
entitlement_id: string;
|
@@ -7049,7 +7052,7 @@ declare class ParraAPI {
|
|
7049
7052
|
createSubscriberForEmailAudienceById: (email_audience_id: string, body: CreateEmailSubscriberRequestBody, options?: Options) => Promise<Response>;
|
7050
7053
|
getSiteForTenant: (tenant_id: string, options?: Options) => Promise<Site>;
|
7051
7054
|
getSiteById: (tenant_id: string, site_id: string, options?: Options) => Promise<Site>;
|
7052
|
-
updateSiteById: (tenant_id: string, site_id: string, body
|
7055
|
+
updateSiteById: (tenant_id: string, site_id: string, body?: UpdateSiteRequestBody, options?: Options) => Promise<Site>;
|
7053
7056
|
deleteSiteById: (tenant_id: string, site_id: string, options?: Options) => Promise<Response>;
|
7054
7057
|
createTag: (tenant_id: string, body: CreateTagRequestBody, options?: Options) => Promise<Tag>;
|
7055
7058
|
paginateTags: (tenant_id: string, query?: {
|