|
5 | 5 | LinkedApiActionErrorType = Literal[ |
6 | 6 | "personNotFound", |
7 | 7 | "selfProfileNotAllowed", |
| 8 | + "personLikelyChangedPublicUrl", |
8 | 9 | "messagingNotAllowed", |
9 | 10 | "alreadyPending", |
10 | 11 | "alreadyConnected", |
11 | 12 | "emailRequired", |
12 | 13 | "noteTooLong", |
13 | 14 | "noteLimitExceeded", |
| 15 | + "invitationAlreadyReceived", |
14 | 16 | "requestNotAllowed", |
15 | 17 | "notPending", |
| 18 | + "noPendingRequest", |
16 | 19 | "retrievingNotAllowed", |
17 | 20 | "connectionNotFound", |
18 | 21 | "skillNotFound", |
19 | 22 | "endorsementUnavailable", |
20 | 23 | "limitExceeded", |
21 | 24 | "searchingNotAllowed", |
22 | 25 | "searchInterfaceMismatch", |
| 26 | + "searchTemporarilyUnavailable", |
23 | 27 | "filterNotApplied", |
24 | 28 | "companyNotFound", |
25 | 29 | "postNotFound", |
|
29 | 33 | "replyingNotAllowed", |
30 | 34 | "duplicateComment", |
31 | 35 | "noPostingPermission", |
| 36 | + "textTooLong", |
| 37 | + "unsupportedAttachmentType", |
| 38 | + "missingDocumentName", |
| 39 | + "urlNotAccessible", |
| 40 | + "fileTooLarge", |
| 41 | + "unsupportedMimeType", |
| 42 | + "tooManyAttachments", |
| 43 | + "mixingNotAllowed", |
32 | 44 | "mentionNotResolved", |
33 | 45 | "repostNotAllowed", |
34 | 46 | "alreadyReposted", |
35 | 47 | "noSalesNavigator", |
| 48 | + "salesNavigatorOnboardingRequired", |
36 | 49 | "conversationsNotSynced", |
37 | 50 | "threadNotFound", |
| 51 | + "ssiNotAvailable", |
| 52 | + "unexpectedError", |
38 | 53 | ] |
39 | 54 | LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = ( |
40 | 55 | "personNotFound", |
41 | 56 | "selfProfileNotAllowed", |
| 57 | + "personLikelyChangedPublicUrl", |
42 | 58 | "messagingNotAllowed", |
43 | 59 | "alreadyPending", |
44 | 60 | "alreadyConnected", |
45 | 61 | "emailRequired", |
46 | 62 | "noteTooLong", |
47 | 63 | "noteLimitExceeded", |
| 64 | + "invitationAlreadyReceived", |
48 | 65 | "requestNotAllowed", |
49 | 66 | "notPending", |
| 67 | + "noPendingRequest", |
50 | 68 | "retrievingNotAllowed", |
51 | 69 | "connectionNotFound", |
52 | 70 | "skillNotFound", |
53 | 71 | "endorsementUnavailable", |
54 | 72 | "limitExceeded", |
55 | 73 | "searchingNotAllowed", |
56 | 74 | "searchInterfaceMismatch", |
| 75 | + "searchTemporarilyUnavailable", |
57 | 76 | "filterNotApplied", |
58 | 77 | "companyNotFound", |
59 | 78 | "postNotFound", |
|
63 | 82 | "replyingNotAllowed", |
64 | 83 | "duplicateComment", |
65 | 84 | "noPostingPermission", |
| 85 | + "textTooLong", |
| 86 | + "unsupportedAttachmentType", |
| 87 | + "missingDocumentName", |
| 88 | + "urlNotAccessible", |
| 89 | + "fileTooLarge", |
| 90 | + "unsupportedMimeType", |
| 91 | + "tooManyAttachments", |
| 92 | + "mixingNotAllowed", |
66 | 93 | "mentionNotResolved", |
67 | 94 | "repostNotAllowed", |
68 | 95 | "alreadyReposted", |
69 | 96 | "noSalesNavigator", |
| 97 | + "salesNavigatorOnboardingRequired", |
70 | 98 | "conversationsNotSynced", |
71 | 99 | "threadNotFound", |
| 100 | + "ssiNotAvailable", |
| 101 | + "unexpectedError", |
72 | 102 | ) |
73 | 103 |
|
74 | 104 | LinkedApiErrorType = Literal[ |
|
86 | 116 | "workflowTimeout", |
87 | 117 | "outsideWorkingHours", |
88 | 118 | "workingHoursWaitExpired", |
| 119 | + "cancelledByUser", |
| 120 | + "unexpectedError", |
89 | 121 | "httpError", |
90 | 122 | "tooManyRequests", |
91 | 123 | "accountNotFound", |
|
109 | 141 | "workflowTimeout", |
110 | 142 | "outsideWorkingHours", |
111 | 143 | "workingHoursWaitExpired", |
| 144 | + "cancelledByUser", |
| 145 | + "unexpectedError", |
112 | 146 | "httpError", |
113 | 147 | "tooManyRequests", |
114 | 148 | "accountNotFound", |
|
0 commit comments