perspectapi-ts-sdk 5.0.1 → 5.0.2

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/index.d.mts CHANGED
@@ -191,7 +191,6 @@ interface CreateNewsletterSubscriptionRequest {
191
191
  language?: string;
192
192
  source?: string;
193
193
  source_url?: string;
194
- double_opt_in?: boolean;
195
194
  metadata?: Record<string, any>;
196
195
  }
197
196
  interface NewsletterList {
@@ -2466,7 +2465,6 @@ declare class NewsletterManagementClient extends BaseClient {
2466
2465
  description?: string | null;
2467
2466
  is_public?: boolean;
2468
2467
  is_default?: boolean;
2469
- double_opt_in?: boolean;
2470
2468
  welcome_email_enabled?: boolean;
2471
2469
  }): Promise<ApiResponse<NewsletterManagementList>>;
2472
2470
  updateList(siteName: string, listId: string, data: Partial<{
@@ -2475,7 +2473,6 @@ declare class NewsletterManagementClient extends BaseClient {
2475
2473
  description: string | null;
2476
2474
  is_public: boolean;
2477
2475
  is_default: boolean;
2478
- double_opt_in: boolean;
2479
2476
  welcome_email_enabled: boolean;
2480
2477
  status: 'active' | 'archived';
2481
2478
  }>): Promise<ApiResponse<NewsletterManagementList>>;
@@ -3571,7 +3568,6 @@ declare class NewsletterV2Client extends BaseV2Client {
3571
3568
  email: string;
3572
3569
  name?: string;
3573
3570
  list_ids?: string[];
3574
- double_opt_in?: boolean;
3575
3571
  source?: string;
3576
3572
  source_url?: string;
3577
3573
  frequency?: 'instant' | 'daily' | 'weekly' | 'monthly';
package/dist/index.d.ts CHANGED
@@ -191,7 +191,6 @@ interface CreateNewsletterSubscriptionRequest {
191
191
  language?: string;
192
192
  source?: string;
193
193
  source_url?: string;
194
- double_opt_in?: boolean;
195
194
  metadata?: Record<string, any>;
196
195
  }
197
196
  interface NewsletterList {
@@ -2466,7 +2465,6 @@ declare class NewsletterManagementClient extends BaseClient {
2466
2465
  description?: string | null;
2467
2466
  is_public?: boolean;
2468
2467
  is_default?: boolean;
2469
- double_opt_in?: boolean;
2470
2468
  welcome_email_enabled?: boolean;
2471
2469
  }): Promise<ApiResponse<NewsletterManagementList>>;
2472
2470
  updateList(siteName: string, listId: string, data: Partial<{
@@ -2475,7 +2473,6 @@ declare class NewsletterManagementClient extends BaseClient {
2475
2473
  description: string | null;
2476
2474
  is_public: boolean;
2477
2475
  is_default: boolean;
2478
- double_opt_in: boolean;
2479
2476
  welcome_email_enabled: boolean;
2480
2477
  status: 'active' | 'archived';
2481
2478
  }>): Promise<ApiResponse<NewsletterManagementList>>;
@@ -3571,7 +3568,6 @@ declare class NewsletterV2Client extends BaseV2Client {
3571
3568
  email: string;
3572
3569
  name?: string;
3573
3570
  list_ids?: string[];
3574
- double_opt_in?: boolean;
3575
3571
  source?: string;
3576
3572
  source_url?: string;
3577
3573
  frequency?: 'instant' | 'daily' | 'weekly' | 'monthly';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perspectapi-ts-sdk",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "TypeScript SDK for PerspectAPI - Cloudflare Workers compatible",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -175,7 +175,6 @@ export class NewsletterManagementClient extends BaseClient {
175
175
  description?: string | null;
176
176
  is_public?: boolean;
177
177
  is_default?: boolean;
178
- double_opt_in?: boolean;
179
178
  welcome_email_enabled?: boolean;
180
179
  },
181
180
  ): Promise<ApiResponse<NewsletterManagementList>> {
@@ -191,7 +190,6 @@ export class NewsletterManagementClient extends BaseClient {
191
190
  description: string | null;
192
191
  is_public: boolean;
193
192
  is_default: boolean;
194
- double_opt_in: boolean;
195
193
  welcome_email_enabled: boolean;
196
194
  status: 'active' | 'archived';
197
195
  }>,
@@ -128,7 +128,6 @@ export interface CreateNewsletterSubscriptionRequest {
128
128
  language?: string;
129
129
  source?: string;
130
130
  source_url?: string;
131
- double_opt_in?: boolean;
132
131
  metadata?: Record<string, any>;
133
132
  }
134
133
 
@@ -18,7 +18,6 @@ export class NewsletterV2Client extends BaseV2Client {
18
18
  email: string;
19
19
  name?: string;
20
20
  list_ids?: string[];
21
- double_opt_in?: boolean;
22
21
  source?: string;
23
22
  source_url?: string;
24
23
  frequency?: 'instant' | 'daily' | 'weekly' | 'monthly';