@curviate/sdk 0.21.0 → 0.23.0

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
@@ -6854,7 +6854,7 @@ interface operations {
6854
6854
  };
6855
6855
  };
6856
6856
  };
6857
- /** @description A non-numeric identifier, or a malformed/empty chat_id. */
6857
+ /** @description A non-numeric identifier, a malformed/empty chat_id, or a malformed cursor. */
6858
6858
  400: {
6859
6859
  headers: {
6860
6860
  [name: string]: unknown;
@@ -7400,7 +7400,7 @@ interface operations {
7400
7400
  };
7401
7401
  };
7402
7402
  };
7403
- /** @description A non-numeric identifier; zero or more than one of query/topic/unread; or an unknown topic. */
7403
+ /** @description A non-numeric identifier; zero or more than one of query/topic/unread; an unknown topic; or a malformed cursor. */
7404
7404
  400: {
7405
7405
  headers: {
7406
7406
  [name: string]: unknown;
@@ -8271,7 +8271,7 @@ interface operations {
8271
8271
  };
8272
8272
  };
8273
8273
  };
8274
- /** @description Invalid request body, missing or malformed filter, or limit outside the 1-50 range. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8274
+ /** @description Invalid request body, missing or malformed filter, malformed cursor, or limit outside the 1-50 range. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8275
8275
  400: {
8276
8276
  headers: {
8277
8277
  [name: string]: unknown;
@@ -8392,8 +8392,6 @@ interface operations {
8392
8392
  /** @description Upper bound of a company-size bucket. Valid values: 1, 10, 50, 200, 500, 1000, 5000, 10000. */
8393
8393
  max: number;
8394
8394
  }[];
8395
- /** @description Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree. */
8396
- network_distance?: (1 | 2 | 3)[];
8397
8395
  };
8398
8396
  };
8399
8397
  };
@@ -8461,7 +8459,7 @@ interface operations {
8461
8459
  };
8462
8460
  };
8463
8461
  };
8464
- /** @description Invalid request body, malformed filter, or limit outside the 2-50 range (companies require limit >= 2). A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8462
+ /** @description Invalid request body, malformed filter, malformed cursor, or limit outside the 2-50 range (companies require limit >= 2). A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8465
8463
  400: {
8466
8464
  headers: {
8467
8465
  [name: string]: unknown;
@@ -8697,7 +8695,7 @@ interface operations {
8697
8695
  };
8698
8696
  };
8699
8697
  };
8700
- /** @description Invalid request body, malformed filter or invalid content_type. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8698
+ /** @description Invalid request body, malformed filter, malformed cursor, or invalid content_type. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8701
8699
  400: {
8702
8700
  headers: {
8703
8701
  [name: string]: unknown;
@@ -8952,7 +8950,7 @@ interface operations {
8952
8950
  };
8953
8951
  };
8954
8952
  };
8955
- /** @description Invalid request body, malformed filter, invalid seniority value, non-numeric date_posted, or limit outside the 1-100 range. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8953
+ /** @description Invalid request body, malformed filter, malformed cursor, invalid seniority value, non-numeric date_posted, or limit outside the 1-100 range. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
8956
8954
  400: {
8957
8955
  headers: {
8958
8956
  [name: string]: unknown;
@@ -9232,7 +9230,7 @@ interface operations {
9232
9230
  };
9233
9231
  };
9234
9232
  };
9235
- /** @description Missing or malformed url, or limit outside the 1-50 range. */
9233
+ /** @description Missing or malformed url, malformed cursor, or limit outside the 1-50 range. */
9236
9234
  400: {
9237
9235
  headers: {
9238
9236
  [name: string]: unknown;
@@ -9377,7 +9375,7 @@ interface operations {
9377
9375
  };
9378
9376
  };
9379
9377
  };
9380
- /** @description Missing or empty account_id, or missing or empty keywords. */
9378
+ /** @description Missing or empty account_id, missing or empty keywords, or malformed cursor. */
9381
9379
  400: {
9382
9380
  headers: {
9383
9381
  [name: string]: unknown;
@@ -9564,7 +9562,7 @@ interface operations {
9564
9562
  };
9565
9563
  };
9566
9564
  };
