import * as t from "io-ts"; //#region src/iab.d.ts /** * TCF purpose configuration */ declare const TcfPurpose: t.TypeC<{ id: t.NumberC; name: t.StringC; description: t.StringC; descriptionLegal: t.StringC; }>; /** * Type override */ type TcfPurpose = t.TypeOf; /** * TCF stack configuration */ declare const TcfStack: t.TypeC<{ id: t.NumberC; purposes: t.ArrayC; specialFeatures: t.ArrayC; name: t.StringC; description: t.StringC; }>; /** * Type override */ type TcfStack = t.TypeOf; /** * TCF stack configuration */ declare const TcfVendor: t.IntersectionC<[t.TypeC<{ id: t.NumberC; name: t.StringC; purposes: t.ArrayC; legIntPurposes: t.ArrayC; flexiblePurposes: t.ArrayC; specialPurposes: t.ArrayC; features: t.ArrayC; specialFeatures: t.ArrayC; policyUrl: t.StringC; cookieMaxAgeSeconds: t.UnionC<[t.NumberC, t.NullC]>; usesCookies: t.BooleanC; }>, t.PartialC<{ deletedDate: t.StringC; overflow: t.TypeC<{ httpGetLimit: t.NumberC; }>; cookieRefresh: t.BooleanC; usesNonCookieAccess: t.BooleanC; deviceStorageDisclosureUrl: t.StringC; }>]>; /** * Type override */ type TcfVendor = t.TypeOf; declare const TcfVendorListVersion: t.TypeC<{ gvlSpecificationVersion: t.NumberC; vendorListVersion: t.NumberC; tcfPolicyVersion: t.NumberC; lastUpdated: t.StringC; }>; /** * Type override */ type TcfVendorListVersion = t.TypeOf; /** * TCF global vendor list version 2 */ declare const TcfV2VendorList: t.IntersectionC<[t.TypeC<{ gvlSpecificationVersion: t.NumberC; vendorListVersion: t.NumberC; tcfPolicyVersion: t.NumberC; lastUpdated: t.StringC; }>, t.TypeC<{ purposes: t.RecordC>; specialPurposes: t.RecordC>; features: t.RecordC>; specialFeatures: t.RecordC>; stacks: t.RecordC; specialFeatures: t.ArrayC; name: t.StringC; description: t.StringC; }>>; vendors: t.RecordC; legIntPurposes: t.ArrayC; flexiblePurposes: t.ArrayC; specialPurposes: t.ArrayC; features: t.ArrayC; specialFeatures: t.ArrayC; policyUrl: t.StringC; cookieMaxAgeSeconds: t.UnionC<[t.NumberC, t.NullC]>; usesCookies: t.BooleanC; }>, t.PartialC<{ deletedDate: t.StringC; overflow: t.TypeC<{ httpGetLimit: t.NumberC; }>; cookieRefresh: t.BooleanC; usesNonCookieAccess: t.BooleanC; deviceStorageDisclosureUrl: t.StringC; }>]>>; }>]>; /** * Overload TcfV2VendorList as a type */ type TcfV2VendorList = t.TypeOf; /** * TCF GVL v3 purpose configuration (TCF features share the same type) */ declare const TcfGvlV3Purpose: t.TypeC<{ id: t.NumberC; name: t.StringC; description: t.StringC; illustrations: t.ArrayC; }>; /** * Type override */ type TcfGvlV3Purpose = t.TypeOf; /** * TCF GVL v3 data categories configuration */ declare const TcfGvlV3DataCategory: t.TypeC<{ id: t.NumberC; name: t.StringC; description: t.StringC; }>; /** * Type override */ type TcfGvlV3DataCategory = t.TypeOf; /** * TCF GVL v3 URL configuration */ declare const TcfGvlV3Url: t.IntersectionC<[t.TypeC<{ langId: t.StringC; privacy: t.StringC; }>, t.PartialC<{ legIntClaim: t.StringC; }>]>; /** * Type override */ type TcfGvlV3Url = t.TypeOf; /** * TCF GVL v3 data retention configuration */ declare const TcfGvlV3DataRetention: t.IntersectionC<[t.TypeC<{ purposes: t.RecordC; specialPurposes: t.RecordC; }>, t.PartialC<{ stdRetention: t.UnionC<[t.NumberC, t.NullC]>; }>]>; /** * Type override */ type TcfGvlV3DataRetention = t.TypeOf; /** * TCF GVL v3 vendor configuration */ declare const TcfGvlV3Vendor: t.IntersectionC<[t.TypeC<{ id: t.NumberC; name: t.StringC; purposes: t.ArrayC; legIntPurposes: t.ArrayC; flexiblePurposes: t.ArrayC; specialPurposes: t.ArrayC; features: t.ArrayC; specialFeatures: t.ArrayC; cookieMaxAgeSeconds: t.UnionC<[t.NumberC, t.NullC]>; usesCookies: t.BooleanC; cookieRefresh: t.BooleanC; usesNonCookieAccess: t.BooleanC; dataRetention: t.IntersectionC<[t.TypeC<{ purposes: t.RecordC; specialPurposes: t.RecordC; }>, t.PartialC<{ stdRetention: t.UnionC<[t.NumberC, t.NullC]>; }>]>; urls: t.ArrayC, t.PartialC<{ legIntClaim: t.StringC; }>]>>; deviceStorageDisclosureUrl: t.StringC; }>, t.PartialC<{ deletedDate: t.StringC; overflow: t.TypeC<{ httpGetLimit: t.NumberC; }>; dataDeclaration: t.ArrayC; }>]>; /** * Type override */ type TcfGvlV3Vendor = t.TypeOf; /** * TCF global vendor list version 3 */ declare const TcfV3VendorList: t.IntersectionC<[t.TypeC<{ gvlSpecificationVersion: t.NumberC; vendorListVersion: t.NumberC; tcfPolicyVersion: t.NumberC; lastUpdated: t.StringC; }>, t.TypeC<{ purposes: t.RecordC; }>>; specialPurposes: t.RecordC; }>>; features: t.RecordC; }>>; specialFeatures: t.RecordC; }>>; stacks: t.RecordC; specialFeatures: t.ArrayC; name: t.StringC; description: t.StringC; }>>; dataCategories: t.RecordC>; vendors: t.RecordC; legIntPurposes: t.ArrayC; flexiblePurposes: t.ArrayC; specialPurposes: t.ArrayC; features: t.ArrayC; specialFeatures: t.ArrayC; cookieMaxAgeSeconds: t.UnionC<[t.NumberC, t.NullC]>; usesCookies: t.BooleanC; cookieRefresh: t.BooleanC; usesNonCookieAccess: t.BooleanC; dataRetention: t.IntersectionC<[t.TypeC<{ purposes: t.RecordC; specialPurposes: t.RecordC; }>, t.PartialC<{ stdRetention: t.UnionC<[t.NumberC, t.NullC]>; }>]>; urls: t.ArrayC, t.PartialC<{ legIntClaim: t.StringC; }>]>>; deviceStorageDisclosureUrl: t.StringC; }>, t.PartialC<{ deletedDate: t.StringC; overflow: t.TypeC<{ httpGetLimit: t.NumberC; }>; dataDeclaration: t.ArrayC; }>]>>; }>]>; /** * Type override */ type TcfV3VendorList = t.TypeOf; declare const NonTcfVendor: t.IntersectionC<[t.TypeC<{ /** The vendor name */name: t.StringC; /** The transcend purposes associated with each vendor */ purposes: t.ArrayC; }>, t.PartialC<{ /** The vendor description */description: t.StringC; /** The privacy policy URL */ privacyPolicyUrl: t.StringC; /** The additional consent provider ID - used for Google Additional Consent string */ additionalConsentProviderId: t.NumberC; }>]>; /** * Type override */ type NonTcfVendor = t.TypeOf; //#endregion export { NonTcfVendor, TcfGvlV3DataCategory, TcfGvlV3DataRetention, TcfGvlV3Purpose, TcfGvlV3Url, TcfGvlV3Vendor, TcfPurpose, TcfStack, TcfV2VendorList, TcfV3VendorList, TcfVendor, TcfVendorListVersion }; //# sourceMappingURL=iab.d.mts.map