@linear/sdk 2.4.0 → 2.6.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/CHANGELOG.md +48 -0
- package/dist/_generated_documents.d.ts +60 -38
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +38 -26
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +223 -128
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +218 -127
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +230 -133
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/webhooks.d.ts +18 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/_generated_sdk.d.ts
CHANGED
@@ -57,32 +57,6 @@ export declare class Connection<Node> extends LinearConnection<Node> {
|
|
57
57
|
/** Fetch the previous page of results and prepend to nodes */
|
58
58
|
fetchPrevious(): Promise<this>;
|
59
59
|
}
|
60
|
-
/**
|
61
|
-
* AdminJobConfigurationPayload model
|
62
|
-
*
|
63
|
-
* @param request - function to call the graphql client
|
64
|
-
* @param data - L.AdminJobConfigurationPayloadFragment response data
|
65
|
-
*/
|
66
|
-
export declare class AdminJobConfigurationPayload extends Request {
|
67
|
-
constructor(request: LinearRequest, data: L.AdminJobConfigurationPayloadFragment);
|
68
|
-
currentJob?: string;
|
69
|
-
delay: number;
|
70
|
-
enabled: boolean;
|
71
|
-
param?: string;
|
72
|
-
}
|
73
|
-
/**
|
74
|
-
* AdminJobStatusPayload model
|
75
|
-
*
|
76
|
-
* @param request - function to call the graphql client
|
77
|
-
* @param data - L.AdminJobStatusPayloadFragment response data
|
78
|
-
*/
|
79
|
-
export declare class AdminJobStatusPayload extends Request {
|
80
|
-
constructor(request: LinearRequest, data: L.AdminJobStatusPayloadFragment);
|
81
|
-
availableJobs: string[];
|
82
|
-
cursor?: string;
|
83
|
-
startedAt?: Date;
|
84
|
-
configuration: AdminJobConfigurationPayload;
|
85
|
-
}
|
86
60
|
/**
|
87
61
|
* An API key. Grants access to the user's resources.
|
88
62
|
*
|
@@ -2127,6 +2101,8 @@ export declare class OauthClient extends Request {
|
|
2127
2101
|
updatedAt: Date;
|
2128
2102
|
/** The resource types to request when creating new webhooks. */
|
2129
2103
|
webhookResourceTypes: string[];
|
2104
|
+
/** Webhook secret token for verifying the origin on the recipient side. */
|
2105
|
+
webhookSecret?: string;
|
2130
2106
|
/** Webhook URL */
|
2131
2107
|
webhookUrl?: string;
|
2132
2108
|
/** The user who created the OAuthClient. */
|
@@ -2209,6 +2185,16 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
2209
2185
|
/** The user that received the notification. */
|
2210
2186
|
get user(): LinearFetch<User> | undefined;
|
2211
2187
|
}
|
2188
|
+
/**
|
2189
|
+
* OauthClientConnection model
|
2190
|
+
*
|
2191
|
+
* @param request - function to call the graphql client
|
2192
|
+
* @param fetch - function to trigger a refetch of this OauthClientConnection model
|
2193
|
+
* @param data - OauthClientConnection response data
|
2194
|
+
*/
|
2195
|
+
export declare class OauthClientConnection extends Connection<OauthClient> {
|
2196
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OauthClient> | undefined>, data: L.OauthClientConnectionFragment);
|
2197
|
+
}
|
2212
2198
|
/**
|
2213
2199
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
2214
2200
|
*
|
@@ -2251,6 +2237,8 @@ export declare class Organization extends Request {
|
|
2251
2237
|
samlEnabled: boolean;
|
2252
2238
|
/** Whether SCIM provisioning is enabled for organization. */
|
2253
2239
|
scimEnabled: boolean;
|
2240
|
+
/** The time at which the trial of the plus plan will end. */
|
2241
|
+
trialEndsAt?: Date;
|
2254
2242
|
/**
|
2255
2243
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2256
2244
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
@@ -5210,6 +5198,22 @@ export declare class IntegrationSlackImportEmojisMutation extends Request {
|
|
5210
5198
|
*/
|
5211
5199
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5212
5200
|
}
|
5201
|
+
/**
|
5202
|
+
* A fetchable IntegrationSlackIntake Mutation
|
5203
|
+
*
|
5204
|
+
* @param request - function to call the graphql client
|
5205
|
+
*/
|
5206
|
+
export declare class IntegrationSlackIntakeMutation extends Request {
|
5207
|
+
constructor(request: LinearRequest);
|
5208
|
+
/**
|
5209
|
+
* Call the IntegrationSlackIntake mutation and return a IntegrationPayload
|
5210
|
+
*
|
5211
|
+
* @param code - required code to pass to integrationSlackIntake
|
5212
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackIntake
|
5213
|
+
* @returns parsed response from IntegrationSlackIntakeMutation
|
5214
|
+
*/
|
5215
|
+
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
5216
|
+
}
|
5213
5217
|
/**
|
5214
5218
|
* A fetchable IntegrationSlackOrgProjectUpdatesPost Mutation
|
5215
5219
|
*
|
@@ -9671,6 +9675,14 @@ export declare class LinearSdk extends Request {
|
|
9671
9675
|
* @returns IntegrationPayload
|
9672
9676
|
*/
|
9673
9677
|
integrationSlackImportEmojis(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9678
|
+
/**
|
9679
|
+
* Integrates the organization with Slack for issue intake.
|
9680
|
+
*
|
9681
|
+
* @param code - required code to pass to integrationSlackIntake
|
9682
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackIntake
|
9683
|
+
* @returns IntegrationPayload
|
9684
|
+
*/
|
9685
|
+
integrationSlackIntake(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9674
9686
|
/**
|
9675
9687
|
* Slack integration for organization level project update notifications.
|
9676
9688
|
*
|