9567
- /** @description Missing or empty account_id, or no filter supplied, at least one of keywords, service_category, or location is required. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
9565
+ /** @description Missing or empty account_id, no filter supplied (at least one of keywords, service_category, or location is required), or malformed cursor. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id. */
9568
9566
  400: {
9569
9567
  headers: {
9570
9568
  [name: string]: unknown;
@@ -9704,7 +9702,7 @@ interface operations {
9704
9702
  };
9705
9703
  };
9706
9704
  };
9707
- /** @description Missing or empty account_id or keywords, or an unsupported type. */
9705
+ /** @description Missing or empty account_id or keywords, an unsupported type, or malformed cursor. */
9708
9706
  400: {
9709
9707
  headers: {
9710
9708
  [name: string]: unknown;
@@ -11693,7 +11691,7 @@ interface operations {
11693
11691
  };
11694
11692
  };
11695
11693
  };
11696
- /** @description Missing or empty account_id, or missing or empty query. */
11694
+ /** @description Missing or empty account_id, missing or empty query, or a malformed cursor. */
11697
11695
  400: {
11698
11696
  headers: {
11699
11697
  [name: string]: unknown;
@@ -15402,7 +15400,7 @@ interface operations {
15402
15400
  };
15403
15401
  };
15404
15402
  };
15405
- /** @description Missing, empty, or invalid state; or limit greater than 100. */
15403
+ /** @description Missing, empty, or invalid state; limit greater than 100; or malformed cursor. */
15406
15404
  400: {
15407
15405
  headers: {
15408
15406
  [name: string]: unknown;
@@ -16786,7 +16784,7 @@ interface operations {
16786
16784
  };
16787
16785
  };
16788
16786
  };
