@unipile/sdk 2.44.0 → 2.48.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.
@@ -16005,7 +16005,7 @@ export type SendEmailData = {
16005
16005
  */
16006
16006
  label?: string;
16007
16007
  /**
16008
- * Your custom domain pointing to https://s2.lnk-fllw.com to handle links tracking.
16008
+ * A custom domain verified for the organization, enabled for the application, and pointing to https://track.lnk-fllw.com.
16009
16009
  */
16010
16010
  custom_domain?: string;
16011
16011
  };
@@ -16605,7 +16605,7 @@ export type CreateDraftData = {
16605
16605
  */
16606
16606
  label?: string;
16607
16607
  /**
16608
- * Your custom domain pointing to https://s2.lnk-fllw.com to handle links tracking.
16608
+ * A custom domain verified for the organization, enabled for the application, and pointing to https://track.lnk-fllw.com.
16609
16609
  */
16610
16610
  custom_domain?: string;
16611
16611
  };
@@ -17573,7 +17573,7 @@ export type UpdateDraftData = {
17573
17573
  */
17574
17574
  label?: string;
17575
17575
  /**
17576
- * Your custom domain pointing to https://s2.lnk-fllw.com to handle links tracking.
17576
+ * A custom domain verified for the organization, enabled for the application, and pointing to https://track.lnk-fllw.com.
17577
17577
  */
17578
17578
  custom_domain?: string;
17579
17579
  };
@@ -22100,6 +22100,27 @@ export type UpdateUserProfileResponses = {
22100
22100
  };
22101
22101
  };
22102
22102
  export type UpdateUserProfileResponse = UpdateUserProfileResponses[keyof UpdateUserProfileResponses];
