@homespot-sdk/core 0.0.369 → 0.0.370

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.
@@ -312,6 +312,28 @@ export type CreateAdHocTodoRequest = {
312
312
  taskId: string;
313
313
  title: string;
314
314
  };
315
+ export type AttributionRequest = {
316
+ /**
317
+ * The _fbc cookie: the Meta ad click that brought the browser, if any
318
+ */
319
+ fbc?: string;
320
+ /**
321
+ * The _fbp cookie: Meta's id for the browser
322
+ */
323
+ fbp?: string;
324
+ /**
325
+ * The browser's IP address — one address, not a forwarded-for list
326
+ */
327
+ clientIp?: string;
328
+ /**
329
+ * The browser's User-Agent header
330
+ */
331
+ userAgent?: string;
332
+ /**
333
+ * The absolute URL of the page the checkout is started from
334
+ */
335
+ pageUrl?: string;
336
+ };
315
337
  export type SubscribeRequest = {
316
338
  /**
317
339
  * PLUS or PRO to check out right away, FREE to start on Free without the trial; absent to start on the trial only
@@ -326,6 +348,10 @@ export type SubscribeRequest = {
326
348
  phone: string;
327
349
  subdomain: string;
328
350
  address: SubscriptionAddressRequest;
351
+ /**
352
+ * The browser the form is sent from, kept with a paid plan's checkout for Meta's Conversions API
353
+ */
354
+ attribution?: AttributionRequest;
329
355
  };
330
356
  export type SubscriptionAddressRequest = {
331
357
  country: string;
@@ -353,6 +379,10 @@ export type ChangePlanRequest = {
353
379
  export type CheckoutRequest = {
354
380
  plan?: 'FREE' | 'PLUS' | 'PRO' | 'ENTERPRISE';
355
381
  billingCycle?: 'MONTHLY' | 'ANNUAL';
382
+ /**
383
+ * The browser the checkout is started from, kept with its link for Meta's Conversions API
384
+ */
385
+ attribution?: AttributionRequest;
356
386
  };
357
387
  export type IdResponseInteger = {
358
388
  id: number;
@@ -6340,6 +6370,22 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
6340
6370
  204: void;
6341
6371
  };
6342
6372
  export type DeleteConversationsByConversationIdPresenceResponse = DeleteConversationsByConversationIdPresenceResponses[keyof DeleteConversationsByConversationIdPresenceResponses];
6373
+ export type DeleteContactsByContactIdPropertiesByPropertyIdData = {
6374
+ body?: never;
6375
+ path: {
6376
+ contactId: number;
6377
+ propertyId: number;
6378
+ };
6379
+ query?: never;
6380
+ url: '/contacts/{contactId}/properties/{propertyId}';
6381
+ };
6382
+ export type DeleteContactsByContactIdPropertiesByPropertyIdResponses = {
6383
+ /**
6384
+ * No Content
6385
+ */
6386
+ 204: void;
6387
+ };
6388
+ export type DeleteContactsByContactIdPropertiesByPropertyIdResponse = DeleteContactsByContactIdPropertiesByPropertyIdResponses[keyof DeleteContactsByContactIdPropertiesByPropertyIdResponses];
6343
6389
  export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = {
6344
6390
  body?: never;
6345
6391
  path: {