16789
- /** @description Invalid filter body, or limit greater than 100. */
16787
+ /** @description Invalid filter body, limit greater than 100, or malformed cursor. */
16790
16788
  400: {
16791
16789
  headers: {
16792
16790
  [name: string]: unknown;
@@ -18884,38 +18882,260 @@ interface operations {
18884
18882
  is_hiring?: boolean;
18885
18883
  /** @description Whether the member has Open to Work enabled. */
18886
18884
  is_open_to_work?: boolean;
18887
- /** @description Skills entries. Present only when skills or linkedin_* was requested. */
18888
- skills?: {
18885
+ /** @description Skills entries. Present only when skills or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
18886
+ skills?: ({
18887
+ /** @description The skill name. */
18888
+ name?: string;
18889
+ /** @description How many people have endorsed this skill. */
18890
+ endorsement_count?: number;
18891
+ /** @description Whether the operator account has already endorsed this skill. */
18892
+ endorsed?: boolean;
18893
+ /** @description LinkedIn-provided insight strings about the skill. */
18894
+ insights?: string[];
18895
+ /** @description The value passed to POST /v1/{account_id}/users/{user_id}/endorse-skill to endorse this skill. Present ONLY for skills you are eligible to endorse, i.e. those of your 1st-degree connections. Omitted for users outside your network and on your own profile (the skill still lists name, endorsement_count, endorsed, and insights). */
18896
+ endorsement_id?: number;
18897
+ } & {
18889
18898
  [key: string]: unknown;
18890
- }[];
18891
- /** @description Work experience entries. Present only when experience or linkedin_* was requested. */
18892
- experience?: {
18899
+ })[];
18900
+ /** @description Work experience entries. Present only when experience or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
18901
+ experience?: ({
18902
+ /** @description Identifier of this work-experience entry. Not a company identifier. */
18903
+ id?: string;
18904
+ /** @description The employer. An object, not a name string. */
18905
+ company?: {
18906
+ /** @description The organization's platform identifier, when known. */
18907
+ id?: string | null;
18908
+ /** @description The organization's name. */
18909
+ name?: string;
18910
+ /** @description The organization's public URL slug, when known. */
18911
+ public_identifier?: string;
18912
+ /** @description The organization's logo URL. */
18913
+ picture_url?: string;
18914
+ /** @description Full LinkedIn URL for the organization. */
18915
+ profile_url?: string;
18916
+ /** @description The organization's industry labels. */
18917
+ industries?: string[];
18918
+ } & {
18919
+ [key: string]: unknown;
18920
+ };
18921
+ /** @description Job title held. This is the title field; there is no 'position' or 'title' key. */
18922
+ job_title?: string;
18923
+ /** @description Date the role started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
18924
+ started_on?: string;
18925
+ /** @description Date the role ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
18926
+ ended_on?: string;
18927
+ /** @description Where the role was based, as written on the profile. */
18928
+ location?: string;
18929
+ /** @description The member's own description of the role. Passes through verbatim, never stored. */
18930
+ description?: string;
18931
+ /** @description Employment arrangement, e.g. PERMANENT, PERMANENT_PART_TIME, CONTRACT, CONTRACT_PART_TIME, FREELANCE, SELF_EMPLOYED, INTERNSHIP, APPRENTICESHIP, TEMPORARY, VOLUNTEERING. Not present on every entry. */
18932
+ employment_type?: string;
18933
+ /** @description Working arrangement: ON_SITE, HYBRID, or REMOTE. Not present on every entry. */
18934
+ workplace_type?: string;
18935
+ /** @description Skills the member associated with this role. */
18936
+ skills?: string[];
18937
+ /** @description A short summary line of the associated skills. */
18938
+ skills_preview?: string;
18939
+ } & {
18893
18940
  [key: string]: unknown;
18894
- }[];
18895
- /** @description Education entries. Present only when education or linkedin_* was requested. */
18896
- education?: {
18941
+ })[];
18942
+ /** @description Education entries. Present only when education or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
18943
+ education?: ({
18944
+ /** @description Identifier of this education entry. */
18945
+ id?: string;
18946
+ /** @description The institution. An object, not a name string. */
18947
+ school?: {
18948
+ /** @description The organization's platform identifier, when known. */
18949
+ id?: string | null;
18950
+ /** @description The organization's name. */
18951
+ name?: string;
18952
+ /** @description The organization's public URL slug, when known. */
18953
+ public_identifier?: string;
18954
+ /** @description The organization's logo URL. */
18955
+ picture_url?: string;
18956
+ /** @description Full LinkedIn URL for the organization. */
18957
+ profile_url?: string;
18958
+ /** @description The organization's industry labels. */
18959
+ industries?: string[];
18960
+ } & {
18961
+ [key: string]: unknown;
18962
+ };
18963
+ /** @description Name of the degree or qualification. */
18964
+ degree?: string;
18965
+ /** @description Subjects studied. Plural and always an array, even for a single subject. */
18966
+ fields_of_study?: string[];
18967
+ /** @description Grade or academic level reached. */
18968
+ grade?: string;
18969
+ /** @description Activities carried out during the studies. */
18970
+ activities?: string;
18971
+ /** @description The member's own description of the studies. Passes through verbatim, never stored. */
18972
+ description?: string;
18973
+ /** @description Date the studies started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
18974
+ started_on?: string;
18975
+ /** @description Date the studies ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
18976
+ ended_on?: string;
18977
+ /** @description Skills the member associated with the studies. */
18978
+ skills?: string[];
18979
+ /** @description A short summary line of the associated skills. */
18980
+ skills_preview?: string;
18981
+ } & {
18897
18982
  [key: string]: unknown;
18898
- }[];
18899
- /** @description Languages entries. Present only when languages or linkedin_* was requested. */
18900
- languages?: {
18983
+ })[];
18984
+ /** @description Languages entries. Present only when languages or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
18985
+ languages?: ({
18986
+ /** @description Name of the language. */
18987
+ language?: string;
18988
+ /** @description Stated fluency: ELEMENTARY, LIMITED_WORKING, PROFESSIONAL_WORKING, FULL_PROFESSIONAL, or NATIVE_OR_BILINGUAL. */
18989
+ proficiency?: string;
18990
+ } & {
18901
18991
  [key: string]: unknown;
18902
- }[];
18903
- /** @description Certification entries. Present only when certifications or linkedin_* was requested. */
18904
- certifications?: {
18992
+ })[];
18993
+ /** @description Certification entries. Present only when certifications or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
18994
+ certifications?: ({
18995
+ /** @description Name of the certification. This is the name field; there is no 'name' key. */
18996
+ title?: string;
18997
+ /** @description The issuing body. An object, not a name string. */
18998
+ organization?: {
18999
+ /** @description The organization's platform identifier, when known. */
19000
+ id?: string | null;
19001
+ /** @description The organization's name. */
19002
+ name?: string;
19003
+ /** @description The organization's public URL slug, when known. */
19004
+ public_identifier?: string;
19005
+ /** @description The organization's logo URL. */
19006
+ picture_url?: string;
19007
+ /** @description Full LinkedIn URL for the organization. */
19008
+ profile_url?: string;
19009
+ /** @description The organization's industry labels. */
19010
+ industries?: string[];
19011
+ } & {
19012
+ [key: string]: unknown;
19013
+ };
19014
+ /** @description Date the certification was issued. Formatted MM/DD/YYYY, month first. The platform records month and year only. */
19015
+ issued_on?: string;
19016
+ /** @description Date the certification expires. Absent when it does not expire. Formatted MM/DD/YYYY, month first. The platform records month and year only. */
19017
+ expires_on?: string;
19018
+ /** @description License or credential identifier. */
19019
+ license?: string;
19020
+ /** @description Public URL for the certification. */
19021
+ url?: string;
19022
+ /** @description Skills the member associated with the certification. */
19023
+ skills?: string[];
19024
+ /** @description A short summary line of the associated skills. */
19025
+ skills_preview?: string;
19026
+ } & {
18905
19027
  [key: string]: unknown;
18906
- }[];
18907
- /** @description Project entries. Present only when projects or linkedin_* was requested. */
18908
- projects?: {
19028
+ })[];
19029
+ /** @description Project entries. Present only when projects or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
19030
+ projects?: ({
19031
+ /** @description Name of the project. */
19032
+ name?: string;
19033
+ /** @description The member's own description of the project. Passes through verbatim, never stored. */
19034
+ description?: string;
19035
+ /** @description Other members credited on the project. */
19036
+ contributors?: ({
19037
+ /** @description The member's opaque identifier. */
19038
+ id?: string;
19039
+ /** @description Object discriminator for the embedded member. */
19040
+ object?: string;
19041
+ /** @description Profile type (e.g. individual). */
19042
+ type?: string;
19043
+ /** @description The member's display name. */
19044
+ display_name?: string;
19045
+ /** @description First name. */
19046
+ first_name?: string;
19047
+ /** @description Last name. */
19048
+ last_name?: string;
19049
+ /** @description LinkedIn public URL slug (e.g. 'jane-doe'). */
19050
+ public_identifier?: string;
19051
+ /** @description Full LinkedIn profile URL. */
19052
+ profile_url?: string;
19053
+ /** @description Profile picture URL. */
19054
+ public_picture_url?: string;
19055
+ /** @description The member's professional headline. */
19056
+ description?: string;
19057
+ } & {
19058
+ [key: string]: unknown;
19059
+ })[];
19060
+ /** @description Skills the member associated with the project. */
19061
+ skills?: string[];
19062
+ /** @description A short summary line of the associated skills. */
19063
+ skills_preview?: string;
19064
+ /** @description Date the project started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
19065
+ started_on?: string;
19066
+ /** @description Date the project ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
19067
+ ended_on?: string;
19068
+ } & {
18909
19069
  [key: string]: unknown;
18910
- }[];
18911
- /** @description Volunteering entries. Present only when volunteering or linkedin_* was requested. */
18912
- volunteering?: {
19070
+ })[];
19071
+ /** @description Volunteering entries. Present only when volunteering or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
19072
+ volunteering?: ({
19073
+ /** @description The organization volunteered for. An object, not a name string. */
19074
+ organization?: {
19075
+ /** @description The organization's platform identifier, when known. */
19076
+ id?: string | null;
19077
+ /** @description The organization's name. */
19078
+ name?: string;
19079
+ /** @description The organization's public URL slug, when known. */
19080
+ public_identifier?: string;
19081
+ /** @description The organization's logo URL. */
19082
+ picture_url?: string;
19083
+ /** @description Full LinkedIn URL for the organization. */
19084
+ profile_url?: string;
19085
+ /** @description The organization's industry labels. */
19086
+ industries?: string[];
19087
+ } & {
19088
+ [key: string]: unknown;
19089
+ };
19090
+ /** @description Role held while volunteering. */
19091
+ role?: string;
19092
+ /** @description The cause supported, as categorised by the platform. */
19093
+ cause?: string;
19094
+ /** @description The member's own description of the work. Passes through verbatim, never stored. */
19095
+ description?: string;
19096
+ /** @description Date the work started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
19097
+ started_on?: string;
19098
+ /** @description Date the work ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
19099
+ ended_on?: string;
19100
+ } & {
18913
19101
  [key: string]: unknown;
18914
- }[];
18915
- /** @description Recommendations entries. Present only when recommendations or linkedin_* was requested. */
18916
- recommendations?: {
19102
+ })[];
19103
+ /** @description Recommendations entries. Present only when recommendations or linkedin_* was requested. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, since this surface's own typed fields already match that shape, rather than from a Recruiter-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. That reuse covers the ITEM shape only, not the container: on the classic profile this same underlying section is an OBJECT ({received, given}), not an array. Confirm the shape on this surface before iterating it as an array; guard for both shapes until then. */
19104
+ recommendations?: ({
19105
+ /** @description The recommendation text. Passes through verbatim, never stored. */
19106
+ text?: string;
19107
+ /** @description How the two members worked together, as shown on the profile. */
19108
+ caption?: string;
19109
+ /** @description When the recommendation was written. */
19110
+ created_on?: string;
19111
+ /** @description The other member involved. May be null when the platform withholds the identity. */
19112
+ user?: {
19113
+ /** @description The member's opaque identifier. */
19114
+ id?: string;
19115
+ /** @description Object discriminator for the embedded member. */
19116
+ object?: string;
19117
+ /** @description Profile type (e.g. individual). */
19118
+ type?: string;
19119
+ /** @description The member's display name. */
19120
+ display_name?: string;
19121
+ /** @description First name. */
19122
+ first_name?: string;
19123
+ /** @description Last name. */
19124
+ last_name?: string;
19125
+ /** @description LinkedIn public URL slug (e.g. 'jane-doe'). */
19126
+ public_identifier?: string;
19127
+ /** @description Full LinkedIn profile URL. */
19128
+ profile_url?: string;
19129
+ /** @description Profile picture URL. */
19130
+ public_picture_url?: string;
19131
+ /** @description The member's professional headline. */
19132
+ description?: string;
19133
+ } & {
19134
+ [key: string]: unknown;
19135
+ };
19136
+ } & {
18917
19137
  [key: string]: unknown;
18918
- }[];
19138
+ })[];
18919
19139
  /** @description Section names that were requested but throttled by LinkedIn. */
