@lessly/sdk-app 61.1.0 → 62.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.
@@ -90027,12 +90027,6 @@ export interface OrganizationBillingBudgetsGetInput {
90027
90027
  export interface OrganizationBillingBudgetsGetOutput {
90028
90028
  [k: string]: unknown;
90029
90029
  }
90030
- export interface OrganizationBillingBudgetsSetInput {
90031
- ceiling_minor: number;
90032
- }
90033
- export interface OrganizationBillingBudgetsSetOutput {
90034
- [k: string]: unknown;
90035
- }
90036
90030
  export interface OrganizationBillingCapsClearInput {
90037
90031
  productId: string;
90038
90032
  }
@@ -90136,10 +90130,13 @@ export type OrganizationConnectorsListOutput = {
90136
90130
  origin: ("product" | "org");
90137
90131
  status: string;
90138
90132
  provider: string;
90133
+ reauthAt: (string | null);
90139
90134
  createdAt: string;
90140
90135
  customerId: (string | null);
90141
90136
  externalId: string;
90142
90137
  displayName: string;
90138
+ needsReauth: boolean;
90139
+ reauthReason: (string | null);
90143
90140
  }[];
90144
90141
  export interface OrganizationConnectorsListAttachmentsInput {
90145
90142
  id: string;
@@ -90161,8 +90158,11 @@ export type OrganizationConnectorsListAvailableOutput = {
90161
90158
  id: string;
90162
90159
  status: string;
90163
90160
  provider: string;
90161
+ reauthAt: (string | null);
90164
90162
  externalId: string;
90165
90163
  displayName: string;
90164
+ needsReauth: boolean;
90165
+ reauthReason: (string | null);
90166
90166
  requestStatus: (("pending" | "denied") | null);
90167
90167
  organizationId: string;
90168
90168
  }[];
@@ -90176,9 +90176,12 @@ export type OrganizationConnectorsListOrgOutput = {
90176
90176
  };
90177
90177
  status: string;
90178
90178
  provider: string;
90179
+ reauthAt: (string | null);
90179
90180
  createdAt: string;
90180
90181
  externalId: string;
90181
90182
  displayName: string;
90183
+ needsReauth: boolean;
90184
+ reauthReason: (string | null);
90182
90185
  organizationId: string;
90183
90186
  attachedProducts: {
90184
90187
  createdAt: string;
@@ -90219,8 +90222,8 @@ export interface OrganizationConnectorsRequestOutput {
90219
90222
  }
90220
90223
  export interface OrganizationCreateInput {
90221
90224
  name: string;
90222
- legalName?: string;
90223
- ownerName?: string;
90225
+ legalName: string;
90226
+ ownerName: string;
90224
90227
  /**
90225
90228
  * @maxItems 50
90226
90229
  */
@@ -90229,9 +90232,9 @@ export interface OrganizationCreateInput {
90229
90232
  country: string;
90230
90233
  share_pct: number;
90231
90234
  }[];
90232
- residencyCountry?: string;
90235
+ residencyCountry: string;
90233
90236
  ownershipConfirmed?: boolean;
90234
- countryOfIncorporation?: string;
90237
+ countryOfIncorporation: string;
90235
90238
  }
90236
90239
  export interface OrganizationCreateOutput {
90237
90240
  id: string;
@@ -90365,6 +90368,131 @@ export interface OrganizationGoogleadsInstallInput {
90365
90368
  export interface OrganizationGoogleadsInstallOutput {
90366
90369
  url: string;
90367
90370
  }
90371
+ export interface OrganizationGroupsCreateInput {
90372
+ name: string;
90373
+ orgId: string;
90374
+ description?: string;
90375
+ }
90376
+ export interface OrganizationGroupsCreateOutput {
90377
+ id: string;
90378
+ name: string;
90379
+ grants: {
90380
+ roleId: string;
90381
+ productId: string;
90382
+ }[];
90383
+ members: {
90384
+ userId: string;
90385
+ }[];
90386
+ createdAt: string;
90387
+ updatedAt: string;
90388
+ description: (string | null);
90389
+ organizationId: string;
90390
+ }
90391
+ export interface OrganizationGroupsDeleteInput {
90392
+ orgId: string;
90393
+ groupId: string;
90394
+ }
90395
+ export interface OrganizationGroupsDeleteOutput {
90396
+ [k: string]: unknown;
90397
+ }
90398
+ export interface OrganizationGroupsGetInput {
90399
+ orgId: string;
90400
+ groupId: string;
90401
+ }
90402
+ export interface OrganizationGroupsGetOutput {
90403
+ id: string;
90404
+ name: string;
90405
+ grants: {
90406
+ roleId: string;
90407
+ productId: string;
90408
+ }[];
90409
+ members: {
90410
+ userId: string;
90411
+ }[];
90412
+ createdAt: string;
90413
+ updatedAt: string;
90414
+ description: (string | null);
90415
+ organizationId: string;
90416
+ }
90417
+ export interface OrganizationGroupsGrantRemoveInput {
90418
+ orgId: string;
90419
+ groupId: string;
90420
+ productId: string;
90421
+ }
90422
+ export interface OrganizationGroupsGrantRemoveOutput {
90423
+ [k: string]: unknown;
90424
+ }
90425
+ export interface OrganizationGroupsGrantSetInput {
90426
+ orgId: string;
90427
+ roleId: string;
90428
+ groupId: string;
90429
+ productId: string;
90430
+ }
90431
+ export interface OrganizationGroupsGrantSetOutput {
90432
+ [k: string]: unknown;
90433
+ }
90434
+ export interface OrganizationGroupsListInput {
90435
+ orgId: string;
90436
+ }
90437
+ export interface OrganizationGroupsListOutput {
90438
+ groups: {
90439
+ id: string;
90440
+ name: string;
90441
+ grants: {
90442
+ roleId: string;
90443
+ productId: string;
90444
+ }[];
90445
+ members: {
90446
+ userId: string;
90447
+ }[];
90448
+ createdAt: string;
90449
+ updatedAt: string;
90450
+ description: (string | null);
90451
+ organizationId: string;
90452
+ }[];
90453
+ }
90454
+ export interface OrganizationGroupsMemberAddInput {
90455
+ orgId: string;
90456
+ userId: string;
90457
+ groupId: string;
90458
+ }
90459
+ export interface OrganizationGroupsMemberAddOutput {
90460
+ [k: string]: unknown;
90461
+ }
90462
+ export interface OrganizationGroupsMemberRemoveInput {
90463
+ orgId: string;
90464
+ userId: string;
90465
+ groupId: string;
90466
+ }
90467
+ export interface OrganizationGroupsMemberRemoveOutput {
90468
+ [k: string]: unknown;
90469
+ }
90470
+ export interface OrganizationGroupsUpdateInput {
90471
+ name?: string;
90472
+ orgId: string;
90473
+ groupId: string;
90474
+ description?: (string | null);
90475
+ }
90476
+ export interface OrganizationGroupsUpdateOutput {
90477
+ id: string;
90478
+ name: string;
90479
+ grants: {
90480
+ roleId: string;
90481
+ productId: string;
90482
+ }[];
90483
+ members: {
90484
+ userId: string;
90485
+ }[];
90486
+ createdAt: string;
90487
+ updatedAt: string;
90488
+ description: (string | null);
90489
+ organizationId: string;
90490
+ }
90491
+ export interface OrganizationLinkedinMemberInstallInput {
90492
+ }
90493
+ export interface OrganizationLinkedinMemberInstallOutput {
90494
+ url: string;
90495
+ }
90368
90496
  export interface OrganizationListInput {
90369
90497
  }
90370
90498
  export interface OrganizationListOutput {
@@ -90373,6 +90501,7 @@ export interface OrganizationListOutput {
90373
90501
  name: string;
90374
90502
  role: ("owner" | "admin" | "member");
90375
90503
  active: boolean;
90504
+ logoUrl: (string | null);
90376
90505
  blockedAt: (string | null);
90377
90506
  blockReason: (("no_subscription" | "under_review") | null);
90378
90507
  }[];
@@ -90470,21 +90599,28 @@ export interface OrganizationMemberListProductAccessOutput {
90470
90599
  role: string;
90471
90600
  slug: string;
90472
90601
  isCustom: boolean;
90602
+ viaGroup: ({
90603
+ id: string;
90604
+ name: string;
90605
+ } | null);
90473
90606
  expiresAt: (string | null);
90474
90607
  productId: string;
90475
90608
  sourceRole: ({
90476
90609
  id: string;
90477
90610
  name: string;
90478
90611
  } | null);
90612
+ viaGroupId: (string | null);
90479
90613
  grantSource: string;
90480
90614
  permissions: ({
90481
90615
  deny: string[];
90482
90616
  allow: string[];
90483
90617
  } | null);
90618
+ directGrantRole: (string | null);
90484
90619
  effectivePermissions: {
90485
90620
  deny: string[];
90486
90621
  allow: string[];
90487
90622
  };
90623
+ directGrantNotInForce: boolean;
90488
90624
  }[];
90489
90625
  }
90490
90626
  export interface OrganizationMemberRemoveInput {
@@ -90580,6 +90716,7 @@ export interface OrganizationProductCreateOutput {
90580
90716
  role: string;
90581
90717
  slug: string;
90582
90718
  demoAt: (string | null);
90719
+ region: string;
90583
90720
  status: string;
90584
90721
  logoUrl: (string | null);
90585
90722
  blockedAt: (string | null);
@@ -90597,6 +90734,7 @@ export interface OrganizationProductListOutput {
90597
90734
  role: string;
90598
90735
  slug: string;
90599
90736
  demoAt: (string | null);
90737
+ region: string;
90600
90738
  status: string;
90601
90739
  logoUrl: (string | null);
90602
90740
  blockedAt: (string | null);
@@ -90626,7 +90764,6 @@ export interface OrganizationProductListAccessOutput {
90626
90764
  orgRoles: {
90627
90765
  id: string;
90628
90766
  name: string;
90629
- description: (string | null);
90630
90767
  }[];
90631
90768
  canManage: boolean;
90632
90769
  inherited: {
@@ -90672,6 +90809,17 @@ export interface OrganizationProductListRolesOutput {
90672
90809
  productId: (string | null);
90673
90810
  }[];
90674
90811
  }
90812
+ export interface OrganizationProductMeInput {
90813
+ productId: string;
90814
+ }
90815
+ export interface OrganizationProductMeOutput {
90816
+ deny: string[];
90817
+ role: string;
90818
+ allow: string[];
90819
+ roleId: (string | null);
90820
+ roleName: (string | null);
90821
+ roleType: (("system" | "custom") | null);
90822
+ }
90675
90823
  export interface OrganizationProductRevokeAccessInput {
90676
90824
  userId: string;
90677
90825
  productId: string;
@@ -90709,6 +90857,7 @@ export interface OrganizationProductUpdateOutput {
90709
90857
  role: string;
90710
90858
  slug: string;
90711
90859
  demoAt: (string | null);
90860
+ region: string;
90712
90861
  status: string;
90713
90862
  logoUrl: (string | null);
90714
90863
  blockedAt: (string | null);
@@ -90813,6 +90962,11 @@ export interface OrganizationPublicRoutesListOutput {
90813
90962
  publicUrl: string;
90814
90963
  }[];
90815
90964
  }
90965
+ export interface OrganizationRedditInstallInput {
90966
+ }
90967
+ export interface OrganizationRedditInstallOutput {
90968
+ url: string;
90969
+ }
90816
90970
  export interface OrganizationRolesCreateInput {
90817
90971
  deny?: string[];
90818
90972
  name: string;
@@ -90906,6 +91060,7 @@ export interface OrganizationSupportThreadCreateInput {
90906
91060
  export interface OrganizationSupportThreadCreateOutput {
90907
91061
  id: string;
90908
91062
  title: string;
91063
+ legacy: boolean;
90909
91064
  status: string;
90910
91065
  category: ("open" | "pending" | "resolved" | "closed");
90911
91066
  messages: {
@@ -90918,6 +91073,7 @@ export interface OrganizationSupportThreadCreateOutput {
90918
91073
  createdAt: string;
90919
91074
  }[];
90920
91075
  createdAt: string;
91076
+ openedByName: string;
90921
91077
  lastMessageAt: string;
90922
91078
  lastMessagePreview: (string | null);
90923
91079
  }
@@ -90927,6 +91083,7 @@ export interface OrganizationSupportThreadGetInput {
90927
91083
  export interface OrganizationSupportThreadGetOutput {
90928
91084
  id: string;
90929
91085
  title: string;
91086
+ legacy: boolean;
90930
91087
  status: string;
90931
91088
  category: ("open" | "pending" | "resolved" | "closed");
90932
91089
  messages: {
@@ -90939,6 +91096,7 @@ export interface OrganizationSupportThreadGetOutput {
90939
91096
  createdAt: string;
90940
91097
  }[];
90941
91098
  createdAt: string;
91099
+ openedByName: string;
90942
91100
  lastMessageAt: string;
90943
91101
  lastMessagePreview: (string | null);
90944
91102
  }
@@ -90949,6 +91107,7 @@ export interface OrganizationSupportThreadReplyInput {
90949
91107
  export interface OrganizationSupportThreadReplyOutput {
90950
91108
  id: string;
90951
91109
  title: string;
91110
+ legacy: boolean;
90952
91111
  status: string;
90953
91112
  category: ("open" | "pending" | "resolved" | "closed");
90954
91113
  messages: {
@@ -90961,6 +91120,7 @@ export interface OrganizationSupportThreadReplyOutput {
90961
91120
  createdAt: string;
90962
91121
  }[];
90963
91122
  createdAt: string;
91123
+ openedByName: string;
90964
91124
  lastMessageAt: string;
90965
91125
  lastMessagePreview: (string | null);
90966
91126
  }
@@ -90970,13 +91130,25 @@ export interface OrganizationSupportThreadsListOutput {
90970
91130
  threads: {
90971
91131
  id: string;
90972
91132
  title: string;
91133
+ legacy: boolean;
90973
91134
  status: string;
90974
91135
  category: ("open" | "pending" | "resolved" | "closed");
90975
91136
  createdAt: string;
91137
+ openedByName: string;
90976
91138
  lastMessageAt: string;
90977
91139
  lastMessagePreview: (string | null);
90978
91140
  }[];
90979
91141
  }
91142
+ export interface OrganizationXInstallInput {
91143
+ }
91144
+ export interface OrganizationXInstallOutput {
91145
+ url: string;
91146
+ }
91147
+ export interface OrganizationYoutubeInstallInput {
91148
+ }
91149
+ export interface OrganizationYoutubeInstallOutput {
91150
+ url: string;
91151
+ }
90980
91152
  export interface PlaygroundAnalyticsOverviewInput {
90981
91153
  /**
90982
91154
  * Max records per entity in recent[]; omit for the endpoint default
@@ -5808,19 +5808,6 @@ var bindings = {
5808
5808
  "operationKey": "organization_billing_budgets_get",
5809
5809
  "path": "/governance/api/v1/billing/budgets",
5810
5810
  "readOnly": true
5811
- },
5812
- "set": {
5813
- "level": "write",
5814
- "method": "PUT",
5815
- "operationKey": "organization_billing_budgets_set",
5816
- "params": [
5817
- {
5818
- "in": "body",
5819
- "name": "ceiling_minor"
5820
- }
5821
- ],
5822
- "path": "/governance/api/v1/billing/budgets",
5823
- "readOnly": false
5824
5811
  }
5825
5812
  },
5826
5813
  "billing-caps": {
@@ -6250,6 +6237,198 @@ var bindings = {
6250
6237
  "readOnly": false
6251
6238
  }
6252
6239
  },
6240
+ "groups": {
6241
+ "create": {
6242
+ "level": "write",
6243
+ "method": "POST",
6244
+ "operationKey": "organization_groups_create",
6245
+ "params": [
6246
+ {
6247
+ "in": "path",
6248
+ "name": "orgId"
6249
+ },
6250
+ {
6251
+ "in": "body",
6252
+ "name": "name"
6253
+ },
6254
+ {
6255
+ "in": "body",
6256
+ "name": "description"
6257
+ }
6258
+ ],
6259
+ "path": "/governance/api/v1/organizations/:orgId/groups",
6260
+ "readOnly": false
6261
+ },
6262
+ "delete": {
6263
+ "level": "admin",
6264
+ "method": "DELETE",
6265
+ "operationKey": "organization_groups_delete",
6266
+ "params": [
6267
+ {
6268
+ "in": "path",
6269
+ "name": "orgId"
6270
+ },
6271
+ {
6272
+ "in": "path",
6273
+ "name": "groupId"
6274
+ }
6275
+ ],
6276
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId",
6277
+ "readOnly": false
6278
+ },
6279
+ "get": {
6280
+ "level": "read",
6281
+ "method": "GET",
6282
+ "operationKey": "organization_groups_get",
6283
+ "params": [
6284
+ {
6285
+ "in": "path",
6286
+ "name": "orgId"
6287
+ },
6288
+ {
6289
+ "in": "path",
6290
+ "name": "groupId"
6291
+ }
6292
+ ],
6293
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId",
6294
+ "readOnly": true
6295
+ },
6296
+ "grant-remove": {
6297
+ "level": "write",
6298
+ "method": "DELETE",
6299
+ "operationKey": "organization_groups_grant-remove",
6300
+ "params": [
6301
+ {
6302
+ "in": "path",
6303
+ "name": "orgId"
6304
+ },
6305
+ {
6306
+ "in": "path",
6307
+ "name": "groupId"
6308
+ },
6309
+ {
6310
+ "in": "path",
6311
+ "name": "productId"
6312
+ }
6313
+ ],
6314
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId/grants/:productId",
6315
+ "readOnly": false
6316
+ },
6317
+ "grant-set": {
6318
+ "level": "write",
6319
+ "method": "PUT",
6320
+ "operationKey": "organization_groups_grant-set",
6321
+ "params": [
6322
+ {
6323
+ "in": "path",
6324
+ "name": "orgId"
6325
+ },
6326
+ {
6327
+ "in": "path",
6328
+ "name": "groupId"
6329
+ },
6330
+ {
6331
+ "in": "path",
6332
+ "name": "productId"
6333
+ },
6334
+ {
6335
+ "in": "body",
6336
+ "name": "roleId"
6337
+ }
6338
+ ],
6339
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId/grants/:productId",
6340
+ "readOnly": false
6341
+ },
6342
+ "list": {
6343
+ "level": "read",
6344
+ "method": "GET",
6345
+ "operationKey": "organization_groups_list",
6346
+ "params": [
6347
+ {
6348
+ "in": "path",
6349
+ "name": "orgId"
6350
+ }
6351
+ ],
6352
+ "path": "/governance/api/v1/organizations/:orgId/groups",
6353
+ "readOnly": true
6354
+ },
6355
+ "member-add": {
6356
+ "level": "write",
6357
+ "method": "POST",
6358
+ "operationKey": "organization_groups_member-add",
6359
+ "params": [
6360
+ {
6361
+ "in": "path",
6362
+ "name": "orgId"
6363
+ },
6364
+ {
6365
+ "in": "path",
6366
+ "name": "groupId"
6367
+ },
6368
+ {
6369
+ "in": "body",
6370
+ "name": "userId"
6371
+ }
6372
+ ],
6373
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId/members",
6374
+ "readOnly": false
6375
+ },
6376
+ "member-remove": {
6377
+ "level": "write",
6378
+ "method": "DELETE",
6379
+ "operationKey": "organization_groups_member-remove",
6380
+ "params": [
6381
+ {
6382
+ "in": "path",
6383
+ "name": "orgId"
6384
+ },
6385
+ {
6386
+ "in": "path",
6387
+ "name": "groupId"
6388
+ },
6389
+ {
6390
+ "in": "path",
6391
+ "name": "userId"
6392
+ }
6393
+ ],
6394
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId/members/:userId",
6395
+ "readOnly": false
6396
+ },
6397
+ "update": {
6398
+ "level": "write",
6399
+ "method": "PATCH",
6400
+ "operationKey": "organization_groups_update",
6401
+ "params": [
6402
+ {
6403
+ "in": "path",
6404
+ "name": "orgId"
6405
+ },
6406
+ {
6407
+ "in": "path",
6408
+ "name": "groupId"
6409
+ },
6410
+ {
6411
+ "in": "body",
6412
+ "name": "name"
6413
+ },
6414
+ {
6415
+ "in": "body",
6416
+ "name": "description"
6417
+ }
6418
+ ],
6419
+ "path": "/governance/api/v1/organizations/:orgId/groups/:groupId",
6420
+ "readOnly": false
6421
+ }
6422
+ },
6423
+ "linkedin-member": {
6424
+ "install": {
6425
+ "level": "read",
6426
+ "method": "GET",
6427
+ "operationKey": "organization_linkedin_member_install",
6428
+ "path": "/governance/api/v1/connectors/linkedin-member/install",
6429
+ "readOnly": false
6430
+ }
6431
+ },
6253
6432
  "member": {
6254
6433
  "accept-invite": {
6255
6434
  "level": "write",
@@ -6552,6 +6731,19 @@ var bindings = {
6552
6731
  "path": "/governance/api/v1/products/:productId/roles",
6553
6732
  "readOnly": true
6554
6733
  },
6734
+ "me": {
6735
+ "level": "read",
6736
+ "method": "GET",
6737
+ "operationKey": "organization_product_me",
6738
+ "params": [
6739
+ {
6740
+ "in": "path",
6741
+ "name": "productId"
6742
+ }
6743
+ ],
6744
+ "path": "/governance/api/v1/products/:productId/me",
6745
+ "readOnly": true
6746
+ },
6555
6747
  "revoke-access": {
6556
6748
  "level": "write",
6557
6749
  "method": "DELETE",
@@ -6718,6 +6910,15 @@ var bindings = {
6718
6910
  "readOnly": true
6719
6911
  }
6720
6912
  },
6913
+ "reddit": {
6914
+ "install": {
6915
+ "level": "read",
6916
+ "method": "GET",
6917
+ "operationKey": "organization_reddit_install",
6918
+ "path": "/governance/api/v1/connectors/reddit/install",
6919
+ "readOnly": false
6920
+ }
6921
+ },
6721
6922
  "roles": {
6722
6923
  "create": {
6723
6924
  "level": "write",
@@ -6893,6 +7094,24 @@ var bindings = {
6893
7094
  "path": "/governance/api/v1/support/threads",
6894
7095
  "readOnly": true
6895
7096
  }
7097
+ },
7098
+ "x": {
7099
+ "install": {
7100
+ "level": "read",
7101
+ "method": "GET",
7102
+ "operationKey": "organization_x_install",
7103
+ "path": "/governance/api/v1/connectors/x/install",
7104
+ "readOnly": false
7105
+ }
7106
+ },
7107
+ "youtube": {
7108
+ "install": {
7109
+ "level": "read",
7110
+ "method": "GET",
7111
+ "operationKey": "organization_youtube_install",
7112
+ "path": "/governance/api/v1/connectors/youtube/install",
7113
+ "readOnly": false
7114
+ }
6896
7115
  }
6897
7116
  },
6898
7117
  "playground": {
@@ -10214,5 +10433,5 @@ var wsBindings = {
10214
10433
  };
10215
10434
 
10216
10435
  export { bindings, wsBindings };
10217
- //# sourceMappingURL=chunk-T4K7L6V5.js.map
10218
- //# sourceMappingURL=chunk-T4K7L6V5.js.map
10436
+ //# sourceMappingURL=chunk-2YAA3AF4.js.map
10437
+ //# sourceMappingURL=chunk-2YAA3AF4.js.map