@linear/sdk 68.1.0 → 68.1.1
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-THroZq4-.d.mts → index-CFvuCe7a.d.mts} +84 -22
- package/dist/index-CFvuCe7a.d.mts.map +1 -0
- package/dist/{index-wEtH5Hmq.d.cts → index-DQEvPKMi.d.cts} +84 -22
- package/dist/index-DQEvPKMi.d.cts.map +1 -0
- package/dist/index.cjs +340 -0
- package/dist/index.d.cts +29 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +29 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +340 -1
- package/dist/index.mjs.map +1 -1
- package/dist/webhooks/index.d.cts +1 -1
- package/dist/webhooks/index.d.mts +1 -1
- package/package.json +3 -3
- package/dist/index-THroZq4-.d.mts.map +0 -1
- package/dist/index-wEtH5Hmq.d.cts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1167,6 +1167,7 @@ var _generated_documents_exports = /* @__PURE__ */ require_webhooks.__export({
|
|
|
1167
1167
|
Project_DocumentsDocument: () => Project_DocumentsDocument,
|
|
1168
1168
|
Project_ExternalLinksDocument: () => Project_ExternalLinksDocument,
|
|
1169
1169
|
Project_HistoryDocument: () => Project_HistoryDocument,
|
|
1170
|
+
Project_InitiativeToProjectsDocument: () => Project_InitiativeToProjectsDocument,
|
|
1170
1171
|
Project_InitiativesDocument: () => Project_InitiativesDocument,
|
|
1171
1172
|
Project_InverseRelationsDocument: () => Project_InverseRelationsDocument,
|
|
1172
1173
|
Project_IssuesDocument: () => Project_IssuesDocument,
|
|
@@ -8242,6 +8243,27 @@ const EmailIntakeAddressFragmentDoc = {
|
|
|
8242
8243
|
}]
|
|
8243
8244
|
}
|
|
8244
8245
|
},
|
|
8246
|
+
{
|
|
8247
|
+
kind: "Field",
|
|
8248
|
+
name: {
|
|
8249
|
+
kind: "Name",
|
|
8250
|
+
value: "issueCanceledAutoReplyData"
|
|
8251
|
+
}
|
|
8252
|
+
},
|
|
8253
|
+
{
|
|
8254
|
+
kind: "Field",
|
|
8255
|
+
name: {
|
|
8256
|
+
kind: "Name",
|
|
8257
|
+
value: "issueCompletedAutoReplyData"
|
|
8258
|
+
}
|
|
8259
|
+
},
|
|
8260
|
+
{
|
|
8261
|
+
kind: "Field",
|
|
8262
|
+
name: {
|
|
8263
|
+
kind: "Name",
|
|
8264
|
+
value: "issueCreatedAutoReplyData"
|
|
8265
|
+
}
|
|
8266
|
+
},
|
|
8245
8267
|
{
|
|
8246
8268
|
kind: "Field",
|
|
8247
8269
|
name: {
|
|
@@ -75072,6 +75094,276 @@ const Project_HistoryDocument = {
|
|
|
75072
75094
|
...PageInfoFragmentDoc.definitions
|
|
75073
75095
|
]
|
|
75074
75096
|
};
|
|
75097
|
+
const Project_InitiativeToProjectsDocument = {
|
|
75098
|
+
kind: "Document",
|
|
75099
|
+
definitions: [
|
|
75100
|
+
{
|
|
75101
|
+
kind: "OperationDefinition",
|
|
75102
|
+
operation: "query",
|
|
75103
|
+
name: {
|
|
75104
|
+
kind: "Name",
|
|
75105
|
+
value: "project_initiativeToProjects"
|
|
75106
|
+
},
|
|
75107
|
+
variableDefinitions: [
|
|
75108
|
+
{
|
|
75109
|
+
kind: "VariableDefinition",
|
|
75110
|
+
variable: {
|
|
75111
|
+
kind: "Variable",
|
|
75112
|
+
name: {
|
|
75113
|
+
kind: "Name",
|
|
75114
|
+
value: "id"
|
|
75115
|
+
}
|
|
75116
|
+
},
|
|
75117
|
+
type: {
|
|
75118
|
+
kind: "NonNullType",
|
|
75119
|
+
type: {
|
|
75120
|
+
kind: "NamedType",
|
|
75121
|
+
name: {
|
|
75122
|
+
kind: "Name",
|
|
75123
|
+
value: "String"
|
|
75124
|
+
}
|
|
75125
|
+
}
|
|
75126
|
+
}
|
|
75127
|
+
},
|
|
75128
|
+
{
|
|
75129
|
+
kind: "VariableDefinition",
|
|
75130
|
+
variable: {
|
|
75131
|
+
kind: "Variable",
|
|
75132
|
+
name: {
|
|
75133
|
+
kind: "Name",
|
|
75134
|
+
value: "after"
|
|
75135
|
+
}
|
|
75136
|
+
},
|
|
75137
|
+
type: {
|
|
75138
|
+
kind: "NamedType",
|
|
75139
|
+
name: {
|
|
75140
|
+
kind: "Name",
|
|
75141
|
+
value: "String"
|
|
75142
|
+
}
|
|
75143
|
+
}
|
|
75144
|
+
},
|
|
75145
|
+
{
|
|
75146
|
+
kind: "VariableDefinition",
|
|
75147
|
+
variable: {
|
|
75148
|
+
kind: "Variable",
|
|
75149
|
+
name: {
|
|
75150
|
+
kind: "Name",
|
|
75151
|
+
value: "before"
|
|
75152
|
+
}
|
|
75153
|
+
},
|
|
75154
|
+
type: {
|
|
75155
|
+
kind: "NamedType",
|
|
75156
|
+
name: {
|
|
75157
|
+
kind: "Name",
|
|
75158
|
+
value: "String"
|
|
75159
|
+
}
|
|
75160
|
+
}
|
|
75161
|
+
},
|
|
75162
|
+
{
|
|
75163
|
+
kind: "VariableDefinition",
|
|
75164
|
+
variable: {
|
|
75165
|
+
kind: "Variable",
|
|
75166
|
+
name: {
|
|
75167
|
+
kind: "Name",
|
|
75168
|
+
value: "first"
|
|
75169
|
+
}
|
|
75170
|
+
},
|
|
75171
|
+
type: {
|
|
75172
|
+
kind: "NamedType",
|
|
75173
|
+
name: {
|
|
75174
|
+
kind: "Name",
|
|
75175
|
+
value: "Int"
|
|
75176
|
+
}
|
|
75177
|
+
}
|
|
75178
|
+
},
|
|
75179
|
+
{
|
|
75180
|
+
kind: "VariableDefinition",
|
|
75181
|
+
variable: {
|
|
75182
|
+
kind: "Variable",
|
|
75183
|
+
name: {
|
|
75184
|
+
kind: "Name",
|
|
75185
|
+
value: "includeArchived"
|
|
75186
|
+
}
|
|
75187
|
+
},
|
|
75188
|
+
type: {
|
|
75189
|
+
kind: "NamedType",
|
|
75190
|
+
name: {
|
|
75191
|
+
kind: "Name",
|
|
75192
|
+
value: "Boolean"
|
|
75193
|
+
}
|
|
75194
|
+
}
|
|
75195
|
+
},
|
|
75196
|
+
{
|
|
75197
|
+
kind: "VariableDefinition",
|
|
75198
|
+
variable: {
|
|
75199
|
+
kind: "Variable",
|
|
75200
|
+
name: {
|
|
75201
|
+
kind: "Name",
|
|
75202
|
+
value: "last"
|
|
75203
|
+
}
|
|
75204
|
+
},
|
|
75205
|
+
type: {
|
|
75206
|
+
kind: "NamedType",
|
|
75207
|
+
name: {
|
|
75208
|
+
kind: "Name",
|
|
75209
|
+
value: "Int"
|
|
75210
|
+
}
|
|
75211
|
+
}
|
|
75212
|
+
},
|
|
75213
|
+
{
|
|
75214
|
+
kind: "VariableDefinition",
|
|
75215
|
+
variable: {
|
|
75216
|
+
kind: "Variable",
|
|
75217
|
+
name: {
|
|
75218
|
+
kind: "Name",
|
|
75219
|
+
value: "orderBy"
|
|
75220
|
+
}
|
|
75221
|
+
},
|
|
75222
|
+
type: {
|
|
75223
|
+
kind: "NamedType",
|
|
75224
|
+
name: {
|
|
75225
|
+
kind: "Name",
|
|
75226
|
+
value: "PaginationOrderBy"
|
|
75227
|
+
}
|
|
75228
|
+
}
|
|
75229
|
+
}
|
|
75230
|
+
],
|
|
75231
|
+
selectionSet: {
|
|
75232
|
+
kind: "SelectionSet",
|
|
75233
|
+
selections: [{
|
|
75234
|
+
kind: "Field",
|
|
75235
|
+
name: {
|
|
75236
|
+
kind: "Name",
|
|
75237
|
+
value: "project"
|
|
75238
|
+
},
|
|
75239
|
+
arguments: [{
|
|
75240
|
+
kind: "Argument",
|
|
75241
|
+
name: {
|
|
75242
|
+
kind: "Name",
|
|
75243
|
+
value: "id"
|
|
75244
|
+
},
|
|
75245
|
+
value: {
|
|
75246
|
+
kind: "Variable",
|
|
75247
|
+
name: {
|
|
75248
|
+
kind: "Name",
|
|
75249
|
+
value: "id"
|
|
75250
|
+
}
|
|
75251
|
+
}
|
|
75252
|
+
}],
|
|
75253
|
+
selectionSet: {
|
|
75254
|
+
kind: "SelectionSet",
|
|
75255
|
+
selections: [{
|
|
75256
|
+
kind: "Field",
|
|
75257
|
+
name: {
|
|
75258
|
+
kind: "Name",
|
|
75259
|
+
value: "initiativeToProjects"
|
|
75260
|
+
},
|
|
75261
|
+
arguments: [
|
|
75262
|
+
{
|
|
75263
|
+
kind: "Argument",
|
|
75264
|
+
name: {
|
|
75265
|
+
kind: "Name",
|
|
75266
|
+
value: "after"
|
|
75267
|
+
},
|
|
75268
|
+
value: {
|
|
75269
|
+
kind: "Variable",
|
|
75270
|
+
name: {
|
|
75271
|
+
kind: "Name",
|
|
75272
|
+
value: "after"
|
|
75273
|
+
}
|
|
75274
|
+
}
|
|
75275
|
+
},
|
|
75276
|
+
{
|
|
75277
|
+
kind: "Argument",
|
|
75278
|
+
name: {
|
|
75279
|
+
kind: "Name",
|
|
75280
|
+
value: "before"
|
|
75281
|
+
},
|
|
75282
|
+
value: {
|
|
75283
|
+
kind: "Variable",
|
|
75284
|
+
name: {
|
|
75285
|
+
kind: "Name",
|
|
75286
|
+
value: "before"
|
|
75287
|
+
}
|
|
75288
|
+
}
|
|
75289
|
+
},
|
|
75290
|
+
{
|
|
75291
|
+
kind: "Argument",
|
|
75292
|
+
name: {
|
|
75293
|
+
kind: "Name",
|
|
75294
|
+
value: "first"
|
|
75295
|
+
},
|
|
75296
|
+
value: {
|
|
75297
|
+
kind: "Variable",
|
|
75298
|
+
name: {
|
|
75299
|
+
kind: "Name",
|
|
75300
|
+
value: "first"
|
|
75301
|
+
}
|
|
75302
|
+
}
|
|
75303
|
+
},
|
|
75304
|
+
{
|
|
75305
|
+
kind: "Argument",
|
|
75306
|
+
name: {
|
|
75307
|
+
kind: "Name",
|
|
75308
|
+
value: "includeArchived"
|
|
75309
|
+
},
|
|
75310
|
+
value: {
|
|
75311
|
+
kind: "Variable",
|
|
75312
|
+
name: {
|
|
75313
|
+
kind: "Name",
|
|
75314
|
+
value: "includeArchived"
|
|
75315
|
+
}
|
|
75316
|
+
}
|
|
75317
|
+
},
|
|
75318
|
+
{
|
|
75319
|
+
kind: "Argument",
|
|
75320
|
+
name: {
|
|
75321
|
+
kind: "Name",
|
|
75322
|
+
value: "last"
|
|
75323
|
+
},
|
|
75324
|
+
value: {
|
|
75325
|
+
kind: "Variable",
|
|
75326
|
+
name: {
|
|
75327
|
+
kind: "Name",
|
|
75328
|
+
value: "last"
|
|
75329
|
+
}
|
|
75330
|
+
}
|
|
75331
|
+
},
|
|
75332
|
+
{
|
|
75333
|
+
kind: "Argument",
|
|
75334
|
+
name: {
|
|
75335
|
+
kind: "Name",
|
|
75336
|
+
value: "orderBy"
|
|
75337
|
+
},
|
|
75338
|
+
value: {
|
|
75339
|
+
kind: "Variable",
|
|
75340
|
+
name: {
|
|
75341
|
+
kind: "Name",
|
|
75342
|
+
value: "orderBy"
|
|
75343
|
+
}
|
|
75344
|
+
}
|
|
75345
|
+
}
|
|
75346
|
+
],
|
|
75347
|
+
selectionSet: {
|
|
75348
|
+
kind: "SelectionSet",
|
|
75349
|
+
selections: [{
|
|
75350
|
+
kind: "FragmentSpread",
|
|
75351
|
+
name: {
|
|
75352
|
+
kind: "Name",
|
|
75353
|
+
value: "InitiativeToProjectConnection"
|
|
75354
|
+
}
|
|
75355
|
+
}]
|
|
75356
|
+
}
|
|
75357
|
+
}]
|
|
75358
|
+
}
|
|
75359
|
+
}]
|
|
75360
|
+
}
|
|
75361
|
+
},
|
|
75362
|
+
...InitiativeToProjectConnectionFragmentDoc.definitions,
|
|
75363
|
+
...InitiativeToProjectFragmentDoc.definitions,
|
|
75364
|
+
...PageInfoFragmentDoc.definitions
|
|
75365
|
+
]
|
|
75366
|
+
};
|
|
75075
75367
|
const Project_InitiativesDocument = {
|
|
75076
75368
|
kind: "Document",
|
|
75077
75369
|
definitions: [
|
|
@@ -126377,10 +126669,13 @@ var EmailIntakeAddress = class extends Request {
|
|
|
126377
126669
|
this.forwardingEmailAddress = data.forwardingEmailAddress ?? void 0;
|
|
126378
126670
|
this.id = data.id;
|
|
126379
126671
|
this.issueCanceledAutoReply = data.issueCanceledAutoReply ?? void 0;
|
|
126672
|
+
this.issueCanceledAutoReplyData = data.issueCanceledAutoReplyData ?? void 0;
|
|
126380
126673
|
this.issueCanceledAutoReplyEnabled = data.issueCanceledAutoReplyEnabled;
|
|
126381
126674
|
this.issueCompletedAutoReply = data.issueCompletedAutoReply ?? void 0;
|
|
126675
|
+
this.issueCompletedAutoReplyData = data.issueCompletedAutoReplyData ?? void 0;
|
|
126382
126676
|
this.issueCompletedAutoReplyEnabled = data.issueCompletedAutoReplyEnabled;
|
|
126383
126677
|
this.issueCreatedAutoReply = data.issueCreatedAutoReply ?? void 0;
|
|
126678
|
+
this.issueCreatedAutoReplyData = data.issueCreatedAutoReplyData ?? void 0;
|
|
126384
126679
|
this.issueCreatedAutoReplyEnabled = data.issueCreatedAutoReplyEnabled;
|
|
126385
126680
|
this.repliesEnabled = data.repliesEnabled;
|
|
126386
126681
|
this.senderName = data.senderName ?? void 0;
|
|
@@ -126408,14 +126703,20 @@ var EmailIntakeAddress = class extends Request {
|
|
|
126408
126703
|
id;
|
|
126409
126704
|
/** The auto-reply message for issue canceled. If not set, the default reply will be used. */
|
|
126410
126705
|
issueCanceledAutoReply;
|
|
126706
|
+
/** The auto-reply ProseMirror JSON for issue canceled. If not set, the default reply will be used. */
|
|
126707
|
+
issueCanceledAutoReplyData;
|
|
126411
126708
|
/** Whether the auto-reply for issue canceled is enabled. */
|
|
126412
126709
|
issueCanceledAutoReplyEnabled;
|
|
126413
126710
|
/** The auto-reply message for issue completed. If not set, the default reply will be used. */
|
|
126414
126711
|
issueCompletedAutoReply;
|
|
126712
|
+
/** The auto-reply ProseMirror JSON for issue completed. If not set, the default reply will be used. */
|
|
126713
|
+
issueCompletedAutoReplyData;
|
|
126415
126714
|
/** Whether the auto-reply for issue completed is enabled. */
|
|
126416
126715
|
issueCompletedAutoReplyEnabled;
|
|
126417
126716
|
/** The auto-reply message for issue created. If not set, the default reply will be used. */
|
|
126418
126717
|
issueCreatedAutoReply;
|
|
126718
|
+
/** The auto-reply ProseMirror JSON for issue created. If not set, the default reply will be used. */
|
|
126719
|
+
issueCreatedAutoReplyData;
|
|
126419
126720
|
/** Whether the auto-reply for issue created is enabled. */
|
|
126420
126721
|
issueCreatedAutoReplyEnabled;
|
|
126421
126722
|
/** Whether email replies are enabled. */
|
|
@@ -133858,6 +134159,10 @@ var Project = class extends Request {
|
|
|
133858
134159
|
history(variables) {
|
|
133859
134160
|
return new Project_HistoryQuery(this._request, this.id, variables).fetch(variables);
|
|
133860
134161
|
}
|
|
134162
|
+
/** Associations of this project to parent initiatives. */
|
|
134163
|
+
initiativeToProjects(variables) {
|
|
134164
|
+
return new Project_InitiativeToProjectsQuery(this._request, this.id, variables).fetch(variables);
|
|
134165
|
+
}
|
|
133861
134166
|
/** Initiatives that this project belongs to. */
|
|
133862
134167
|
initiatives(variables) {
|
|
133863
134168
|
return new Project_InitiativesQuery(this._request, this.id, variables).fetch(variables);
|
|
@@ -150484,6 +150789,40 @@ var Project_HistoryQuery = class extends Request {
|
|
|
150484
150789
|
}
|
|
150485
150790
|
};
|
|
150486
150791
|
/**
|
|
150792
|
+
* A fetchable Project_InitiativeToProjects Query
|
|
150793
|
+
*
|
|
150794
|
+
* @param request - function to call the graphql client
|
|
150795
|
+
* @param id - required id to pass to project
|
|
150796
|
+
* @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
|
|
150797
|
+
*/
|
|
150798
|
+
var Project_InitiativeToProjectsQuery = class extends Request {
|
|
150799
|
+
_id;
|
|
150800
|
+
_variables;
|
|
150801
|
+
constructor(request, id, variables) {
|
|
150802
|
+
super(request);
|
|
150803
|
+
this._id = id;
|
|
150804
|
+
this._variables = variables;
|
|
150805
|
+
}
|
|
150806
|
+
/**
|
|
150807
|
+
* Call the Project_InitiativeToProjects query and return a InitiativeToProjectConnection
|
|
150808
|
+
*
|
|
150809
|
+
* @param variables - variables without 'id' to pass into the Project_InitiativeToProjectsQuery
|
|
150810
|
+
* @returns parsed response from Project_InitiativeToProjectsQuery
|
|
150811
|
+
*/
|
|
150812
|
+
async fetch(variables) {
|
|
150813
|
+
const data = (await this._request(Project_InitiativeToProjectsDocument, {
|
|
150814
|
+
id: this._id,
|
|
150815
|
+
...this._variables,
|
|
150816
|
+
...variables
|
|
150817
|
+
})).project.initiativeToProjects;
|
|
150818
|
+
return new InitiativeToProjectConnection(this._request, (connection) => this.fetch(defaultConnection({
|
|
150819
|
+
...this._variables,
|
|
150820
|
+
...variables,
|
|
150821
|
+
...connection
|
|
150822
|
+
})), data);
|
|
150823
|
+
}
|
|
150824
|
+
};
|
|
150825
|
+
/**
|
|
150487
150826
|
* A fetchable Project_Initiatives Query
|
|
150488
150827
|
*
|
|
150489
150828
|
* @param request - function to call the graphql client
|
|
@@ -157122,6 +157461,7 @@ exports.Project_DocumentContent_AiPromptRulesQuery = Project_DocumentContent_AiP
|
|
|
157122
157461
|
exports.Project_DocumentsQuery = Project_DocumentsQuery;
|
|
157123
157462
|
exports.Project_ExternalLinksQuery = Project_ExternalLinksQuery;
|
|
157124
157463
|
exports.Project_HistoryQuery = Project_HistoryQuery;
|
|
157464
|
+
exports.Project_InitiativeToProjectsQuery = Project_InitiativeToProjectsQuery;
|
|
157125
157465
|
exports.Project_InitiativesQuery = Project_InitiativesQuery;
|
|
157126
157466
|
exports.Project_InverseRelationsQuery = Project_InverseRelationsQuery;
|
|
157127
157467
|
exports.Project_IssuesQuery = Project_IssuesQuery;
|