18920
19140
  throttled_sections?: string[];
18921
19141
  };
@@ -19469,7 +19689,7 @@ interface operations {
19469
19689
  };
19470
19690
  };
19471
19691
  };
19472
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
19692
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
19473
19693
  400: {
19474
19694
  headers: {
19475
19695
  [name: string]: unknown;
@@ -19876,7 +20096,7 @@ interface operations {
19876
20096
  };
19877
20097
  };
19878
20098
  };
19879
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
20099
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
19880
20100
  400: {
19881
20101
  headers: {
19882
20102
  [name: string]: unknown;
@@ -20079,7 +20299,7 @@ interface operations {
20079
20299
  };
20080
20300
  };
20081
20301
  };
20082
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
20302
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
20083
20303
  400: {
20084
20304
  headers: {
20085
20305
  [name: string]: unknown;
@@ -20236,7 +20456,7 @@ interface operations {
20236
20456
  };
20237
20457
  };
20238
20458
  };
20239
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
20459
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
20240
20460
  400: {
20241
20461
  headers: {
20242
20462
  [name: string]: unknown;
@@ -20480,7 +20700,7 @@ interface operations {
20480
20700
  };
20481
20701
  };
20482
20702
  };
20483
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
20703
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
20484
20704
  400: {
20485
20705
  headers: {
20486
20706
  [name: string]: unknown;
@@ -20778,7 +20998,7 @@ interface operations {
20778
20998
  };
20779
20999
  };
20780
21000
  };
