@pagesolver/sdk 1.3.0 → 1.3.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/README.md CHANGED
@@ -27,28 +27,23 @@ console.log(comparisons); // ComparisonImage[]
27
27
  const showcases = await client.getShowcases();
28
28
  console.log(showcases); // ShowcaseImage[]
29
29
 
30
- // Get quick quotes - returns array directly
31
- const quickQuotes = await client.getQuickQuotes();
32
- console.log(quickQuotes); // QuickQuote[]
30
+ // Google Business Profile data
31
+ const reviews = await client.getGoogleReviews();
32
+ const hours = await client.getGoogleHours();
33
33
 
34
- // Send contact form - returns boolean
35
- const success = await client.contact({
34
+ // Latest social posts
35
+ const instagram = await client.getInstagramPosts();
36
+ const facebook = await client.getFacebookPosts();
37
+
38
+ // Smart contact submissions (any flat JSON payload works)
39
+ const contact = await client.contact({
36
40
  name: "John Doe",
37
41
  email: "john@example.com",
38
- message: "Hello from the SDK!",
42
+ service: "Detailing",
43
+ requested_date: "2025-03-10",
39
44
  });
40
45
 
41
- if (success) {
42
- console.log("Contact form sent successfully!");
43
- }
44
-
45
- // Error handling with try/catch
46
- try {
47
- const comparisons = await client.getComparisons();
48
- console.log(`Found ${comparisons.length} comparisons`);
49
- } catch (error) {
50
- console.error("Failed to get comparisons:", error.message);
51
- }
46
+ console.log(contact.success, contact.contactId);
52
47
  ```
53
48
 
54
49
  ## API Reference
@@ -65,129 +60,82 @@ new PageSolverClient(businessKey: string)
65
60
 
66
61
  #### Methods
67
62
 
68
- ##### `getComparisons()`
69
-
70
- Retrieves all comparison images for your business.
71
-
72
- ```typescript
73
- const comparisons = await client.getComparisons();
74
- // Returns: ComparisonImage[]
75
- ```
76
-
77
- ##### `getShowcases()`
63
+ | Method | Description | Return Type |
64
+ | --- | --- | --- |
65
+ | `getComparisons()` | Fetch before/after comparison images | `ComparisonImage[]` |
66
+ | `getShowcases()` | Fetch showcase gallery images | `ShowcaseImage[]` |
67
+ | `getGoogleReviews()` | Fetch Google Business Profile reviews + metadata | `GoogleReviewsResponse` |
68
+ | `getGoogleHours()` | Fetch Google Business Profile opening hours | `GoogleHoursResponse` |
69
+ | `getInstagramPosts()` | Fetch recent Instagram posts (requires connected account) | `SocialMediaResponse` |
70
+ | `getFacebookPosts()` | Fetch recent Facebook posts (requires connected account) | `SocialMediaResponse` |
71
+ | `contact(data)` | Submit a contact form payload (flat JSON object) | `ContactResponse`
78
72
 
79
- Retrieves all showcase images for your business.
73
+ All methods throw an `Error` when the API responds with a non-2xx status, so wrap calls in `try/catch` if you want to handle failures gracefully.
80
74
 
81
75
  ```typescript
82
- const showcases = await client.getShowcases();
83
- // Returns: ShowcaseImage[]
84
- ```
85
-
86
- ##### `getQuickQuotes()`
87
-
88
- Retrieves all quick quotes for your business.
89
-
90
- ```typescript
91
- const quotes = await client.getQuickQuotes();
92
- // Returns: QuickQuote[]
93
- ```
94
-
95
- ##### `contact(data: ContactData)`
96
-
97
- Sends a contact form submission.
76
+ try {
77
+ const comparisons = await client.getComparisons();
78
+ console.log(`Found ${comparisons.length} comparisons`);
79
+ } catch (error) {
80
+ console.error("Failed to load comparisons", error);
81
+ }
98
82
 
99
- ```typescript
100
- const success = await client.contact({
101
- name: "John Doe",
102
- email: "john@example.com",
103
- phone: "+1234567890", // optional
104
- message: "Hello!", // optional
83
+ const contact = await client.contact({
84
+ name: "Fresh & Clean",
85
+ phone: "+1 555-0100",
86
+ message: "Need a quote",
87
+ source: "website-landing",
88
+ budget: 250,
105
89
  });
106
- // Returns: boolean
90
+
91
+ console.log(contact.message); // "Contact submission received successfully"
107
92
  ```
108
93
 
109
94
  ## Types
110
95
 
111
- ### ComparisonImage
96
+ ### Notable Types
112
97
 
113
98
  ```typescript
114
99
  interface ComparisonImage {
115
100
  id: string;
116
- businessId: string;
117
- beforeUrl: string;
118
- afterUrl: string;
119
- description: string | null;
120
- createdAt: Date;
101
+ business_id: number;
102
+ before_url: string;
103
+ after_url: string;
121
104
  title: string;
105
+ description: string | null;
106
+ updated_at: string;
107
+ created_at: string;
122
108
  }
123
- ```
124
109
 
125
- ### ShowcaseImage
126
-
127
- ```typescript
128
110
  interface ShowcaseImage {
129
111
  id: string;
130
- businessId: string;
131
- blobUrl: string[];
132
- createdAt: Date;
133
- description: string | null;
112
+ business_id: number;
113
+ image_url: string[];
134
114
  title: string;
135
- }
136
- ```
137
-
138
- ### QuickQuote
139
-
140
- ```typescript
141
- interface QuickQuote {
142
- id: string;
143
- businessId: string;
144
- parentId: string | null;
145
- name: string;
146
115
  description: string | null;
147
- basePrice: string | null;
148
- enabled: boolean;
149
- createdAt: Date;
150
- updatedAt: Date;
116
+ updated_at: string;
117
+ created_at: string;
151
118
  }
152
- ```
153
119
 
154
- ### ContactData
120
+ type ContactData = Record<string, unknown>; // any flat key/value payload
155
121
 
156
- ```typescript
157
- interface ContactData {
158
- name: string;
159
- email: string;
160
- phone?: string;
161
- message?: string;
122
+ interface ContactResponse {
123
+ success: boolean;
124
+ message: string;
125
+ contactId: string | null;
162
126
  }
163
- ```
164
-
165
- ### ApiResponse
166
127
 
167
- ```typescript
168
- interface ApiResponse<T> {
169
- data?: T;
170
- error?: string;
171
- status: number;
128
+ interface GoogleReviewsResponse {
129
+ business: BusinessInfo; // includes id, name, optional website/phone
130
+ rating: number | null;
131
+ totalReviews: number;
132
+ reviews: GoogleReview[];
172
133
  }
173
- ```
174
-
175
- ## Error Handling
176
-
177
- All methods return an `ApiResponse<T>` object that contains either:
178
-
179
- - `data`: The successful response data
180
- - `error`: An error message if the request failed
181
- - `status`: HTTP status code
182
-
183
- ```typescript
184
- const result = await client.getComparisons();
185
134
 
186
- if (result.error) {
187
- console.error("Error:", result.error);
188
- console.error("Status:", result.status);
189
- } else {
190
- console.log("Success:", result.data);
135
+ interface SocialMediaResponse {
136
+ business: BusinessInfo;
137
+ posts: FacebookPost[] | InstagramPost[];
138
+ platform: "facebook" | "instagram";
191
139
  }
192
140
  ```
193
141
 
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- class B{baseUrl="https://pagesolver.com/api/v1";businessKey;constructor(j){this.businessKey=j}async request(j,w={}){try{let q=`${this.baseUrl}${j}`,z={"Content-Type":"application/json","x-business-key":this.businessKey,...w.headers},k=await fetch(q,{...w,headers:z}),v;if(k.headers.get("Content-Type")?.includes("application/json"))v=await k.json();else v=await k.text();if(!k.ok){let A=v?.error||"An unknown error occurred";throw new Error(`API Error (${k.status}): ${A}`)}return v}catch(q){if(q instanceof Error)throw q;throw new Error("Network error occurred")}}async getComparisons(){return(await this.request("/business/comparisons")).comparisons}async getShowcases(){return(await this.request("/business/showcases")).showcases}async getGoogleReviews(){return await this.request("/business/google/reviews")}async getGoogleHours(){return await this.request("/business/google/hours")}async getInstagramPosts(){return await this.request("/business/social/instagram")}async getFacebookPosts(){return await this.request("/business/social/facebook")}async contact(j){return await this.request("/business/contact",{method:"POST",body:JSON.stringify(j)})}}export{B as PageSolverClient};
1
+ class B{baseUrl="https://pagesolver.com/api/v1";businessKey;constructor(j){this.businessKey=j}async request(j,w={}){try{let q=`${this.baseUrl}${j}`,z={"Content-Type":"application/json","x-business-key":this.businessKey,...w.headers},k=await fetch(q,{...w,headers:z}),v;if(k.headers.get("Content-Type")?.includes("application/json"))v=await k.json();else v=await k.text();if(!k.ok){let A=v?.error||"An unknown error occurred";throw Error(`API Error (${k.status}): ${A}`)}return v}catch(q){if(q instanceof Error)throw q;throw Error("Network error occurred")}}async getComparisons(){return(await this.request("/business/comparisons")).comparisons}async getShowcases(){return(await this.request("/business/showcases")).showcases}async getGoogleReviews(){return await this.request("/business/google/reviews")}async getGoogleHours(){return await this.request("/business/google/hours")}async getInstagramPosts(){return await this.request("/business/social/instagram")}async getFacebookPosts(){return await this.request("/business/social/facebook")}async contact(j){return await this.request("/business/contact",{method:"POST",body:JSON.stringify(j)})}}export{B as PageSolverClient};
2
2
 
3
- //# debugId=1227768361305AF164756E2164756E21
3
+ //# debugId=9C704430797AA1A264756E2164756E21
package/dist/index.js.map CHANGED
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "// Import all types from the types file\nimport type {\n ComparisonImage,\n ComparisonsResponse,\n ContactData,\n ContactResponse,\n FacebookPost,\n GoogleHoursResponse,\n GoogleReview,\n GoogleReviewsResponse,\n InstagramPost,\n ShowcaseImage,\n ShowcasesResponse,\n SocialMediaResponse,\n} from \"./types\";\n\nexport class PageSolverClient {\n private baseUrl = \"https://pagesolver.com/api/v1\";\n private businessKey: string;\n\n constructor(businessKey: string) {\n this.businessKey = businessKey;\n }\n\n private async request<T>(\n endpoint: string,\n options: RequestInit = {}\n ): Promise<T> {\n try {\n const url = `${this.baseUrl}${endpoint}`;\n\n const headers = {\n \"Content-Type\": \"application/json\",\n \"x-business-key\": this.businessKey,\n ...options.headers,\n };\n\n const response = await fetch(url, {\n ...options,\n headers,\n });\n\n let data: unknown;\n const contentType = response.headers.get(\"Content-Type\");\n if (contentType?.includes(\"application/json\")) {\n data = await response.json();\n } else {\n data = await response.text();\n }\n\n if (!response.ok) {\n const errorMessage =\n (data as { error?: string })?.error || \"An unknown error occurred\";\n throw new Error(`API Error (${response.status}): ${errorMessage}`);\n }\n\n return data as T;\n } catch (error) {\n if (error instanceof Error) {\n throw error;\n }\n throw new Error(\"Network error occurred\");\n }\n }\n\n // Comparison Images\n async getComparisons(): Promise<ComparisonImage[]> {\n const response = await this.request<ComparisonsResponse>(\n \"/business/comparisons\"\n );\n return response.comparisons;\n }\n\n // Showcase Images\n async getShowcases(): Promise<ShowcaseImage[]> {\n const response = await this.request<ShowcasesResponse>(\n \"/business/showcases\"\n );\n return response.showcases;\n }\n\n // Google Reviews\n async getGoogleReviews(): Promise<GoogleReviewsResponse> {\n return await this.request<GoogleReviewsResponse>(\n \"/business/google/reviews\"\n );\n }\n\n // Google Hours\n async getGoogleHours(): Promise<GoogleHoursResponse> {\n return await this.request<GoogleHoursResponse>(\"/business/google/hours\");\n }\n\n // Social Media - Instagram\n async getInstagramPosts(): Promise<SocialMediaResponse> {\n return await this.request<SocialMediaResponse>(\n \"/business/social/instagram\"\n );\n }\n\n // Social Media - Facebook\n async getFacebookPosts(): Promise<SocialMediaResponse> {\n return await this.request<SocialMediaResponse>(\"/business/social/facebook\");\n }\n\n // Contact\n async contact(data: ContactData): Promise<ContactResponse> {\n return await this.request<ContactResponse>(\"/business/contact\", {\n method: \"POST\",\n body: JSON.stringify(data),\n });\n }\n}\n\n// Re-export all types for consumers\nexport type {\n ComparisonImage,\n ComparisonsResponse,\n ShowcaseImage,\n ShowcasesResponse,\n ContactData,\n ContactResponse,\n GoogleReview,\n GoogleReviewsResponse,\n GoogleHoursResponse,\n BusinessHours,\n CurrentTime,\n FacebookPost,\n InstagramPost,\n SocialMediaResponse,\n BusinessInfo,\n} from \"./types\";\n"
6
6
  ],
7
- "mappings": "AAgBO,MAAM,CAAiB,CACpB,QAAU,gCACV,YAER,WAAW,CAAC,EAAqB,CAC/B,KAAK,YAAc,OAGP,QAAU,CACtB,EACA,EAAuB,CAAC,EACZ,CACZ,GAAI,CACF,IAAM,EAAM,GAAG,KAAK,UAAU,IAExB,EAAU,CACd,eAAgB,mBAChB,iBAAkB,KAAK,eACpB,EAAQ,OACb,EAEM,EAAW,MAAM,MAAM,EAAK,IAC7B,EACH,SACF,CAAC,EAEG,EAEJ,GADoB,EAAS,QAAQ,IAAI,cAAc,GACtC,SAAS,kBAAkB,EAC1C,EAAO,MAAM,EAAS,KAAK,EAE3B,OAAO,MAAM,EAAS,KAAK,EAG7B,IAAK,EAAS,GAAI,CAChB,IAAM,EACH,GAA6B,OAAS,4BACzC,MAAM,IAAI,MAAM,cAAc,EAAS,YAAY,GAAc,EAGnE,OAAO,EACP,MAAO,EAAO,CACd,GAAI,aAAiB,MACnB,MAAM,EAER,MAAM,IAAI,MAAM,wBAAwB,QAKtC,eAAc,EAA+B,CAIjD,OAHiB,MAAM,KAAK,QAC1B,uBACF,GACgB,iBAIZ,aAAY,EAA6B,CAI7C,OAHiB,MAAM,KAAK,QAC1B,qBACF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nD,OAAO,MAAM,KAAK,QAA6B,wBAAwB,OAInE,kBAAiB,EAAiC,CACtD,OAAO,MAAM,KAAK,QAChB,4BACF,OAII,iBAAgB,EAAiC,CACrD,OAAO,MAAM,KAAK,QAA6B,2BAA2B,OAItE,QAAO,CAAC,EAA6C,CACzD,OAAO,MAAM,KAAK,QAAyB,oBAAqB,CAC9D,OAAQ,OACR,KAAM,KAAK,UAAU,CAAI,CAC3B,CAAC,EAEL",
8
+ "debugId": "9C704430797AA1A264756E2164756E21",
9
9
  "names": []
10
10
  }
package/dist/types.d.ts CHANGED
@@ -30,15 +30,11 @@ export interface ShowcaseImage {
30
30
  export interface ShowcasesResponse {
31
31
  showcases: ShowcaseImage[];
32
32
  }
33
- export interface ContactData {
34
- name: string;
35
- email: string;
36
- phone?: string;
37
- message?: string;
38
- }
33
+ export type ContactData = Record<string, unknown>;
39
34
  export interface ContactResponse {
40
35
  success: boolean;
41
36
  message: string;
37
+ contactId: string | null;
42
38
  }
43
39
  export interface GoogleReview {
44
40
  rating: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,WAA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vB,WAAW,EAAE,WAAW,CAAC;CAC1B;AAGD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,YAAY,CAAC;IACvB,KAAK,EAAE,YAAY,EAAE,GAAG,aAAa,EAAE,CAAC;IACxC,QAAQ,EAAE,UAAU,GAAG,WAAW,CAAC;CACpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagesolver/sdk",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Official SDK for PageSolver API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",