22103
+ export type GetUserPictureData = {
22104
+ body?: never;
22105
+ path: {
22106
+ /**
22107
+ * The ID of the User whose profile picture must be downloaded. Use `me` to specify the owner of the connected account.
22108
+ */
22109
+ user_id: string;
22110
+ /**
22111
+ * ID of the Account (acc_xxx) to call the method on behalf of.
22112
+ */
22113
+ account_id: string;
22114
+ };
22115
+ query?: never;
22116
+ url: '/v2/{account_id}/users/{user_id}/picture';
22117
+ };
22118
+ export type GetUserPictureResponses = {
22119
+ /**
22120
+ * Default Response
22121
+ */
22122
+ 200: unknown;
22123
+ };
22103
22124
  export type VisitUserProfileData = {
22104
22125
  body?: never;
22105
22126
  path: {
@@ -37961,7 +37982,7 @@ export type GetClassicSearchParametersResponses = {
37961
37982
  metadata?: {
37962
37983
  object: 'SavedSearchMetadata';
37963
37984
  product: 'sales_navigator';
37964
- last_viewed_at: number;
37985
+ last_viewed_at: string;
37965
37986
  new_results_count: number;
37966
37987
  } | {
37967
37988
  object: 'SavedSearchMetadata';
@@ -41631,7 +41652,7 @@ export type GetClassicJobPostingResponses = {
41631
41652
  /**
41632
41653
  * The state of the Job posting.
41633
41654
  */
41634
- state: 'DRAFT' | 'LISTED' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
41655
+ state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
41635
41656
  /**
41636
41657
  * The type of workplace of the Job posting.
41637
41658
  */
@@ -42074,9 +42095,9 @@ export type PublishClassicJobPostingResponses = {
42074
42095
  200: {
42075
42096
  object: 'JobPostingPublished';
42076
42097
  /**
42077
- * The current state of the Job posting.
42098
+ * The new state of the Job posting.
42078
42099
  */
42079
- job_state: 'DRAFT' | 'CLOSED' | 'LISTED' | 'REVIEW' | 'SUSPENDED';
42100
+ job_state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
42080
42101
  };
42081
42102
  };
42082
42103
  export type PublishClassicJobPostingResponse = PublishClassicJobPostingResponses[keyof PublishClassicJobPostingResponses];
@@ -43557,9 +43578,9 @@ export type GetRecruiterTalentPoolApplicantsResponses = {
43557
43578
  */
43558
43579
  id: string;
43559
43580
  /**
43560
- * The date on which the Application was submitted. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
43581
+ * The date on which the Application was submitted, in ISO 8601 format.
43561
43582
  */
43562
- applied_at: string;
43583
+ applied_at?: string;
43563
43584
  /**
43564
43585
  * Whether the Applicant has a downloadable resume available.
43565
43586
  */
@@ -44238,9 +44259,9 @@ export type GetRecruiterApplicantByIdResponses = {
44238
44259
  */
44239
44260
  id: string;
44240
44261
  /**
44241
- * The date on which the Application was submitted. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
44262
+ * The date on which the Application was submitted, in ISO 8601 format.
44242
44263
  */
44243
- applied_at: string;
44264
+ applied_at?: string;
44244
44265
  /**
44245
44266
  * Whether the Applicant has a downloadable resume available.
44246
44267
  */
@@ -46894,56 +46915,56 @@ export type GetRecruiterJobPostingByProjectIdResponses = {
46894
46915
  object: 'JobPosting';
46895
46916
  product: 'recruiter';
46896
46917
  /**
46897
- * The budget allocated to the Job posting.
46918
+ * The ID of the Job posting.
46898
46919
  */
46899
46920
  id: string;
46900
46921
  /**
46901
- * The budget allocated to the Job posting.
46922
+ * The ID of the project associated with the Job posting.
46902
46923
  */
46903
46924
  project_id: string;
46904
46925
  /**
46905
- * The budget allocated to the Job posting.
46926
+ * The title of the Job posting.
46906
46927
  */
46907
46928
  title: string;
46908
46929
  /**
46909
- * The budget allocated to the Job posting.
46930
+ * The company on whose behalf the Job posting was published.
46910
46931
  */
46911
46932
  company: {
46912
46933
  /**
46913
- * The budget allocated to the Job posting.
46934
+ * The ID of the company
46914
46935
  */
46915
46936
  id: string | null;
46916
46937
  /**
46917
- * The budget allocated to the Job posting.
46938
+ * The name of the company.
46918
46939
  */
46919
46940
  name: string;
46920
46941
  /**
46921
- * The budget allocated to the Job posting.
46942
+ * A link to the picture of the company.
46922
46943
  */
46923
46944
  public_picture_url?: string;
46924
46945
  /**
46925
- * The budget allocated to the Job posting.
46946
+ * A link to the public profile of the company.
46926
46947
  */
46927
46948
  profile_url?: string;
46928
46949
  };
46929
46950
  /**
46930
- * The budget allocated to the Job posting.
46951
+ * The location of the Job posting.
46931
46952
  */
46932
46953
  location: string;
46933
46954
  /**
46934
- * The budget allocated to the Job posting.
46955
+ * The current state of the Job posting.
46935
46956
  */
46936
- state: 'DRAFT' | 'LISTED' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
46957
+ state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
46937
46958
  /**
46938
- * The budget allocated to the Job posting.
46959
+ * The workplace type of the Job posting.
46939
46960
  */
46940
46961
  workplace_type?: 'ON_SITE' | 'HYBRID' | 'REMOTE';
46941
46962
  /**
46942
- * The budget allocated to the Job posting.
46963
+ * A list of industries associated with the Job posting.
46943
46964
  */
46944
46965
  industries: Array<string>;
46945
46966
  /**
46946
- * The job functions associated with the Job posting.
46967
+ * A list of job functions associated with the Job posting.
46947
46968
  */
46948
46969
  job_functions: Array<string>;
46949
46970
  /**
@@ -47417,7 +47438,7 @@ export type GetRecruiterJobPostingListResponses = {
47417
47438
  /**
47418
47439
  * The current state of the Job posting.
47419
47440
  */
47420
- state: 'DRAFT' | 'LISTED' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
47441
+ state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
47421
47442
  /**
47422
47443
  * The number of applications for this Job posting.
47423
47444
  */
@@ -47904,7 +47925,7 @@ export type PublishRecruiterJobPostingData = {
47904
47925
  bypass_email_verification?: boolean;
47905
47926
  mode: 'PROMOTED';
47906
47927
  /**
47907
- * Leave this field blank if you don't have a choice of budget when posting a job on LinkedIn.
47928
+ * Leave this field blank if you don't have a choice of budget when posting a job on LinkedIn, or if you have available prepaid job slots.
47908
47929
  */
47909
47930
  budget?: {
47910
47931
  /**
@@ -47945,9 +47966,9 @@ export type PublishRecruiterJobPostingResponses = {
47945
47966
  200: {
47946
47967
  object: 'JobPostingPublished';
47947
47968
  /**
47948
- * The current state of the Job posting.
47969
+ * The new state of the Job posting.
47949
47970
  */
47950
- job_state: 'DRAFT' | 'CLOSED' | 'LISTED' | 'REVIEW' | 'SUSPENDED';
47971
+ job_state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
47951
47972
  };
47952
47973
  };
47953
47974
  export type PublishRecruiterJobPostingResponse = PublishRecruiterJobPostingResponses[keyof PublishRecruiterJobPostingResponses];
@@ -48002,56 +48023,56 @@ export type GetRecruiterJobPostingByIdResponses = {
48002
48023
  object: 'JobPosting';
48003
48024
  product: 'recruiter';
48004
48025
  /**
48005
- * The budget allocated to the Job posting.
48026
+ * The ID of the Job posting.
48006
48027
  */
48007
48028
  id: string;
48008
48029
  /**
48009
- * The budget allocated to the Job posting.
48030
+ * The ID of the project associated with the Job posting.
48010
48031
  */
48011
48032
  project_id: string;
48012
48033
  /**
48013
- * The budget allocated to the Job posting.
48034
+ * The title of the Job posting.
48014
48035
  */
48015
48036
  title: string;
48016
48037
  /**
48017
- * The budget allocated to the Job posting.
48038
+ * The company on whose behalf the Job posting was published.
48018
48039
  */
48019
48040
  company: {
48020
48041
  /**
48021
- * The budget allocated to the Job posting.
48042
+ * The ID of the company
48022
48043
  */
48023
48044
  id: string | null;
48024
48045
  /**
48025
- * The budget allocated to the Job posting.
48046
+ * The name of the company.
48026
48047
  */
48027
48048
  name: string;
48028
48049
  /**
48029
- * The budget allocated to the Job posting.
48050
+ * A link to the picture of the company.
48030
48051
  */
48031
48052
  public_picture_url?: string;
48032
48053
  /**
48033
- * The budget allocated to the Job posting.
48054
+ * A link to the public profile of the company.
48034
48055
  */
48035
48056
  profile_url?: string;
48036
48057
  };
48037
48058
  /**
48038
- * The budget allocated to the Job posting.
48059
+ * The location of the Job posting.
48039
48060
  */
48040
48061
  location: string;
48041
48062
  /**
48042
- * The budget allocated to the Job posting.
48063
+ * The current state of the Job posting.
48043
48064
  */
48044
- state: 'DRAFT' | 'LISTED' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
48065
+ state: 'DRAFT' | 'OPEN' | 'CLOSED' | 'REVIEW' | 'SUSPENDED';
48045
48066
  /**
48046
- * The budget allocated to the Job posting.
48067
+ * The workplace type of the Job posting.
48047
48068
  */
48048
48069
  workplace_type?: 'ON_SITE' | 'HYBRID' | 'REMOTE';
48049
48070
  /**
48050
- * The budget allocated to the Job posting.
48071
+ * A list of industries associated with the Job posting.
48051
48072
  */
48052
48073
  industries: Array<string>;
48053
48074
  /**
48054
- * The job functions associated with the Job posting.
48075
+ * A list of job functions associated with the Job posting.
48055
48076
  */
48056
48077
  job_functions: Array<string>;
48057
48078
  /**
@@ -48131,6 +48152,38 @@ export type GetRecruiterJobPostingByIdResponses = {
48131
48152
  };
48132
48153
  };
48133
48154
  export type GetRecruiterJobPostingByIdResponse = GetRecruiterJobPostingByIdResponses[keyof GetRecruiterJobPostingByIdResponses];
48155
+ export type GetRecruiterJobSlotsCreditsData = {
48156
+ body?: never;
48157
+ path: {
48158
+ /**
48159
+ * ID of the Account (acc_xxx) to call the method on behalf of.
48160
+ */
48161
+ account_id: string;
48162
+ };
48163
+ query?: never;
48164
+ url: '/v2/{account_id}/linkedin/recruiter/job-slots-credits';
48165
+ };
48166
+ export type GetRecruiterJobSlotsCreditsResponses = {
48167
+ /**
48168
+ * Default Response
48169
+ */
48170
+ 200: {
48171
+ object: 'JobSlotsCredits';
48172
+ /**
48173
+ * The total amount of Job slots for your Recruiter contract.
48174
+ */
48175
+ total: number;
48176
+ /**
48177
+ * The amount of Job slots currently in use for your Recruiter contract.
48178
+ */
48179
+ used: number;
48180
+ /**
48181
+ * The available amount of Job slots for your Recruiter contract.
48182
+ */
48183
+ available: number;
48184
+ };
48185
+ };
48186
+ export type GetRecruiterJobSlotsCreditsResponse = GetRecruiterJobSlotsCreditsResponses[keyof GetRecruiterJobSlotsCreditsResponses];
48134
48187
  export type PerformRecruiterSearchFromUrlData = {
48135
48188
  body: {
48136
48189
  /**
@@ -48794,9 +48847,9 @@ export type PerformRecruiterSearchFromUrlResponses = {
48794
48847
  */
48795
48848
  id: string;
48796
48849
  /**
48797
- * The date on which the Application was submitted. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
48850
+ * The date on which the Application was submitted, in ISO 8601 format.
48798
48851
  */
48799
- applied_at: string;
48852
+ applied_at?: string;
48800
48853
  /**
48801
48854
  * Whether the Applicant has a downloadable resume available.
48802
48855
  */
@@ -50161,7 +50214,7 @@ export type GetRecruiterSearchParametersResponses = {
50161
50214
  metadata?: {
50162
50215
  object: 'SavedSearchMetadata';
50163
50216
  product: 'sales_navigator';
50164
- last_viewed_at: number;
50217
+ last_viewed_at: string;
50165
50218
  new_results_count: number;
50166
50219
  } | {
50167
50220
  object: 'SavedSearchMetadata';
@@ -51881,7 +51934,7 @@ export type PerformSalesSearchFromUrlResponses = {
51881
51934
  */
51882
51935
  website?: string;
51883
51936
  /**
51884
- * The date on which the Company was founded. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
51937
+ * The year in which the Company was founded.
51885
51938
  */
51886
51939
  founded_on?: number;
51887
51940
  /**
@@ -52349,7 +52402,7 @@ export type PerformSalesSearchFromUrlResponses = {
52349
52402
  */
52350
52403
  website?: string;
52351
52404
  /**
52352
- * The date on which the Company was founded. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
52405
+ * The year in which the Company was founded.
52353
52406
  */
52354
52407
  founded_on?: number;
52355
52408
  /**
@@ -52751,7 +52804,7 @@ export type GetSalesSearchParametersResponses = {
52751
52804
  metadata?: {
52752
52805
  object: 'SavedSearchMetadata';
52753
52806
  product: 'sales_navigator';
52754
- last_viewed_at: number;
52807
+ last_viewed_at: string;
52755
52808
  new_results_count: number;
52756
52809
  } | {
52757
52810
  object: 'SavedSearchMetadata';
@@ -53858,7 +53911,7 @@ export type PerformSalesCompaniesSearchResponses = {
53858
53911
  */
53859
53912
  website?: string;
53860
53913
  /**
53861
- * The date on which the Company was founded. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
53914
+ * The year in which the Company was founded.
53862
53915
  */
53863
53916
  founded_on?: number;
53864
53917
  /**
@@ -54583,7 +54636,7 @@ export type BrowseSalesAccountListResponses = {
54583
54636
  */
54584
54637
  website?: string;
54585
54638
  /**
54586
- * The date on which the Company was founded. Uses ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
54639
+ * The year in which the Company was founded.
54587
54640
  */
54588
54641
  founded_on?: number;
54589
54642
  /**
@@ -58547,6 +58600,14 @@ export type ListWebhookConversationsResponses = {
58547
58600
  * The body of the HTTP response returned by the endpoint.
58548
58601
  */
58549
58602
  response_body: string | null;
58603
+ /**
58604
+ * The time between the event occurrence and this delivery attempt, in milliseconds.
58605
+ */
58606
+ latency_ms: number | null;
58607
+ /**
58608
+ * The response time of the webhook endpoint for this delivery attempt, in milliseconds.
58609
+ */
58610
+ response_time_ms: number | null;
58550
58611
  /**
58551
58612
  * The type of the returned object.
58552
58613
  */