20781
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
21001
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
20782
21002
  400: {
20783
21003
  headers: {
20784
21004
  [name: string]: unknown;
@@ -21110,7 +21330,7 @@ interface operations {
21110
21330
  };
21111
21331
  };
21112
21332
  };
21113
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
21333
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
21114
21334
  400: {
21115
21335
  headers: {
21116
21336
  [name: string]: unknown;
@@ -21280,7 +21500,7 @@ interface operations {
21280
21500
  };
21281
21501
  };
21282
21502
  };
21283
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
21503
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
21284
21504
  400: {
21285
21505
  headers: {
21286
21506
  [name: string]: unknown;
@@ -21487,7 +21707,7 @@ interface operations {
21487
21707
  };
21488
21708
  };
21489
21709
  };
21490
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
21710
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
21491
21711
  400: {
21492
21712
  headers: {
21493
21713
  [name: string]: unknown;
@@ -21632,7 +21852,7 @@ interface operations {
21632
21852
  };
21633
21853
  };
21634
21854
  };
21635
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
21855
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
21636
21856
  400: {
21637
21857
  headers: {
21638
21858
  [name: string]: unknown;
@@ -21796,7 +22016,7 @@ interface operations {
21796
22016
  };
21797
22017
  };
21798
22018
  };
21799
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
22019
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
21800
22020
  400: {
21801
22021
  headers: {
21802
22022
  [name: string]: unknown;
@@ -22003,7 +22223,7 @@ interface operations {
22003
22223
  };
22004
22224
  };
22005
22225
  };
