@curviate/sdk 0.24.2 → 0.24.3

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.ts CHANGED
@@ -2652,6 +2652,74 @@ interface components {
2652
2652
  value?: string;
2653
2653
  }[];
2654
2654
  };
2655
+ /** @description A message. `quoted` carries the message this one quotes, when it quotes one; a quoted message has the same shape and may itself carry a `quoted`. */
2656
+ Message: {
2657
+ /**
2658
+ * @description Response type discriminator.
2659
+ * @enum {string}
2660
+ */
2661
+ object?: "message";
2662
+ quoted?: components["schemas"]["Message"];
2663
+ /** @description Message identifier. */
2664
+ id?: string;
2665
+ /** @description Account id that owns this message. */
2666
+ account_id?: string;
2667
+ /** @description Chat this message belongs to. */
2668
+ chat_id?: string;
2669
+ /** @description Identifier of the sender. */
2670
+ sender_id?: string;
2671
+ /** @description Full message text (content pass-through, never stored). */
2672
+ text?: string | null;
2673
+ /** @description Attachment descriptors (no bytes, use the attachment endpoint to download). */
2674
+ attachments?: {
2675
+ /** @description Attachment identifier. */
2676
+ id?: string;
2677
+ /** @description MIME type of the attachment. */
2678
+ mimetype?: string;
2679
+ /** @description Attachment kind: file | img | video | audio. */
2680
+ type?: string;
2681
+ /** @description Original file name. */
2682
+ filename?: string;
2683
+ /** @description Size in bytes. */
2684
+ file_size?: number;
2685
+ /** @description True when the attachment is no longer available. */
2686
+ unavailable?: boolean | null;
2687
+ }[];
2688
+ /** @description ISO-8601 UTC send timestamp. */
2689
+ timestamp?: string;
2690
+ /** @description True if the connected account sent this message. */
2691
+ is_sender?: boolean;
2692
+ is_seen?: boolean;
2693
+ is_delivered?: boolean;
2694
+ is_edited?: boolean;
2695
+ /** @description True if the account is mentioned in this message. */
2696
+ is_mentionned?: boolean;
2697
+ /** @description Per-type reaction breakdown on the message. */
2698
+ reactions?: {
2699
+ type?: string;
2700
+ count?: number;
2701
+ }[];
2702
+ /** @description Total reaction count across all types (derived). */
2703
+ reaction_count?: number;
2704
+ /** @description The platform this message originates from. */
2705
+ provider?: string;
2706
+ /** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
2707
+ sender?: {
2708
+ /** @description Identifier of the counterpart. */
2709
+ id?: string;
2710
+ /** @description individual | organization. */
2711
+ type?: string;
2712
+ display_name?: string;
2713
+ profile_url?: string;
2714
+ public_picture_url?: string;
2715
+ /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
2716
+ public_identifier?: string | null;
2717
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
2718
+ specifics?: {
2719
+ [key: string]: unknown;
2720
+ };
2721
+ };
2722
+ };
2655
2723
  };
2656
2724
  responses: never;
2657
2725
  parameters: never;
