@smartlyqofficial/node 0.1.38 → 0.1.40

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.cts CHANGED
@@ -6170,6 +6170,16 @@ type ListContactsResponses = {
6170
6170
  [key: string]: unknown;
6171
6171
  };
6172
6172
  source?: string;
6173
+ address1?: string | null;
6174
+ city?: string | null;
6175
+ state?: string | null;
6176
+ postal_code?: string | null;
6177
+ /**
6178
+ * ISO 3166-1 alpha-2.
6179
+ */
6180
+ country?: string | null;
6181
+ date_of_birth?: string | null;
6182
+ website?: string | null;
6173
6183
  created_at?: string;
6174
6184
  updated_at?: string;
6175
6185
  }>;
@@ -6194,6 +6204,31 @@ type CreateContactData = {
6194
6204
  timezone?: string;
6195
6205
  language?: string;
6196
6206
  source?: string;
6207
+ /**
6208
+ * Street line.
6209
+ */
6210
+ address1?: string;
6211
+ city?: string;
6212
+ /**
6213
+ * State, region or province.
6214
+ */
6215
+ state?: string;
6216
+ /**
6217
+ * Text, not a number - leading zeros and letters are kept ("02134", "SW1A 1AA").
6218
+ */
6219
+ postal_code?: string;
6220
+ /**
6221
+ * ISO 3166-1 alpha-2 code ("GR") or an English country name ("Greece"); stored and returned as the code. An unknown country is a 422.
6222
+ */
6223
+ country?: string;
6224
+ /**
6225
+ * YYYY-MM-DD (DD/MM/YYYY also accepted). A real past date after 1900; anything else is a 422.
6226
+ */
6227
+ date_of_birth?: string;
6228
+ /**
6229
+ * A bare domain gets https:// added.
6230
+ */
6231
+ website?: string;
6197
6232
  tags?: Array<string>;
6198
6233
  /**
6199
6234
  * Custom attribute values keyed by attribute key.
@@ -6242,6 +6277,16 @@ type CreateContactResponses = {
6242
6277
  [key: string]: unknown;
6243
6278
  };
6244
6279
  source?: string;
6280
+ address1?: string | null;
6281
+ city?: string | null;
6282
+ state?: string | null;
6283
+ postal_code?: string | null;
6284
+ /**
6285
+ * ISO 3166-1 alpha-2.
6286
+ */
6287
+ country?: string | null;
6288
+ date_of_birth?: string | null;
6289
+ website?: string | null;
6245
6290
  created_at?: string;
6246
6291
  updated_at?: string;
6247
6292
  };
@@ -6270,6 +6315,16 @@ type CreateContactResponses = {
6270
6315
  [key: string]: unknown;
6271
6316
  };
6272
6317
  source?: string;
6318
+ address1?: string | null;
6319
+ city?: string | null;
6320
+ state?: string | null;
6321
+ postal_code?: string | null;
6322
+ /**
6323
+ * ISO 3166-1 alpha-2.
6324
+ */
6325
+ country?: string | null;
6326
+ date_of_birth?: string | null;
6327
+ website?: string | null;
6273
6328
  created_at?: string;
6274
6329
  updated_at?: string;
6275
6330
  };
@@ -6345,6 +6400,16 @@ type GetContactResponses = {
6345
6400
  [key: string]: unknown;
6346
6401
  };
6347
6402
  source?: string;
6403
+ address1?: string | null;
6404
+ city?: string | null;
6405
+ state?: string | null;
6406
+ postal_code?: string | null;
6407
+ /**
6408
+ * ISO 3166-1 alpha-2.
6409
+ */
6410
+ country?: string | null;
6411
+ date_of_birth?: string | null;
6412
+ website?: string | null;
6348
6413
  created_at?: string;
6349
6414
  updated_at?: string;
6350
6415
  };