22006
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
22226
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
22007
22227
  400: {
22008
22228
  headers: {
22009
22229
  [name: string]: unknown;
@@ -22173,7 +22393,7 @@ interface operations {
22173
22393
  };
22174
22394
  };
22175
22395
  };
22176
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
22396
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
22177
22397
  400: {
22178
22398
  headers: {
22179
22399
  [name: string]: unknown;
@@ -22380,7 +22600,7 @@ interface operations {
22380
22600
  };
22381
22601
  };
22382
22602
  };
22383
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
22603
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
22384
22604
  400: {
22385
22605
  headers: {
22386
22606
  [name: string]: unknown;
@@ -22693,7 +22913,7 @@ interface operations {
22693
22913
  };
22694
22914
  };
22695
22915
  };
22696
- /** @description Invalid request, an over-cap limit, an unknown status/sort_by value, or another validation error. */
22916
+ /** @description Invalid request, an over-cap limit, a malformed cursor, an unknown status/sort_by value, or another validation error. */
22697
22917
  400: {
22698
22918
  headers: {
22699
22919
  [name: string]: unknown;
@@ -23838,18 +24058,105 @@ interface operations {
23838
24058
  is_saved_lead?: boolean;
23839
24059
  /** @description true if this member was imported from CRM. SN enrichment. */
23840
24060
  is_crm_imported?: boolean;
23841
- /** @description Present when requested via with_sections. */
23842
- skills?: {
24061
+ /** @description Present when requested via with_sections. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, rather than from a Sales Navigator-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
24062
+ skills?: ({
24063
+ /** @description The skill name. */
24064
+ name?: string;
24065
+ /** @description How many people have endorsed this skill. */
24066
+ endorsement_count?: number;
24067
+ /** @description Whether the operator account has already endorsed this skill. */
24068
+ endorsed?: boolean;
24069
+ /** @description LinkedIn-provided insight strings about the skill. */
24070
+ insights?: string[];
24071
+ /** @description The value passed to POST /v1/{account_id}/users/{user_id}/endorse-skill to endorse this skill. Present ONLY for skills you are eligible to endorse, i.e. those of your 1st-degree connections. Omitted for users outside your network and on your own profile (the skill still lists name, endorsement_count, endorsed, and insights). */
24072
+ endorsement_id?: number;
24073
+ } & {
23843
24074
  [key: string]: unknown;
23844
- }[];
23845
- /** @description Present when requested via with_sections. */
23846
- experience?: {
24075
+ })[];
24076
+ /** @description Present when requested via with_sections. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, rather than from a Sales Navigator-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
24077
+ experience?: ({
24078
+ /** @description Identifier of this work-experience entry. Not a company identifier. */
24079
+ id?: string;
24080
+ /** @description The employer. An object, not a name string. */
24081
+ company?: {
24082
+ /** @description The organization's platform identifier, when known. */
24083
+ id?: string | null;
24084
+ /** @description The organization's name. */
24085
+ name?: string;
24086
+ /** @description The organization's public URL slug, when known. */
24087
+ public_identifier?: string;
24088
+ /** @description The organization's logo URL. */
24089
+ picture_url?: string;
24090
+ /** @description Full LinkedIn URL for the organization. */
24091
+ profile_url?: string;
24092
+ /** @description The organization's industry labels. */
24093
+ industries?: string[];
24094
+ } & {
24095
+ [key: string]: unknown;
24096
+ };
24097
+ /** @description Job title held. This is the title field; there is no 'position' or 'title' key. */
24098
+ job_title?: string;
24099
+ /** @description Date the role started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
24100
+ started_on?: string;
24101
+ /** @description Date the role ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
24102
+ ended_on?: string;
24103
+ /** @description Where the role was based, as written on the profile. */
24104
+ location?: string;
24105
+ /** @description The member's own description of the role. Passes through verbatim, never stored. */
24106
+ description?: string;
24107
+ /** @description Employment arrangement, e.g. PERMANENT, PERMANENT_PART_TIME, CONTRACT, CONTRACT_PART_TIME, FREELANCE, SELF_EMPLOYED, INTERNSHIP, APPRENTICESHIP, TEMPORARY, VOLUNTEERING. Not present on every entry. */
24108
+ employment_type?: string;
24109
+ /** @description Working arrangement: ON_SITE, HYBRID, or REMOTE. Not present on every entry. */
24110
+ workplace_type?: string;
24111
+ /** @description Skills the member associated with this role. */
24112
+ skills?: string[];
24113
+ /** @description A short summary line of the associated skills. */
24114
+ skills_preview?: string;
24115
+ } & {
23847
24116
  [key: string]: unknown;
23848
- }[];
23849
- /** @description Present when requested via with_sections. */
23850
- education?: {
24117
+ })[];
24118
+ /** @description Present when requested via with_sections. Declared from the classic profile's own live-measured shape for the same underlying LinkedIn section, rather than from a Sales Navigator-specific capture. Confirm field-for-field against a real response before treating any inference, an absent field or one under a different name, as fact. */
24119
+ education?: ({
24120
+ /** @description Identifier of this education entry. */
24121
+ id?: string;
24122
+ /** @description The institution. An object, not a name string. */
24123
+ school?: {
24124
+ /** @description The organization's platform identifier, when known. */
24125
+ id?: string | null;
24126
+ /** @description The organization's name. */
24127
+ name?: string;
24128
+ /** @description The organization's public URL slug, when known. */
24129
+ public_identifier?: string;
24130
+ /** @description The organization's logo URL. */
24131
+ picture_url?: string;
24132
+ /** @description Full LinkedIn URL for the organization. */
24133
+ profile_url?: string;
24134
+ /** @description The organization's industry labels. */
24135
+ industries?: string[];
24136
+ } & {
24137
+ [key: string]: unknown;
24138
+ };
24139
+ /** @description Name of the degree or qualification. */
24140
+ degree?: string;
24141
+ /** @description Subjects studied. Plural and always an array, even for a single subject. */
24142
+ fields_of_study?: string[];
24143
+ /** @description Grade or academic level reached. */
24144
+ grade?: string;
24145
+ /** @description Activities carried out during the studies. */
24146
+ activities?: string;
24147
+ /** @description The member's own description of the studies. Passes through verbatim, never stored. */
24148
+ description?: string;
24149
+ /** @description Date the studies started. Formatted MM/DD/YYYY, month first. The platform records month and year only. Every observed value on the classic profile's response uses day 01. Confirm against an entry whose real start date you know before assuming the day carries no information here. */
24150
+ started_on?: string;
24151
+ /** @description Date the studies ended. On the classic profile's response, an absent value means the entry is ongoing rather than unknown. Confirm on this surface before treating an absence as current. Formatted MM/DD/YYYY, month first. The platform records month and year only. The day component differs by field on the classic profile's response: a work-experience end date carries a 29 day offset that can push the value into the following month, while a certification's expiry date uses day 01. Confirm against an entry whose real dates you know before deriving a month from the day here. */
24152
+ ended_on?: string;
24153
+ /** @description Skills the member associated with the studies. */
24154
+ skills?: string[];
24155
+ /** @description A short summary line of the associated skills. */
24156
+ skills_preview?: string;
24157
+ } & {
23851
24158
  [key: string]: unknown;
23852
- }[];
24159
+ })[];
23853
24160
  /** @description Present when available. */
23854
24161
  throttled_sections?: string[];
23855
24162
  };
@@ -27195,7 +27502,7 @@ interface operations {
27195
27502
  getV1Webhooks: {
27196
27503
  parameters: {
27197
27504
  query?: {
27198
- /** @description Opaque pagination cursor from a previous response */
27505
+ /** @description Pagination cursor from a previous response; decodable, pass it back verbatim */
27199
27506
  cursor?: string;
27200
27507
  /** @description Max items per page (1-250, default 50) */
27201
27508
  limit?: number;