@homespot-sdk/core 0.0.368 → 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;
@@ -2460,6 +2490,12 @@ export type TodoTemplateResponse = {
2460
2490
  title: string;
2461
2491
  position: number;
2462
2492
  };
2493
+ export type StageTaskCountResponse = {
2494
+ stageId: string;
2495
+ open: number;
2496
+ won: number;
2497
+ lost: number;
2498
+ };
2463
2499
  export type AddressViewResponse = {
2464
2500
  country: string;
2465
2501
  city: string;
@@ -6118,6 +6154,7 @@ export type DeleteBoardByBoardIdData = {
6118
6154
  query?: {
6119
6155
  migrateToBoard?: string;
6120
6156
  migrateToStage?: string;
6157
+ deleteTasks?: boolean;
6121
6158
  };
6122
6159
  url: '/board/{boardId}';
6123
6160
  };
@@ -6143,6 +6180,21 @@ export type GetBoardByBoardIdResponses = {
6143
6180
  200: BoardResponse;
6144
6181
  };
6145
6182
  export type GetBoardByBoardIdResponse = GetBoardByBoardIdResponses[keyof GetBoardByBoardIdResponses];
6183
+ export type GetBoardByBoardIdTaskCountsData = {
6184
+ body?: never;
6185
+ path: {
6186
+ boardId: string;
6187
+ };
6188
+ query?: never;
6189
+ url: '/board/{boardId}/task-counts';
6190
+ };
6191
+ export type GetBoardByBoardIdTaskCountsResponses = {
6192
+ /**
6193
+ * OK
6194
+ */
6195
+ 200: Array<StageTaskCountResponse>;
6196
+ };
6197
+ export type GetBoardByBoardIdTaskCountsResponse = GetBoardByBoardIdTaskCountsResponses[keyof GetBoardByBoardIdTaskCountsResponses];
6146
6198
  export type GetAgencyData = {
6147
6199
  body?: never;
6148
6200
  path?: never;
@@ -6318,6 +6370,22 @@ export type DeleteConversationsByConversationIdPresenceResponses = {
6318
6370
  204: void;
6319
6371
  };
6320
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];
6321
6389
  export type DeleteContactsByContactIdPropertiesByPropertyIdListingsByListingIdData = {
6322
6390
  body?: never;
6323
6391
  path: {
@@ -6362,6 +6430,7 @@ export type DeleteBoardByBoardIdStageByStageIdData = {
6362
6430
  };
6363
6431
  query?: {
6364
6432
  migrateTo?: string;
6433
+ deleteTasks?: boolean;
6365
6434
  };
6366
6435
  url: '/board/{boardId}/stage/{stageId}';
6367
6436
  };