@lessly/sdk-app 3.0.0 → 5.0.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.
@@ -12285,10 +12285,19 @@ export interface OrganizationCloudflareInstallOutput {
12285
12285
  url: string
12286
12286
  }
12287
12287
 
12288
+ export interface OrganizationConnectorsApproveRequestInput {
12289
+ id: string
12290
+ requestId: string
12291
+ organizationId: string
12292
+ }
12293
+
12294
+ export interface OrganizationConnectorsApproveRequestOutput {
12295
+ success: boolean
12296
+ }
12297
+
12288
12298
  export interface OrganizationConnectorsAttachInput {
12289
12299
  id: string
12290
12300
  productIds: string[]
12291
- organizationId: string
12292
12301
  }
12293
12302
 
12294
12303
  export interface OrganizationConnectorsAttachOutput {
@@ -12304,17 +12313,25 @@ connectorId: string
12304
12313
 
12305
12314
  export interface OrganizationConnectorsDeleteInput {
12306
12315
  id: string
12307
- organizationId: string
12308
12316
  }
12309
12317
 
12310
12318
  export interface OrganizationConnectorsDeleteOutput {
12311
12319
  success: boolean
12312
12320
  }
12313
12321
 
12322
+ export interface OrganizationConnectorsDenyRequestInput {
12323
+ id: string
12324
+ requestId: string
12325
+ organizationId: string
12326
+ }
12327
+
12328
+ export interface OrganizationConnectorsDenyRequestOutput {
12329
+ success: boolean
12330
+ }
12331
+
12314
12332
  export interface OrganizationConnectorsDetachInput {
12315
12333
  id: string
12316
12334
  productId: string
12317
- organizationId: string
12318
12335
  }
12319
12336
 
12320
12337
  export interface OrganizationConnectorsDetachOutput {
@@ -12330,16 +12347,17 @@ id: string
12330
12347
  config: {
12331
12348
  [k: string]: unknown
12332
12349
  }
12350
+ origin: ("product" | "org")
12333
12351
  status: string
12334
12352
  provider: string
12335
12353
  createdAt: string
12354
+ customerId: (string | null)
12336
12355
  externalId: string
12337
12356
  displayName: string
12338
12357
  }[]
12339
12358
 
12340
12359
  export interface OrganizationConnectorsListAttachmentsInput {
12341
12360
  id: string
12342
- organizationId: string
12343
12361
  }
12344
12362
 
12345
12363
  export interface OrganizationConnectorsListAttachmentsOutput {
@@ -12353,6 +12371,19 @@ descriptiveName: (string | null)
12353
12371
  connectorId: string
12354
12372
  }
12355
12373
 
12374
+ export interface OrganizationConnectorsListAvailableInput {
12375
+ productId: string
12376
+ }
12377
+
12378
+ export type OrganizationConnectorsListAvailableOutput = {
12379
+ id: string
12380
+ status: string
12381
+ provider: string
12382
+ externalId: string
12383
+ displayName: string
12384
+ requestStatus: (("pending" | "denied") | null)
12385
+ }[]
12386
+
12356
12387
  export interface OrganizationConnectorsListOrgInput {
12357
12388
  organizationId: string
12358
12389
  }
@@ -12377,6 +12408,23 @@ descriptiveName: (string | null)
12377
12408
  }[]
12378
12409
  }[]
12379
12410
 
12411
+ export interface OrganizationConnectorsListRequestsInput {
12412
+ status?: ("pending" | "approved" | "denied")
12413
+ organizationId: string
12414
+ }
12415
+
12416
+ export type OrganizationConnectorsListRequestsOutput = {
12417
+ id: string
12418
+ status: string
12419
+ provider: string
12420
+ createdAt: string
12421
+ productId: string
12422
+ connectorId: string
12423
+ productName: string
12424
+ requestedBy: string
12425
+ connectorDisplayName: string
12426
+ }[]
12427
+
12380
12428
  export interface OrganizationConnectorsRemoveInput {
12381
12429
  id: string
12382
12430
  }
@@ -12385,6 +12433,16 @@ export interface OrganizationConnectorsRemoveOutput {
12385
12433
  success: boolean
12386
12434
  }
12387
12435
 
12436
+ export interface OrganizationConnectorsRequestInput {
12437
+ id: string
12438
+ productId: string
12439
+ }
12440
+
12441
+ export interface OrganizationConnectorsRequestOutput {
12442
+ id: string
12443
+ status: string
12444
+ }
12445
+
12388
12446
  export interface OrganizationCreateInput {
12389
12447
  name: string
12390
12448
  }
@@ -12517,6 +12575,14 @@ export interface OrganizationGithubInstallInput {
12517
12575
 
12518
12576
  export interface OrganizationGithubInstallOutput {
12519
12577
  url: string
12578
+ status: ("install_required" | "already_connected")
12579
+ canAttach: boolean
12580
+ connectors: {
12581
+ id: string
12582
+ externalId: string
12583
+ displayName: string
12584
+ attachedToThisProduct: boolean
12585
+ }[]
12520
12586
  }
12521
12587
 
12522
12588
  export interface OrganizationGithubListInstallationsInput {