@@ -6365,6 +6430,31 @@ type UpdateContactData = {
6365
6430
  timezone?: string;
6366
6431
  language?: string;
6367
6432
  source?: string;
6433
+ /**
6434
+ * Street line.
6435
+ */
6436
+ address1?: string;
6437
+ city?: string;
6438
+ /**
6439
+ * State, region or province.
6440
+ */
6441
+ state?: string;
6442
+ /**
6443
+ * Text, not a number - leading zeros and letters are kept ("02134", "SW1A 1AA").
6444
+ */
6445
+ postal_code?: string;
6446
+ /**
6447
+ * ISO 3166-1 alpha-2 code ("GR") or an English country name ("Greece"); stored and returned as the code. An unknown country is a 422.
6448
+ */
6449
+ country?: string;
6450
+ /**
6451
+ * YYYY-MM-DD (DD/MM/YYYY also accepted). A real past date after 1900; anything else is a 422.
6452
+ */
6453
+ date_of_birth?: string;
6454
+ /**
6455
+ * A bare domain gets https:// added.
6456
+ */
6457
+ website?: string;
6368
6458
  tags?: Array<string>;
6369
6459
  attributes?: {
6370
6460
  [key: string]: unknown;
@@ -6408,6 +6498,16 @@ type UpdateContactResponses = {
6408
6498
  [key: string]: unknown;
6409
6499
  };
6410
6500
  source?: string;
6501
+ address1?: string | null;
6502
+ city?: string | null;
6503
+ state?: string | null;
6504
+ postal_code?: string | null;
6505
+ /**
6506
+ * ISO 3166-1 alpha-2.
6507
+ */
6508
+ country?: string | null;
6509
+ date_of_birth?: string | null;
6510
+ website?: string | null;
6411
6511
  created_at?: string;
6412
6512
  updated_at?: string;
6413
6513
  };
@@ -6633,6 +6733,7 @@ type ListOpportunitiesResponses = {
6633
6733
  name?: string;
6634
6734
  contact_email?: string;
6635
6735
  company?: string;
6736
+ source?: string;
6636
6737
  value?: number;
6637
6738
  stage?: string;
6638
6739
  status?: string;
@@ -6652,6 +6753,10 @@ type CreateOpportunityData = {
6652
6753
  name: string;
6653
6754
  contact_email?: string;
6654
6755
  company?: string;
6756
+ /**
6757
+ * Where the deal came from (a form, a campaign, an ad, typed by hand). Max 100 characters. Omit it on create and the contact's own source is used.
6758
+ */
6759
+ source?: string;
6655
6760
  /**
6656
6761
  * Monetary value.
6657
6762
  */
@@ -6689,6 +6794,7 @@ type CreateOpportunityResponses = {
6689
6794
  name?: string;
6690
6795
  contact_email?: string;
6691
6796
  company?: string;
6797
+ source?: string;
6692
6798
  value?: number;
6693
6799
  stage?: string;
6694
6800
  status?: string;
@@ -6754,6 +6860,7 @@ type GetOpportunityResponses = {
6754
6860
  name?: string;
6755
6861
  contact_email?: string;
6756
6862
  company?: string;
6863
+ source?: string;
6757
6864
  value?: number;
6758
6865
  stage?: string;
6759
6866
  status?: string;
@@ -6769,6 +6876,10 @@ type UpdateOpportunityData = {
6769
6876
  name?: string;
6770
6877
  contact_email?: string;
6771
6878
  company?: string;
6879
+ /**
6880
+ * Where the deal came from (a form, a campaign, an ad, typed by hand). Max 100 characters. Omit it on create and the contact's own source is used.
6881
+ */
6882
+ source?: string;
6772
6883
  value?: number;
6773
6884
  pipeline_id?: number;
6774
6885
  stage?: string;
@@ -6802,6 +6913,7 @@ type UpdateOpportunityResponses = {
6802
6913
  name?: string;
6803
6914
  contact_email?: string;
6804
6915
  company?: string;
6916
+ source?: string;
6805
6917
  value?: number;
6806
6918
  stage?: string;
6807
6919
  status?: string;
@@ -6845,6 +6957,7 @@ type UpdateOpportunityStatusResponses = {
6845
6957
  name?: string;
6846
6958
  contact_email?: string;
6847
6959
  company?: string;
6960
+ source?: string;
6848
6961
  value?: number;
6849
6962
  stage?: string;
6850
6963
  status?: string;
package/dist/index.d.ts CHANGED
@@ -6170,6 +6170,16 @@ type ListContactsResponses = {
6170
6170
  [key: string]: unknown;
6171
6171
  };
6172
6172
  source?: string;
6173
+ address1?: string | null;
6174
+ city?: string | null;
6175
+ state?: string | null;
6176
+ postal_code?: string | null;
6177
+ /**
6178
+ * ISO 3166-1 alpha-2.
6179
+ */
6180
+ country?: string | null;
6181
+ date_of_birth?: string | null;
6182
+ website?: string | null;
6173
6183
  created_at?: string;
6174
6184
  updated_at?: string;
6175
6185
  }>;
@@ -6194,6 +6204,31 @@ type CreateContactData = {
6194
6204
  timezone?: string;
6195
6205
  language?: string;
6196
6206
  source?: string;
6207
+ /**
6208
+ * Street line.
6209
+ */
6210
+ address1?: string;
6211
+ city?: string;
6212
+ /**
6213
+ * State, region or province.
6214
+ */
6215
+ state?: string;
6216
+ /**
6217
+ * Text, not a number - leading zeros and letters are kept ("02134", "SW1A 1AA").
6218
+ */
6219
+ postal_code?: string;
6220
+ /**
6221
+ * ISO 3166-1 alpha-2 code ("GR") or an English country name ("Greece"); stored and returned as the code. An unknown country is a 422.
6222
+ */
6223
+ country?: string;
6224
+ /**
6225
+ * YYYY-MM-DD (DD/MM/YYYY also accepted). A real past date after 1900; anything else is a 422.
6226
+ */
6227
+ date_of_birth?: string;
6228
+ /**
6229
+ * A bare domain gets https:// added.
6230
+ */
6231
+ website?: string;
6197
6232
  tags?: Array<string>;
6198
6233
  /**
6199
6234
  * Custom attribute values keyed by attribute key.
@@ -6242,6 +6277,16 @@ type CreateContactResponses = {
6242
6277
  [key: string]: unknown;
6243
6278
  };
6244
6279
  source?: string;
6280
+ address1?: string | null;
6281
+ city?: string | null;
6282
+ state?: string | null;
6283
+ postal_code?: string | null;
6284
+ /**
6285
+ * ISO 3166-1 alpha-2.
6286
+ */
6287
+ country?: string | null;
6288
+ date_of_birth?: string | null;
6289
+ website?: string | null;
6245
6290
  created_at?: string;
6246
6291
  updated_at?: string;
6247
6292
  };
@@ -6270,6 +6315,16 @@ type CreateContactResponses = {
6270
6315
  [key: string]: unknown;
6271
6316
  };
6272
6317
  source?: string;
6318
+ address1?: string | null;
6319
+ city?: string | null;
6320
+ state?: string | null;
6321
+ postal_code?: string | null;
6322
+ /**
6323
+ * ISO 3166-1 alpha-2.
6324
+ */
6325
+ country?: string | null;
6326
+ date_of_birth?: string | null;
6327
+ website?: string | null;
6273
6328
  created_at?: string;
6274
6329
  updated_at?: string;
6275
6330
  };
@@ -6345,6 +6400,16 @@ type GetContactResponses = {
6345
6400
  [key: string]: unknown;
6346
6401
  };
6347
6402
  source?: string;
6403
+ address1?: string | null;
6404
+ city?: string | null;
6405
+ state?: string | null;
6406
+ postal_code?: string | null;
6407
+ /**
6408
+ * ISO 3166-1 alpha-2.
6409
+ */
6410
+ country?: string | null;
6411
+ date_of_birth?: string | null;
6412
+ website?: string | null;
6348
6413
  created_at?: string;
6349
6414
  updated_at?: string;
6350
6415
  };
@@ -6365,6 +6430,31 @@ type UpdateContactData = {
6365
6430
  timezone?: string;
6366
6431
  language?: string;
6367
6432
  source?: string;
6433
+ /**
6434
+ * Street line.
6435
+ */
6436
+ address1?: string;
6437
+ city?: string;
6438
+ /**
6439
+ * State, region or province.
6440
+ */
6441
+ state?: string;
6442
+ /**
6443
+ * Text, not a number - leading zeros and letters are kept ("02134", "SW1A 1AA").
6444
+ */
6445
+ postal_code?: string;
6446
+ /**
6447
+ * ISO 3166-1 alpha-2 code ("GR") or an English country name ("Greece"); stored and returned as the code. An unknown country is a 422.
6448
+ */
6449
+ country?: string;
6450
+ /**
6451
+ * YYYY-MM-DD (DD/MM/YYYY also accepted). A real past date after 1900; anything else is a 422.
6452
+ */
6453
+ date_of_birth?: string;
6454
+ /**
6455
+ * A bare domain gets https:// added.
6456
+ */
6457
+ website?: string;
6368
6458
  tags?: Array<string>;
6369
6459
  attributes?: {
6370
6460
  [key: string]: unknown;
@@ -6408,6 +6498,16 @@ type UpdateContactResponses = {
6408
6498
  [key: string]: unknown;
6409
6499
  };
6410
6500
  source?: string;
6501
+ address1?: string | null;
6502
+ city?: string | null;
6503
+ state?: string | null;
6504
+ postal_code?: string | null;
6505
+ /**
6506
+ * ISO 3166-1 alpha-2.
6507
+ */
6508
+ country?: string | null;
6509
+ date_of_birth?: string | null;
6510
+ website?: string | null;
6411
6511
  created_at?: string;
6412
6512
  updated_at?: string;
6413
6513
  };
@@ -6633,6 +6733,7 @@ type ListOpportunitiesResponses = {
6633
6733
  name?: string;
6634
6734
  contact_email?: string;
6635
6735
  company?: string;
6736
+ source?: string;
6636
6737
  value?: number;
6637
6738
  stage?: string;
6638
6739
  status?: string;
@@ -6652,6 +6753,10 @@ type CreateOpportunityData = {
6652
6753
  name: string;
6653
6754
  contact_email?: string;
6654
6755
  company?: string;
6756
+ /**
6757
+ * Where the deal came from (a form, a campaign, an ad, typed by hand). Max 100 characters. Omit it on create and the contact's own source is used.
6758
+ */
6759
+ source?: string;
6655
6760
  /**
6656
6761
  * Monetary value.
6657
6762
  */
@@ -6689,6 +6794,7 @@ type CreateOpportunityResponses = {
6689
6794
  name?: string;
6690
6795
  contact_email?: string;
6691
6796
  company?: string;
6797
+ source?: string;
6692
6798
  value?: number;
6693
6799
  stage?: string;
6694
6800
  status?: string;
@@ -6754,6 +6860,7 @@ type GetOpportunityResponses = {
6754
6860
  name?: string;
6755
6861
  contact_email?: string;
6756
6862
  company?: string;
6863
+ source?: string;
6757
6864
  value?: number;
6758
6865
  stage?: string;
6759
6866
  status?: string;
@@ -6769,6 +6876,10 @@ type UpdateOpportunityData = {
6769
6876
  name?: string;
6770
6877
  contact_email?: string;
6771
6878
  company?: string;
6879
+ /**
6880
+ * Where the deal came from (a form, a campaign, an ad, typed by hand). Max 100 characters. Omit it on create and the contact's own source is used.
6881
+ */
6882
+ source?: string;
6772
6883
  value?: number;
6773
6884
  pipeline_id?: number;
6774
6885
  stage?: string;
@@ -6802,6 +6913,7 @@ type UpdateOpportunityResponses = {
6802
6913
  name?: string;
6803
6914
  contact_email?: string;
6804
6915
  company?: string;
6916
+ source?: string;
6805
6917
  value?: number;
6806
6918
  stage?: string;
6807
6919
  status?: string;
@@ -6845,6 +6957,7 @@ type UpdateOpportunityStatusResponses = {
6845
6957
  name?: string;
6846
6958
  contact_email?: string;
6847
6959
  company?: string;
6960
+ source?: string;
6848
6961
  value?: number;
6849
6962
  stage?: string;
6850
6963
  status?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartlyqofficial/node",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "Official Node.js SDK for the SmartlyQ API - social posting, AI content generation, SEO, CRM, and more.",
5
5
  "keywords": [
6
6
  "smartlyq",