@@ -5632,9 +5700,9 @@ interface operations {
5632
5700
  /** @description Post author object. Present when available. */
5633
5701
  author?: {
5634
5702
  id?: string;
5635
- name?: string;
5703
+ name?: string | null;
5636
5704
  is_company?: boolean;
5637
- public_identifier?: string;
5705
+ public_identifier?: string | null;
5638
5706
  } & {
5639
5707
  [key: string]: unknown;
5640
5708
  };
@@ -5833,11 +5901,11 @@ interface operations {
5833
5901
  insights?: string[];
5834
5902
  /** @description Hiring company details. Present when available. */
5835
5903
  company?: {
5836
- id?: string;
5837
- name?: string;
5838
- profile_url?: string;
5839
- public_identifier?: string;
5840
- public_picture_url?: string;
5904
+ id?: string | null;
5905
+ name?: string | null;
5906
+ profile_url?: string | null;
5907
+ public_identifier?: string | null;
5908
+ public_picture_url?: string | null;
5841
5909
  } & {
5842
5910
  [key: string]: unknown;
5843
5911
  };
@@ -8676,9 +8744,9 @@ interface operations {
8676
8744
  /** @description Post author object. Present when available. */
8677
8745
  author?: {
8678
8746
  id?: string;
8679
- name?: string;
8747
+ name?: string | null;
8680
8748
  is_company?: boolean;
8681
- public_identifier?: string;
8749
+ public_identifier?: string | null;
8682
8750
  } & {
8683
8751
  [key: string]: unknown;
8684
8752
  };
@@ -8962,11 +9030,11 @@ interface operations {
8962
9030
  insights?: string[];
8963
9031
  /** @description Hiring company details. Present when available. */
8964
9032
  company?: {
8965
- id?: string;
8966
- name?: string;
8967
- profile_url?: string;
8968
- public_identifier?: string;
8969
- public_picture_url?: string;
9033
+ id?: string | null;
9034
+ name?: string | null;
9035
+ profile_url?: string | null;
9036
+ public_identifier?: string | null;
9037
+ public_picture_url?: string | null;
8970
9038
  } & {
8971
9039
  [key: string]: unknown;
8972
9040
  };
@@ -9203,9 +9271,9 @@ interface operations {
9203
9271
  /** @description Post author object. Present when available. */
9204
9272
  author?: {
9205
9273
  id?: string;
9206
- name?: string;
9274
+ name?: string | null;
9207
9275
  is_company?: boolean;
9208
- public_identifier?: string;
9276
+ public_identifier?: string | null;
9209
9277
  } & {
9210
9278
  [key: string]: unknown;
9211
9279
  };
@@ -9265,11 +9333,11 @@ interface operations {
9265
9333
  insights?: string[];
9266
9334
  /** @description Hiring company details. Present when available. */
9267
9335
  company?: {
9268
- id?: string;
9269
- name?: string;
9270
- profile_url?: string;
9271
- public_identifier?: string;
9272
- public_picture_url?: string;
9336
+ id?: string | null;
9337
+ name?: string | null;
9338
+ profile_url?: string | null;
9339
+ public_identifier?: string | null;
9340
+ public_picture_url?: string | null;
9273
9341
  } & {
9274
9342
  [key: string]: unknown;
9275
9343
  };
@@ -9948,6 +10016,7 @@ interface operations {
9948
10016
  * @enum {string}
9949
10017
  */
9950
10018
  object?: "message";
10019
+ quoted?: components["schemas"]["Message"];
9951
10020
  /** @description Message identifier. */
9952
10021
  id?: string;
9953
10022
  /** @description Account id that owns this message. */
@@ -10002,7 +10071,7 @@ interface operations {
10002
10071
  public_picture_url?: string;
10003
10072
  /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
10004
10073
  public_identifier?: string | null;
10005
- /** @description Provider-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10074
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10006
10075
  specifics?: {
10007
10076
  [key: string]: unknown;
10008
10077
  };
@@ -10364,6 +10433,7 @@ interface operations {
10364
10433
  * @enum {string}
10365
10434
  */
10366
10435
  object?: "message";
10436
+ quoted?: components["schemas"]["Message"];
10367
10437
  /** @description Message identifier. */
10368
10438
  id?: string;
10369
10439
  /** @description Account id that owns this message. */
@@ -10418,7 +10488,7 @@ interface operations {
10418
10488
  public_picture_url?: string;
10419
10489
  /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
10420
10490
  public_identifier?: string | null;
10421
- /** @description Provider-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10491
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10422
10492
  specifics?: {
10423
10493
  [key: string]: unknown;
10424
10494
  };
@@ -10696,6 +10766,7 @@ interface operations {
10696
10766
  * @enum {string}
10697
10767
  */
10698
10768
  object?: "message";
10769
+ quoted?: components["schemas"]["Message"];
10699
10770
  /** @description Message identifier. */
10700
10771
  id?: string;
10701
10772
  /** @description Account id that owns this message. */
@@ -10750,7 +10821,7 @@ interface operations {
10750
10821
  public_picture_url?: string;
10751
10822
  /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
10752
10823
  public_identifier?: string | null;
10753
- /** @description Provider-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10824
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
10754
10825
  specifics?: {
10755
10826
  [key: string]: unknown;
10756
10827
  };
@@ -11052,6 +11123,7 @@ interface operations {
11052
11123
  * @enum {string}
11053
11124
  */
11054
11125
  object?: "message";
11126
+ quoted?: components["schemas"]["Message"];
11055
11127
  /** @description Message identifier. */
11056
11128
  id?: string;
11057
11129
  /** @description Account id that owns this message. */
@@ -11106,7 +11178,7 @@ interface operations {
11106
11178
  public_picture_url?: string;
11107
11179
  /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
11108
11180
  public_identifier?: string | null;
11109
- /** @description Provider-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
11181
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
11110
11182
  specifics?: {
11111
11183
  [key: string]: unknown;
11112
11184
  };
@@ -11690,8 +11762,6 @@ interface operations {
11690
11762
  limit?: number;
11691
11763
  /** @description Pagination cursor from a previous response; decodable, wraps a zero-based item offset, pass it back verbatim. */
11692
11764
  cursor?: string;
11693
- /** @description Additional response fields to resolve, comma-separated in a single value (for example expand=public_identifier). Accepted values: public_identifier. When requested, the field is present on every user object in the response, carrying either a value or null. Omit for the base fields only. Pass the parameter once; repeating it drops values. At most 25 people per request need an extra lookup to resolve; anyone beyond that carries null, so ask for a smaller page to resolve them all. */
11694
- expand?: string;
11695
11765
  };
11696
11766
  header?: never;
11697
11767
  path: {
@@ -11773,20 +11843,6 @@ interface operations {
11773
11843
  }[];
11774
11844
  /** @description Opaque next-page cursor; null on the last page. */
11775
11845
  cursor?: string | null;
11776
- /** @description Present only when expand=public_identifier was asked for and this page held more people needing a profile lookup than one request performs. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
11777
- notices?: {
11778
- /**
11779
- * @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone.
11780
- * @enum {string}
11781
- */
11782
- code: "EXPANSION_LIMIT_REACHED";
11783
- /** @description One sentence explaining the condition and how to resolve it. */
11784
- message: string;
11785
- /** @description The request field the notice is about, here expand. */
11786
- field?: string;
11787
- /** @description The expansion the notice is about, here public_identifier. */
11788
- value?: string;
11789
- }[];
11790
11846
  };
11791
11847
  };
11792
11848
  };
@@ -12102,6 +12158,15 @@ interface operations {
12102
12158
  "application/json": components["schemas"]["Error"];
12103
12159
  };
12104
12160
  };
12161
+ /** @description No such account for this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12162
+ 404: {
12163
+ headers: {
12164
+ [name: string]: unknown;
12165
+ };
12166
+ content: {
12167
+ "application/json": components["schemas"]["Error"];
12168
+ };
12169
+ };
12105
12170
  /** @description Rate limited. */
12106
12171
  429: {
12107
12172
  headers: {
@@ -12232,6 +12297,7 @@ interface operations {
12232
12297
  * @enum {string}
12233
12298
  */
12234
12299
  object?: "message";
12300
+ quoted?: components["schemas"]["Message"];
12235
12301
  /** @description Message identifier. */
12236
12302
  id?: string;
12237
12303
  /** @description Account id that owns this message. */
@@ -12286,7 +12352,7 @@ interface operations {
12286
12352
  public_picture_url?: string;
12287
12353
  /** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
12288
12354
  public_identifier?: string | null;
12289
- /** @description Provider-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
12355
+ /** @description Platform-enriched detail about the sender (for example connection distance, premium or verified status), when the platform returns it. */
12290
12356
  specifics?: {
12291
12357
  [key: string]: unknown;
12292
12358
  };
@@ -12351,6 +12417,15 @@ interface operations {
12351
12417
  "application/json": components["schemas"]["Error"];
12352
12418
  };
12353
12419
  };
12420
+ /** @description No such account for this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12421
+ 404: {
12422
+ headers: {
12423
+ [name: string]: unknown;
12424
+ };
12425
+ content: {
12426
+ "application/json": components["schemas"]["Error"];
12427
+ };
12428
+ };
12354
12429
  /** @description Rate limited. */
12355
12430
  429: {
12356
12431
  headers: {
@@ -25140,10 +25215,8 @@ interface operations {
25140
25215
  notes_count?: number;
25141
25216
  /** @description Company website URL. May be null. */
25142
25217
  website?: string | null;
25143
- /** @description Structural platform pass-through; shape and presence vary. May be null. */
25144
- founded_on?: {
25145
- [key: string]: unknown;
25146
- };
25218
+ /** @description Year the company was founded, as a number. Present when available. */
25219
+ founded_on?: number;
25147
25220
  /** @description true when the account is starred on the seat. Present when available. */
25148
25221
  is_starred?: boolean;
25149
25222
  /** @description Structural platform pass-through; shape and presence vary. May be null. */
@@ -25332,6 +25405,38 @@ interface operations {
25332
25405
  id: string;
25333
25406
  /** @description Display name. */
25334
25407
  display_name: string;
25408
+ /** @description Numeric member ID, distinct from id. Present when available. */
25409
+ member_id?: string;
25410
+ /** @description LinkedIn public identifier. Present when available. */
25411
+ public_identifier?: string;
25412
+ /** @description Sales Navigator profile URL. Present when available. */
25413
+ profile_url?: string;
25414
+ /** @description Profile picture URL. Present when available. */
25415
+ public_picture_url?: string;
25416
+ /** @description Large variant of the profile picture URL. Present when available. */
25417
+ public_picture_url_large?: string;
25418
+ /** @description Connection count. Present when available. */
25419
+ relations_count?: number;
25420
+ /** @description Member location. Present when available. */
25421
+ location?: string;
25422
+ /** @description LinkedIn headline. Present when available. */
25423
+ headline?: string;
25424
+ /** @description About section text. Present when populated. */
25425
+ summary?: string;
25426
+ /** @description Whether an InMail can be sent to this member. */
25427
+ can_send_inmail?: boolean;
25428
+ /** @description Shared connections count. Present when available. */
25429
+ shared_relations_count?: number;
25430
+ /** @description Present when available. */
25431
+ latest_contact?: {
25432
+ type?: string;
25433
+ /** @description ISO-8601 UTC timestamp. */
25434
+ performed_at?: string;
25435
+ resource_id?: string;
25436
+ };
25437
+ social_handles?: {
25438
+ twitter?: string;
25439
+ };
25335
25440
  /**
25336
25441
  * @description Connection distance to the operator account. Present when available.
25337
25442
  * @enum {string}
@@ -25353,35 +25458,139 @@ interface operations {
25353
25458
  is_past_colleague?: boolean;
25354
25459
  /** @description Present when available. */
25355
25460
  is_open_profile?: boolean;
25461
+ /** @description Present when available. */
25462
+ websites?: string[];
25463
+ /** @description Present when available. */
25464
+ addresses?: string[];
25356
25465
  /** @description Contact info. Present when available. */
25357
25466
  contact_info?: {
25358
- phones?: {
25359
- [key: string]: unknown;
25360
- }[];
25361
- emails?: {
25362
- [key: string]: unknown;
25363
- }[];
25467
+ phones?: string[];
25468
+ emails?: string[];
25364
25469
  };
25365
25470
  /** @description How many lists this lead is saved to. Present when available. */
25366
25471
  lists_count?: number;
25367
25472
  /** @description How many notes are attached. Present when available. */
25368
25473
  notes_count?: number;
25369
25474
  /** @description Present when available. */
25370
- education?: {
25475
+ education?: ({
25476
+ /** @description Identifier of this education entry. Present when available. */
25477
+ id?: string;
25478
+ /** @description The institution. May carry a null id. */
25479
+ school?: {
25480
+ /** @description The organization's platform identifier, when known. */
25481
+ id?: string | null;
25482
+ /** @description The organization's name. */
25483
+ name?: string;
25484
+ /** @description The organization's public URL slug, when known. */
25485
+ public_identifier?: string;
25486
+ /** @description The organization's logo URL. */
25487
+ picture_url?: string;
25488
+ /** @description Full LinkedIn URL for the organization. */
25489
+ profile_url?: string;
25490
+ /** @description The organization's industry labels. */
25491
+ industries?: string[];
25492
+ } & {
25493
+ [key: string]: unknown;
25494
+ };
25495
+ /** @description Present when available. */
25496
+ degree?: string;
25497
+ /** @description Present when populated. */
25498
+ description?: string;
25499
+ /** @description Present when available. */
25500
+ activities?: string;
25501
+ /** @description Present when available. */
25502
+ skills?: string[];
25503
+ /** @description Present when available. */
25504
+ skills_preview?: string;
25505
+ /** @description Present when available. */
25506
+ grade?: string;
25507
+ /** @description Present when available. */
25508
+ fields_of_study?: string[];
25509
+ /** @description Present when available. */
25510
+ started_on?: string;
25511
+ /** @description Present when available. */
25512
+ ended_on?: string;
25513
+ } & {
25371
25514
  [key: string]: unknown;
25372
- }[];
25515
+ })[];
25373
25516
  /** @description Structural platform pass-through; returned as strings. Present when available. */
25374
25517
  skills?: unknown[];
25375
25518
  /** @description Present when available. */
25376
- work_experience?: {
25519
+ work_experience?: ({
25520
+ /** @description Identifier of this work-experience entry. Present when available. */
25521
+ id?: string;
25522
+ /** @description The employer. May carry a null id. */
25523
+ company?: {
25524
+ /** @description The organization's platform identifier, when known. */
25525
+ id?: string | null;
25526
+ /** @description The organization's name. */
25527
+ name?: string;
25528
+ /** @description The organization's public URL slug, when known. */
25529
+ public_identifier?: string;
25530
+ /** @description The organization's logo URL. */
25531
+ picture_url?: string;
25532
+ /** @description Full LinkedIn URL for the organization. */
25533
+ profile_url?: string;
25534
+ /** @description The organization's industry labels. */
25535
+ industries?: string[];
25536
+ } & {
25537
+ [key: string]: unknown;
25538
+ };
25539
+ /** @description Job title held. */
25540
+ job_title: string;
25541
+ /** @description Present when available. */
25542
+ started_on?: string;
25543
+ /** @description Present when available. */
25544
+ ended_on?: string;
25545
+ /** @description Present when available. */
25546
+ location?: string;
25547
+ /** @description Present when populated. */
25548
+ description?: string;
25549
+ /** @description Present when available. */
25550
+ employment_type?: string;
25551
+ /** @description Present when available. */
25552
+ workplace_type?: string;
25553
+ /** @description Present when available. */
25554
+ skills?: string[];
25555
+ /** @description Present when available. */
25556
+ skills_preview?: string;
25557
+ } & {
25377
25558
  [key: string]: unknown;
25378
- }[];
25559
+ })[];
25379
25560
  /** @description Structural platform pass-through; returned as strings. Present when available. */
25380
25561
  languages?: unknown[];
25381
25562
  /** @description Present when available. */
25382
- volunteering?: {
25563
+ volunteering?: ({
25564
+ /** @description Present when available. May carry a null id. */
25565
+ organization?: {
25566
+ /** @description The organization's platform identifier, when known. */
25567
+ id?: string | null;
25568
+ /** @description The organization's name. */
25569
+ name?: string;
25570
+ /** @description The organization's public URL slug, when known. */
25571
+ public_identifier?: string;
25572
+ /** @description The organization's logo URL. */
25573
+ picture_url?: string;
25574
+ /** @description Full LinkedIn URL for the organization. */
25575
+ profile_url?: string;
25576
+ /** @description The organization's industry labels. */
25577
+ industries?: string[];
25578
+ } & {
25579
+ [key: string]: unknown;
25580
+ };
25581
+ /** @description Role held. */
25582
+ role: string;
25583
+ /** @description Present when available. */
25584
+ cause?: string;
25585
+ /** @description Present when populated. */
25586
+ description?: string;
25587
+ /** @description Present when available. */
25588
+ started_on?: string;
25589
+ /** @description Present when available. */
25590
+ ended_on?: string;
25591
+ } & {
25383
25592
  [key: string]: unknown;
25384
- }[];
25593
+ })[];
25385
25594
  /** @description ISO-8601 timestamp of when the lead was saved. Present when available. */
25386
25595
  saved_at?: string;
25387
25596
  /** @description The company associated with this saved lead. Present when available. */
@@ -26186,21 +26395,13 @@ interface operations {
26186
26395
  is_past_colleague?: boolean;
26187
26396
  is_open_profile?: boolean;
26188
26397
  /** @description Present when available. */
26189
- websites?: {
26190
- [key: string]: unknown;
26191
- }[];
26398
+ websites?: string[];
26192
26399
  /** @description Present when available. */
26193
- addresses?: {
26194
- [key: string]: unknown;
26195
- }[];
26400
+ addresses?: string[];
26196
26401
  /** @description Contact info. Present when available. */
26197
26402
  contact_info?: {
26198
- phones?: {
26199
- [key: string]: unknown;
26200
- }[];
26201
- emails?: {
26202
- [key: string]: unknown;
26203
- }[];
26403
+ phones?: string[];
26404
+ emails?: string[];
26204
26405
  };
26205
26406
  /** @description Present when available. */
26206
26407
  latest_contact?: {
@@ -26215,27 +26416,131 @@ interface operations {
26215
26416
  twitter?: string;
26216
26417
  };
26217
26418
  /** @description Present when available. */
26218
- education?: {
26419
+ education?: ({
26420
+ /** @description Identifier of this education entry. Present when available. */
26421
+ id?: string;
26422
+ /** @description The institution. May carry a null id. */
26423
+ school?: {
26424
+ /** @description The organization's platform identifier, when known. */
26425
+ id?: string | null;
26426
+ /** @description The organization's name. */
26427
+ name?: string;
26428
+ /** @description The organization's public URL slug, when known. */
26429
+ public_identifier?: string;
26430
+ /** @description The organization's logo URL. */
26431
+ picture_url?: string;
26432
+ /** @description Full LinkedIn URL for the organization. */
26433
+ profile_url?: string;
26434
+ /** @description The organization's industry labels. */
26435
+ industries?: string[];
26436
+ } & {
26437
+ [key: string]: unknown;
26438
+ };
26439
+ /** @description Present when available. */
26440
+ degree?: string;
26441
+ /** @description Present when populated. */
26442
+ description?: string;
26443
+ /** @description Present when available. */
26444
+ activities?: string;
26445
+ /** @description Present when available. */
26446
+ skills?: string[];
26447
+ /** @description Present when available. */
26448
+ skills_preview?: string;
26449
+ /** @description Present when available. */
26450
+ grade?: string;
26451
+ /** @description Present when available. */
26452
+ fields_of_study?: string[];
26453
+ /** @description Present when available. */
26454
+ started_on?: string;
26455
+ /** @description Present when available. */
26456
+ ended_on?: string;
26457
+ } & {
26219
26458
  [key: string]: unknown;
26220
- }[];
26459
+ })[];
26221
26460
  /** @description Present when available. */
26222
26461
  skills?: {
26223
26462
  name?: string;
26224
26463
  endorsement_count?: number;
26225
26464
  }[];
26226
26465
  /** @description Present when available. */
26227
- work_experience?: {
26466
+ work_experience?: ({
26467
+ /** @description Identifier of this work-experience entry. Present when available. */
26468
+ id?: string;
26469
+ /** @description The employer. May carry a null id. */
26470
+ company?: {
26471
+ /** @description The organization's platform identifier, when known. */
26472
+ id?: string | null;
26473
+ /** @description The organization's name. */
26474
+ name?: string;
26475
+ /** @description The organization's public URL slug, when known. */
26476
+ public_identifier?: string;
26477
+ /** @description The organization's logo URL. */
26478
+ picture_url?: string;
26479
+ /** @description Full LinkedIn URL for the organization. */
26480
+ profile_url?: string;
26481
+ /** @description The organization's industry labels. */
26482
+ industries?: string[];
26483
+ } & {
26484
+ [key: string]: unknown;
26485
+ };
26486
+ /** @description Job title held. */
26487
+ job_title: string;
26488
+ /** @description Present when available. */
26489
+ started_on?: string;
26490
+ /** @description Present when available. */
26491
+ ended_on?: string;
26492
+ /** @description Present when available. */
26493
+ location?: string;
26494
+ /** @description Present when populated. */
26495
+ description?: string;
26496
+ /** @description Present when available. */
26497
+ employment_type?: string;
26498
+ /** @description Present when available. */
26499
+ workplace_type?: string;
26500
+ /** @description Present when available. */
26501
+ skills?: string[];
26502
+ /** @description Present when available. */
26503
+ skills_preview?: string;
26504
+ } & {
26228
26505
  [key: string]: unknown;
26229
- }[];
26506
+ })[];
26230
26507
  /** @description Present when available. */
26231
26508
  languages?: {
26232
26509
  language?: string;
26233
26510
  proficiency?: string;
26234
26511
  }[];
26235
26512
  /** @description Present when available. */
26236
- volunteering?: {
26513
+ volunteering?: ({
26514
+ /** @description Present when available. May carry a null id. */
26515
+ organization?: {
26516
+ /** @description The organization's platform identifier, when known. */
26517
+ id?: string | null;
26518
+ /** @description The organization's name. */
26519
+ name?: string;
26520
+ /** @description The organization's public URL slug, when known. */
26521
+ public_identifier?: string;
26522
+ /** @description The organization's logo URL. */
26523
+ picture_url?: string;
26524
+ /** @description Full LinkedIn URL for the organization. */
26525
+ profile_url?: string;
26526
+ /** @description The organization's industry labels. */
26527
+ industries?: string[];
26528
+ } & {
26529
+ [key: string]: unknown;
26530
+ };
26531
+ /** @description Role held. */
26532
+ role: string;
26533
+ /** @description Present when available. */
26534
+ cause?: string;
26535
+ /** @description Present when populated. */
26536
+ description?: string;
26537
+ /** @description Present when available. */
26538
+ started_on?: string;
26539
+ /** @description Present when available. */
26540
+ ended_on?: string;
26541
+ } & {
26237
26542
  [key: string]: unknown;
26238
- }[];
26543
+ })[];
26239
26544
  }[];
26240
26545
  /** @description Pagination metadata. */
26241
26546
  paging: {
@@ -26501,12 +26806,12 @@ interface operations {
26501
26806
  /** @description Employee count. Present when available. */
26502
26807
  headcount?: number;
26503
26808
  /** @description Present when available. */
26504
- specialties?: unknown;
26809
+ specialties?: string[];
26505
26810
  is_hiring_on_linkedin?: boolean;
26506
26811
  /** @description Company website URL. Present when available. */
26507
26812
  website?: string;
26508
- /** @description Year or date the company was founded. Present when available. */
26509
- founded_on?: unknown;
26813
+ /** @description Year the company was founded, as a number. Present when available. */
26814
+ founded_on?: number;
26510
26815
  }[];
26511
26816
  /** @description Pagination metadata. */
26512
26817
  paging: {
@@ -26706,21 +27011,13 @@ interface operations {
26706
27011
  is_past_colleague?: boolean;
26707
27012
  is_open_profile?: boolean;
26708
27013
  /** @description Present when available. */
26709
- websites?: {
26710
- [key: string]: unknown;
26711
- }[];
27014
+ websites?: string[];
26712
27015
  /** @description Present when available. */
26713
- addresses?: {
26714
- [key: string]: unknown;
26715
- }[];
27016
+ addresses?: string[];
26716
27017
  /** @description Contact info. Present when available. */
26717
27018
  contact_info?: {
26718
- phones?: {
26719
- [key: string]: unknown;
26720
- }[];
26721
- emails?: {
26722
- [key: string]: unknown;
26723
- }[];
27019
+ phones?: string[];
27020
+ emails?: string[];
26724
27021
  };
26725
27022
  /** @description Present when available. */
26726
27023
  latest_contact?: {
@@ -26735,27 +27032,131 @@ interface operations {
26735
27032
  twitter?: string;
26736
27033
  };
26737
27034
  /** @description Present when available. */
26738
- education?: {
27035
+ education?: ({
27036
+ /** @description Identifier of this education entry. Present when available. */
27037
+ id?: string;
27038
+ /** @description The institution. May carry a null id. */
27039
+ school?: {
27040
+ /** @description The organization's platform identifier, when known. */
27041
+ id?: string | null;
27042
+ /** @description The organization's name. */
27043
+ name?: string;
27044
+ /** @description The organization's public URL slug, when known. */
27045
+ public_identifier?: string;
27046
+ /** @description The organization's logo URL. */
27047
+ picture_url?: string;
27048
+ /** @description Full LinkedIn URL for the organization. */
27049
+ profile_url?: string;
27050
+ /** @description The organization's industry labels. */
27051
+ industries?: string[];
27052
+ } & {
27053
+ [key: string]: unknown;
27054
+ };
27055
+ /** @description Present when available. */
27056
+ degree?: string;
27057
+ /** @description Present when populated. */
27058
+ description?: string;
27059
+ /** @description Present when available. */
27060
+ activities?: string;
27061
+ /** @description Present when available. */
27062
+ skills?: string[];
27063
+ /** @description Present when available. */
27064
+ skills_preview?: string;
27065
+ /** @description Present when available. */
27066
+ grade?: string;
27067
+ /** @description Present when available. */
27068
+ fields_of_study?: string[];
27069
+ /** @description Present when available. */
27070
+ started_on?: string;
27071
+ /** @description Present when available. */
27072
+ ended_on?: string;
27073
+ } & {
26739
27074
  [key: string]: unknown;
26740
- }[];
27075
+ })[];
26741
27076
  /** @description Present when available. */
26742
27077
  skills?: {
26743
27078
  name?: string;
26744
27079
  endorsement_count?: number;
26745
27080
  }[];
26746
27081
  /** @description Present when available. */
26747
- work_experience?: {
27082
+ work_experience?: ({
27083
+ /** @description Identifier of this work-experience entry. Present when available. */
27084
+ id?: string;
27085
+ /** @description The employer. May carry a null id. */
27086
+ company?: {
27087
+ /** @description The organization's platform identifier, when known. */
27088
+ id?: string | null;
27089
+ /** @description The organization's name. */
27090
+ name?: string;
27091
+ /** @description The organization's public URL slug, when known. */
27092
+ public_identifier?: string;
27093
+ /** @description The organization's logo URL. */
27094
+ picture_url?: string;
27095
+ /** @description Full LinkedIn URL for the organization. */
27096
+ profile_url?: string;
27097
+ /** @description The organization's industry labels. */
27098
+ industries?: string[];
27099
+ } & {
27100
+ [key: string]: unknown;
27101
+ };
27102
+ /** @description Job title held. */
27103
+ job_title: string;
27104
+ /** @description Present when available. */
27105
+ started_on?: string;
27106
+ /** @description Present when available. */
27107
+ ended_on?: string;
27108
+ /** @description Present when available. */
27109
+ location?: string;
27110
+ /** @description Present when populated. */
27111
+ description?: string;
27112
+ /** @description Present when available. */
27113
+ employment_type?: string;
27114
+ /** @description Present when available. */
27115
+ workplace_type?: string;
27116
+ /** @description Present when available. */
27117
+ skills?: string[];
27118
+ /** @description Present when available. */
27119
+ skills_preview?: string;
27120
+ } & {
26748
27121
  [key: string]: unknown;
26749
- }[];
27122
+ })[];
26750
27123
  /** @description Present when available. */
26751
27124
  languages?: {
26752
27125
  language?: string;
26753
27126
  proficiency?: string;
26754
27127
  }[];
26755
27128
  /** @description Present when available. */
26756
- volunteering?: {
27129
+ volunteering?: ({
27130
+ /** @description Present when available. May carry a null id. */
27131
+ organization?: {
27132
+ /** @description The organization's platform identifier, when known. */
27133
+ id?: string | null;
27134
+ /** @description The organization's name. */
27135
+ name?: string;
27136
+ /** @description The organization's public URL slug, when known. */
27137
+ public_identifier?: string;
27138
+ /** @description The organization's logo URL. */
27139
+ picture_url?: string;
27140
+ /** @description Full LinkedIn URL for the organization. */
27141
+ profile_url?: string;
27142
+ /** @description The organization's industry labels. */
27143
+ industries?: string[];
27144
+ } & {
27145
+ [key: string]: unknown;
27146
+ };
27147
+ /** @description Role held. */
27148
+ role: string;
27149
+ /** @description Present when available. */
27150
+ cause?: string;
27151
+ /** @description Present when populated. */
27152
+ description?: string;
27153
+ /** @description Present when available. */
27154
+ started_on?: string;
27155
+ /** @description Present when available. */
27156
+ ended_on?: string;
27157
+ } & {
26757
27158
  [key: string]: unknown;
26758
- }[];
27159
+ })[];
26759
27160
  } | {
26760
27161
  /**
26761
27162
  * @description Item type discriminator.
@@ -26787,12 +27188,12 @@ interface operations {
26787
27188
  /** @description Employee count. Present when available. */
26788
27189
  headcount?: number;
26789
27190
  /** @description Present when available. */
26790
- specialties?: unknown;
27191
+ specialties?: string[];
26791
27192
  is_hiring_on_linkedin?: boolean;
26792
27193
  /** @description Company website URL. Present when available. */
26793
27194
  website?: string;
26794
- /** @description Year or date the company was founded. Present when available. */
26795
- founded_on?: unknown;
27195
+ /** @description Year the company was founded, as a number. Present when available. */
27196
+ founded_on?: number;
26796
27197
  } | {
26797
27198
  /**
26798
27199
  * @description Item type discriminator.