@pubnio/sdk 0.2.10 → 0.2.12
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.cjs +23 -1
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +23 -1
- package/dist/internal.cjs +23 -1
- package/dist/internal.d.cts +83 -2
- package/dist/internal.d.ts +83 -2
- package/dist/internal.js +23 -1
- package/dist/solid.cjs +34 -1
- package/dist/solid.d.cts +60 -20
- package/dist/solid.d.ts +60 -20
- package/dist/solid.js +34 -1
- package/package.json +1 -1
package/dist/solid.d.ts
CHANGED
|
@@ -352,6 +352,7 @@ declare const AuditAction: Schema.Literals<readonly [
|
|
|
352
352
|
"account.connected",
|
|
353
353
|
"account.reconnected",
|
|
354
354
|
"account.disconnected",
|
|
355
|
+
"account.deleted",
|
|
355
356
|
"account.enabled",
|
|
356
357
|
"account.disabled",
|
|
357
358
|
"account.moved",
|
|
@@ -432,6 +433,7 @@ declare const AuditEvent: Schema.Struct<{
|
|
|
432
433
|
"account.connected",
|
|
433
434
|
"account.reconnected",
|
|
434
435
|
"account.disconnected",
|
|
436
|
+
"account.deleted",
|
|
435
437
|
"account.enabled",
|
|
436
438
|
"account.disabled",
|
|
437
439
|
"account.moved",
|
|
@@ -513,6 +515,7 @@ declare const AuditEventList: Schema.Struct<{
|
|
|
513
515
|
"account.connected",
|
|
514
516
|
"account.reconnected",
|
|
515
517
|
"account.disconnected",
|
|
518
|
+
"account.deleted",
|
|
516
519
|
"account.enabled",
|
|
517
520
|
"account.disabled",
|
|
518
521
|
"account.moved",
|
|
@@ -576,6 +579,7 @@ declare const AuditActionCatalog: Schema.Struct<{
|
|
|
576
579
|
"account.connected",
|
|
577
580
|
"account.reconnected",
|
|
578
581
|
"account.disconnected",
|
|
582
|
+
"account.deleted",
|
|
579
583
|
"account.enabled",
|
|
580
584
|
"account.disabled",
|
|
581
585
|
"account.moved",
|
|
@@ -1893,6 +1897,8 @@ declare const ProviderAccount: Schema.Struct<{
|
|
|
1893
1897
|
]>;
|
|
1894
1898
|
readonly parentAccountId: Schema.NullOr<Schema.brand<Schema.String, "AccountId">>;
|
|
1895
1899
|
readonly name: Schema.String;
|
|
1900
|
+
readonly platformUserId: Schema.String;
|
|
1901
|
+
readonly avatarUrl: Schema.NullOr<Schema.String>;
|
|
1896
1902
|
readonly enabled: Schema.Boolean;
|
|
1897
1903
|
readonly available: Schema.Boolean;
|
|
1898
1904
|
readonly details: Schema.Union<readonly [
|
|
@@ -2212,6 +2218,8 @@ declare const IntegrationList: Schema.Struct<{
|
|
|
2212
2218
|
]>;
|
|
2213
2219
|
readonly parentAccountId: Schema.NullOr<Schema.brand<Schema.String, "AccountId">>;
|
|
2214
2220
|
readonly name: Schema.String;
|
|
2221
|
+
readonly platformUserId: Schema.String;
|
|
2222
|
+
readonly avatarUrl: Schema.NullOr<Schema.String>;
|
|
2215
2223
|
readonly enabled: Schema.Boolean;
|
|
2216
2224
|
readonly available: Schema.Boolean;
|
|
2217
2225
|
readonly details: Schema.Union<readonly [
|
|
@@ -2607,6 +2615,10 @@ declare const ConnectionDisconnected: Schema.Struct<{
|
|
|
2607
2615
|
readonly disconnected: Schema.Literal<true>;
|
|
2608
2616
|
}>;
|
|
2609
2617
|
type ConnectionDisconnected = typeof ConnectionDisconnected.Type;
|
|
2618
|
+
declare const ConnectionDeleted: Schema.Struct<{
|
|
2619
|
+
readonly deleted: Schema.Literal<true>;
|
|
2620
|
+
}>;
|
|
2621
|
+
type ConnectionDeleted = typeof ConnectionDeleted.Type;
|
|
2610
2622
|
declare const InstagramPublishingLimit: Schema.Struct<{
|
|
2611
2623
|
readonly used: Schema.Int;
|
|
2612
2624
|
readonly limit: Schema.Int;
|
|
@@ -10050,6 +10062,7 @@ interface AccountsClient {
|
|
|
10050
10062
|
connectionStatus(attemptId: string): Promise<ConnectionStatus>;
|
|
10051
10063
|
reconnect(accountId: AccountId, loginMethod?: InstagramLoginMethod): Promise<ConnectionLaunch>;
|
|
10052
10064
|
disconnect(connectionId: string): Promise<ConnectionDisconnected>;
|
|
10065
|
+
delete(connectionId: string): Promise<ConnectionDeleted>;
|
|
10053
10066
|
instagramPublishingLimit(accountId: AccountId): Promise<InstagramPublishingLimit>;
|
|
10054
10067
|
searchInstagramAudio(accountId: AccountId, params: InstagramAudioSearchQuery): Promise<InstagramAudioSearch>;
|
|
10055
10068
|
getInstagramAudio(accountId: AccountId, audioId: string): Promise<InstagramAudio>;
|
|
@@ -15136,6 +15149,8 @@ export declare function accountsListOptions(workspace: PubNioWorkspaceClient, op
|
|
|
15136
15149
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
15137
15150
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
15138
15151
|
readonly name: string;
|
|
15152
|
+
readonly platformUserId: string;
|
|
15153
|
+
readonly avatarUrl: string | null;
|
|
15139
15154
|
readonly enabled: boolean;
|
|
15140
15155
|
readonly available: boolean;
|
|
15141
15156
|
readonly details: {
|
|
@@ -15306,6 +15321,8 @@ export declare function accountsListOptions(workspace: PubNioWorkspaceClient, op
|
|
|
15306
15321
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
15307
15322
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
15308
15323
|
readonly name: string;
|
|
15324
|
+
readonly platformUserId: string;
|
|
15325
|
+
readonly avatarUrl: string | null;
|
|
15309
15326
|
readonly enabled: boolean;
|
|
15310
15327
|
readonly available: boolean;
|
|
15311
15328
|
readonly details: {
|
|
@@ -15488,6 +15505,8 @@ export declare function accountsListOptions(workspace: PubNioWorkspaceClient, op
|
|
|
15488
15505
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
15489
15506
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
15490
15507
|
readonly name: string;
|
|
15508
|
+
readonly platformUserId: string;
|
|
15509
|
+
readonly avatarUrl: string | null;
|
|
15491
15510
|
readonly enabled: boolean;
|
|
15492
15511
|
readonly available: boolean;
|
|
15493
15512
|
readonly details: {
|
|
@@ -15658,6 +15677,8 @@ export declare function accountsListOptions(workspace: PubNioWorkspaceClient, op
|
|
|
15658
15677
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
15659
15678
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
15660
15679
|
readonly name: string;
|
|
15680
|
+
readonly platformUserId: string;
|
|
15681
|
+
readonly avatarUrl: string | null;
|
|
15661
15682
|
readonly enabled: boolean;
|
|
15662
15683
|
readonly available: boolean;
|
|
15663
15684
|
readonly details: {
|
|
@@ -15840,6 +15861,8 @@ export declare function accountsListOptions(workspace: PubNioWorkspaceClient, op
|
|
|
15840
15861
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
15841
15862
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
15842
15863
|
readonly name: string;
|
|
15864
|
+
readonly platformUserId: string;
|
|
15865
|
+
readonly avatarUrl: string | null;
|
|
15843
15866
|
readonly enabled: boolean;
|
|
15844
15867
|
readonly available: boolean;
|
|
15845
15868
|
readonly details: {
|
|
@@ -16010,6 +16033,8 @@ export declare function accountsGetOptions(workspace: PubNioWorkspaceClient, acc
|
|
|
16010
16033
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16011
16034
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16012
16035
|
readonly name: string;
|
|
16036
|
+
readonly platformUserId: string;
|
|
16037
|
+
readonly avatarUrl: string | null;
|
|
16013
16038
|
readonly enabled: boolean;
|
|
16014
16039
|
readonly available: boolean;
|
|
16015
16040
|
readonly details: {
|
|
@@ -16178,6 +16203,8 @@ export declare function accountsGetOptions(workspace: PubNioWorkspaceClient, acc
|
|
|
16178
16203
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16179
16204
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16180
16205
|
readonly name: string;
|
|
16206
|
+
readonly platformUserId: string;
|
|
16207
|
+
readonly avatarUrl: string | null;
|
|
16181
16208
|
readonly enabled: boolean;
|
|
16182
16209
|
readonly available: boolean;
|
|
16183
16210
|
readonly details: {
|
|
@@ -16362,6 +16389,8 @@ export declare function accountsGetOptions(workspace: PubNioWorkspaceClient, acc
|
|
|
16362
16389
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16363
16390
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16364
16391
|
readonly name: string;
|
|
16392
|
+
readonly platformUserId: string;
|
|
16393
|
+
readonly avatarUrl: string | null;
|
|
16365
16394
|
readonly enabled: boolean;
|
|
16366
16395
|
readonly available: boolean;
|
|
16367
16396
|
readonly details: {
|
|
@@ -16530,6 +16559,8 @@ export declare function accountsGetOptions(workspace: PubNioWorkspaceClient, acc
|
|
|
16530
16559
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16531
16560
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16532
16561
|
readonly name: string;
|
|
16562
|
+
readonly platformUserId: string;
|
|
16563
|
+
readonly avatarUrl: string | null;
|
|
16533
16564
|
readonly enabled: boolean;
|
|
16534
16565
|
readonly available: boolean;
|
|
16535
16566
|
readonly details: {
|
|
@@ -16714,6 +16745,8 @@ export declare function accountsGetOptions(workspace: PubNioWorkspaceClient, acc
|
|
|
16714
16745
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16715
16746
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16716
16747
|
readonly name: string;
|
|
16748
|
+
readonly platformUserId: string;
|
|
16749
|
+
readonly avatarUrl: string | null;
|
|
16717
16750
|
readonly enabled: boolean;
|
|
16718
16751
|
readonly available: boolean;
|
|
16719
16752
|
readonly details: {
|
|
@@ -16883,6 +16916,8 @@ export declare function accountsSetEnabledMutation(workspace: PubNioWorkspaceCli
|
|
|
16883
16916
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
16884
16917
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
16885
16918
|
readonly name: string;
|
|
16919
|
+
readonly platformUserId: string;
|
|
16920
|
+
readonly avatarUrl: string | null;
|
|
16886
16921
|
readonly enabled: boolean;
|
|
16887
16922
|
readonly available: boolean;
|
|
16888
16923
|
readonly details: {
|
|
@@ -17055,6 +17090,8 @@ export declare function accountsMoveMutation(workspace: PubNioWorkspaceClient):
|
|
|
17055
17090
|
readonly accountKind: "social_page" | "social_account" | "social_board" | "social_channel" | "ad_account";
|
|
17056
17091
|
readonly parentAccountId: (string & import("effect/Brand").Brand<"AccountId">) | null;
|
|
17057
17092
|
readonly name: string;
|
|
17093
|
+
readonly platformUserId: string;
|
|
17094
|
+
readonly avatarUrl: string | null;
|
|
17058
17095
|
readonly enabled: boolean;
|
|
17059
17096
|
readonly available: boolean;
|
|
17060
17097
|
readonly details: {
|
|
@@ -17235,6 +17272,9 @@ export declare function accountsConnectMutation(workspace: PubNioWorkspaceClient
|
|
|
17235
17272
|
provider: Provider;
|
|
17236
17273
|
loginMethod?: InstagramLoginMethod;
|
|
17237
17274
|
}, unknown>, "mutationKey">;
|
|
17275
|
+
export declare function accountsDeleteMutation(workspace: PubNioWorkspaceClient): Omit<import("@tanstack/solid-query").MutationOptions<{
|
|
17276
|
+
readonly deleted: true;
|
|
17277
|
+
}, Error, string, unknown>, "mutationKey">;
|
|
17238
17278
|
export declare function accountsDisconnectMutation(workspace: PubNioWorkspaceClient): Omit<import("@tanstack/solid-query").MutationOptions<{
|
|
17239
17279
|
readonly disconnected: true;
|
|
17240
17280
|
}, Error, string, unknown>, "mutationKey">;
|
|
@@ -26018,7 +26058,7 @@ export declare function limitsGetOptions(workspace: PubNioWorkspaceClient): impo
|
|
|
26018
26058
|
}, Error>;
|
|
26019
26059
|
export declare function auditActionsOptions(client: PubNioClient): import("@tanstack/solid-query").QueryOptions<{
|
|
26020
26060
|
readonly actions: readonly {
|
|
26021
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26061
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26022
26062
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26023
26063
|
readonly description: string;
|
|
26024
26064
|
readonly retentionDays: number;
|
|
@@ -26030,7 +26070,7 @@ export declare function auditActionsOptions(client: PubNioClient): import("@tans
|
|
|
26030
26070
|
};
|
|
26031
26071
|
}, Error, {
|
|
26032
26072
|
readonly actions: readonly {
|
|
26033
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26073
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26034
26074
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26035
26075
|
readonly description: string;
|
|
26036
26076
|
readonly retentionDays: number;
|
|
@@ -26047,7 +26087,7 @@ export declare function auditActionsOptions(client: PubNioClient): import("@tans
|
|
|
26047
26087
|
]> & {
|
|
26048
26088
|
initialData?: {
|
|
26049
26089
|
readonly actions: readonly {
|
|
26050
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26090
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26051
26091
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26052
26092
|
readonly description: string;
|
|
26053
26093
|
readonly retentionDays: number;
|
|
@@ -26059,7 +26099,7 @@ export declare function auditActionsOptions(client: PubNioClient): import("@tans
|
|
|
26059
26099
|
};
|
|
26060
26100
|
} | import("@tanstack/solid-query").InitialDataFunction<{
|
|
26061
26101
|
readonly actions: readonly {
|
|
26062
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26102
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26063
26103
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26064
26104
|
readonly description: string;
|
|
26065
26105
|
readonly retentionDays: number;
|
|
@@ -26076,7 +26116,7 @@ export declare function auditActionsOptions(client: PubNioClient): import("@tans
|
|
|
26076
26116
|
"actions"
|
|
26077
26117
|
], {
|
|
26078
26118
|
readonly actions: readonly {
|
|
26079
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26119
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26080
26120
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26081
26121
|
readonly description: string;
|
|
26082
26122
|
readonly retentionDays: number;
|
|
@@ -26103,7 +26143,7 @@ export declare function auditListOptions(workspace: PubNioWorkspaceClient, optio
|
|
|
26103
26143
|
readonly name: string | null;
|
|
26104
26144
|
readonly prefix: string | null;
|
|
26105
26145
|
};
|
|
26106
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26146
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26107
26147
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26108
26148
|
readonly targetId: string;
|
|
26109
26149
|
readonly detail: {
|
|
@@ -26129,7 +26169,7 @@ export declare function auditListOptions(workspace: PubNioWorkspaceClient, optio
|
|
|
26129
26169
|
readonly name: string | null;
|
|
26130
26170
|
readonly prefix: string | null;
|
|
26131
26171
|
};
|
|
26132
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26172
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26133
26173
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26134
26174
|
readonly targetId: string;
|
|
26135
26175
|
readonly detail: {
|
|
@@ -26162,7 +26202,7 @@ export declare function auditListOptions(workspace: PubNioWorkspaceClient, optio
|
|
|
26162
26202
|
readonly name: string | null;
|
|
26163
26203
|
readonly prefix: string | null;
|
|
26164
26204
|
};
|
|
26165
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26205
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26166
26206
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26167
26207
|
readonly targetId: string;
|
|
26168
26208
|
readonly detail: {
|
|
@@ -26188,7 +26228,7 @@ export declare function auditListOptions(workspace: PubNioWorkspaceClient, optio
|
|
|
26188
26228
|
readonly name: string | null;
|
|
26189
26229
|
readonly prefix: string | null;
|
|
26190
26230
|
};
|
|
26191
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26231
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26192
26232
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26193
26233
|
readonly targetId: string;
|
|
26194
26234
|
readonly detail: {
|
|
@@ -26221,7 +26261,7 @@ export declare function auditListOptions(workspace: PubNioWorkspaceClient, optio
|
|
|
26221
26261
|
readonly name: string | null;
|
|
26222
26262
|
readonly prefix: string | null;
|
|
26223
26263
|
};
|
|
26224
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26264
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26225
26265
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26226
26266
|
readonly targetId: string;
|
|
26227
26267
|
readonly detail: {
|
|
@@ -26248,7 +26288,7 @@ export declare function auditInfiniteOptions(workspace: PubNioWorkspaceClient, o
|
|
|
26248
26288
|
readonly name: string | null;
|
|
26249
26289
|
readonly prefix: string | null;
|
|
26250
26290
|
};
|
|
26251
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26291
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26252
26292
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26253
26293
|
readonly targetId: string;
|
|
26254
26294
|
readonly detail: {
|
|
@@ -26274,7 +26314,7 @@ export declare function auditInfiniteOptions(workspace: PubNioWorkspaceClient, o
|
|
|
26274
26314
|
readonly name: string | null;
|
|
26275
26315
|
readonly prefix: string | null;
|
|
26276
26316
|
};
|
|
26277
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26317
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26278
26318
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26279
26319
|
readonly targetId: string;
|
|
26280
26320
|
readonly detail: {
|
|
@@ -26308,7 +26348,7 @@ export declare function auditInfiniteOptions(workspace: PubNioWorkspaceClient, o
|
|
|
26308
26348
|
readonly name: string | null;
|
|
26309
26349
|
readonly prefix: string | null;
|
|
26310
26350
|
};
|
|
26311
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26351
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26312
26352
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26313
26353
|
readonly targetId: string;
|
|
26314
26354
|
readonly detail: {
|
|
@@ -26334,7 +26374,7 @@ export declare function auditInfiniteOptions(workspace: PubNioWorkspaceClient, o
|
|
|
26334
26374
|
readonly name: string | null;
|
|
26335
26375
|
readonly prefix: string | null;
|
|
26336
26376
|
};
|
|
26337
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26377
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26338
26378
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26339
26379
|
readonly targetId: string;
|
|
26340
26380
|
readonly detail: {
|
|
@@ -26368,7 +26408,7 @@ export declare function auditInfiniteOptions(workspace: PubNioWorkspaceClient, o
|
|
|
26368
26408
|
readonly name: string | null;
|
|
26369
26409
|
readonly prefix: string | null;
|
|
26370
26410
|
};
|
|
26371
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26411
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26372
26412
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26373
26413
|
readonly targetId: string;
|
|
26374
26414
|
readonly detail: {
|
|
@@ -26394,7 +26434,7 @@ export declare function auditGetOptions(workspace: PubNioWorkspaceClient, eventI
|
|
|
26394
26434
|
readonly name: string | null;
|
|
26395
26435
|
readonly prefix: string | null;
|
|
26396
26436
|
};
|
|
26397
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26437
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26398
26438
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26399
26439
|
readonly targetId: string;
|
|
26400
26440
|
readonly detail: {
|
|
@@ -26416,7 +26456,7 @@ export declare function auditGetOptions(workspace: PubNioWorkspaceClient, eventI
|
|
|
26416
26456
|
readonly name: string | null;
|
|
26417
26457
|
readonly prefix: string | null;
|
|
26418
26458
|
};
|
|
26419
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26459
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26420
26460
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26421
26461
|
readonly targetId: string;
|
|
26422
26462
|
readonly detail: {
|
|
@@ -26446,7 +26486,7 @@ export declare function auditGetOptions(workspace: PubNioWorkspaceClient, eventI
|
|
|
26446
26486
|
readonly name: string | null;
|
|
26447
26487
|
readonly prefix: string | null;
|
|
26448
26488
|
};
|
|
26449
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26489
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26450
26490
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26451
26491
|
readonly targetId: string;
|
|
26452
26492
|
readonly detail: {
|
|
@@ -26468,7 +26508,7 @@ export declare function auditGetOptions(workspace: PubNioWorkspaceClient, eventI
|
|
|
26468
26508
|
readonly name: string | null;
|
|
26469
26509
|
readonly prefix: string | null;
|
|
26470
26510
|
};
|
|
26471
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26511
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26472
26512
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26473
26513
|
readonly targetId: string;
|
|
26474
26514
|
readonly detail: {
|
|
@@ -26498,7 +26538,7 @@ export declare function auditGetOptions(workspace: PubNioWorkspaceClient, eventI
|
|
|
26498
26538
|
readonly name: string | null;
|
|
26499
26539
|
readonly prefix: string | null;
|
|
26500
26540
|
};
|
|
26501
|
-
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26541
|
+
readonly action: "workspace.updated" | "workspace.archived" | "workspace.member.role_updated" | "workspace.member.removed" | "workspace.invite.created" | "workspace.invite.resent" | "workspace.invite.revoked" | "workspace.invite.accepted" | "workspace.invite.declined" | "api_key.created" | "api_key.updated" | "api_key.revoked" | "webhook.endpoint.created" | "webhook.endpoint.updated" | "webhook.endpoint.deleted" | "webhook.delivery.replayed" | "account.connected" | "account.reconnected" | "account.disconnected" | "account.deleted" | "account.enabled" | "account.disabled" | "account.moved" | "profile.created" | "profile.updated" | "profile.archived" | "queue.created" | "queue.updated" | "queue.paused" | "queue.resumed" | "queue.archived" | "queue.slots.replaced" | "queue.skip.created" | "queue.skip.deleted" | "queue.blackout.created" | "queue.blackout.deleted" | "billing.subscription.updated" | "billing.credit.topped_up" | "billing.spend_controls.updated";
|
|
26502
26542
|
readonly targetKind: "workspace" | "workspace_member" | "workspace_invite" | "workspace_profile" | "api_key" | "webhook_endpoint" | "webhook_delivery" | "integration_connection" | "provider_account" | "schedule_queue" | "schedule_queue_skip" | "schedule_queue_blackout" | "workspace_billing";
|
|
26503
26543
|
readonly targetId: string;
|
|
26504
26544
|
readonly detail: {
|
package/dist/solid.js
CHANGED
|
@@ -101,6 +101,7 @@ __export(exports_sdk_gen, {
|
|
|
101
101
|
inboxUnreadCount: () => inboxUnreadCount,
|
|
102
102
|
integrationsBlueskySession: () => integrationsBlueskySession,
|
|
103
103
|
integrationsConnectionStatus: () => integrationsConnectionStatus,
|
|
104
|
+
integrationsDelete: () => integrationsDelete,
|
|
104
105
|
integrationsDisconnect: () => integrationsDisconnect,
|
|
105
106
|
integrationsGetAccount: () => integrationsGetAccount,
|
|
106
107
|
integrationsGetInstagramAudio: () => integrationsGetInstagramAudio,
|
|
@@ -848,6 +849,7 @@ var AUDIT_ACTIONS = [
|
|
|
848
849
|
"account.connected",
|
|
849
850
|
"account.reconnected",
|
|
850
851
|
"account.disconnected",
|
|
852
|
+
"account.deleted",
|
|
851
853
|
"account.enabled",
|
|
852
854
|
"account.disabled",
|
|
853
855
|
"account.moved",
|
|
@@ -1035,6 +1037,10 @@ var actionDefinitions = {
|
|
|
1035
1037
|
targetKind: "integration_connection",
|
|
1036
1038
|
description: "Provider connection disconnected and credentials cleared."
|
|
1037
1039
|
},
|
|
1040
|
+
"account.deleted": {
|
|
1041
|
+
targetKind: "integration_connection",
|
|
1042
|
+
description: "Disconnected provider grant permanently deleted with its accounts and their publishing, ads, inbox, and analytics records."
|
|
1043
|
+
},
|
|
1038
1044
|
"account.enabled": {
|
|
1039
1045
|
targetKind: "provider_account",
|
|
1040
1046
|
description: "Connected publishing destination enabled."
|
|
@@ -2137,6 +2143,8 @@ var ProviderAccount = Schema16.Struct({
|
|
|
2137
2143
|
accountKind: AccountKind,
|
|
2138
2144
|
parentAccountId: Schema16.NullOr(AccountId),
|
|
2139
2145
|
name: Schema16.String,
|
|
2146
|
+
platformUserId: Schema16.String,
|
|
2147
|
+
avatarUrl: Schema16.NullOr(Schema16.String),
|
|
2140
2148
|
enabled: Schema16.Boolean,
|
|
2141
2149
|
available: Schema16.Boolean,
|
|
2142
2150
|
details: AccountDetails,
|
|
@@ -2188,6 +2196,9 @@ var ConnectionStatus = Schema17.Union([
|
|
|
2188
2196
|
var ConnectionDisconnected = Schema17.Struct({
|
|
2189
2197
|
disconnected: Schema17.Literal(true)
|
|
2190
2198
|
});
|
|
2199
|
+
var ConnectionDeleted = Schema17.Struct({
|
|
2200
|
+
deleted: Schema17.Literal(true)
|
|
2201
|
+
});
|
|
2191
2202
|
var BlueskyConnect = Schema17.Struct({
|
|
2192
2203
|
handle: Schema17.Trim.check(Schema17.isMinLength(1), Schema17.isMaxLength(253)),
|
|
2193
2204
|
appPassword: Schema17.Trim.check(Schema17.isMinLength(1), Schema17.isMaxLength(256)),
|
|
@@ -6133,7 +6144,7 @@ import { ProblemDetails } from "effect/http";
|
|
|
6133
6144
|
// package.json
|
|
6134
6145
|
var package_default = {
|
|
6135
6146
|
name: "@pubnio/sdk",
|
|
6136
|
-
version: "0.2.
|
|
6147
|
+
version: "0.2.12",
|
|
6137
6148
|
description: "JavaScript and TypeScript client for the PubNio API",
|
|
6138
6149
|
type: "module",
|
|
6139
6150
|
exports: {
|
|
@@ -7371,6 +7382,11 @@ var integrationsDisconnect = (options) => (options.client ?? client).delete({
|
|
|
7371
7382
|
url: "/api/v1/integrations/connections/{connectionId}",
|
|
7372
7383
|
...options
|
|
7373
7384
|
});
|
|
7385
|
+
var integrationsDelete = (options) => (options.client ?? client).delete({
|
|
7386
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
7387
|
+
url: "/api/v1/integrations/connections/{connectionId}/permanent",
|
|
7388
|
+
...options
|
|
7389
|
+
});
|
|
7374
7390
|
var profilesList = (options) => (options.client ?? client).get({
|
|
7375
7391
|
security: [{ scheme: "bearer", type: "http" }],
|
|
7376
7392
|
url: "/api/v1/profiles",
|
|
@@ -9509,6 +9525,12 @@ function createPubNioClient({
|
|
|
9509
9525
|
query: { workspaceId },
|
|
9510
9526
|
...transport()
|
|
9511
9527
|
})),
|
|
9528
|
+
delete: (connectionId) => decode(ConnectionDeleted, integrationsDelete({
|
|
9529
|
+
client,
|
|
9530
|
+
path: { connectionId },
|
|
9531
|
+
query: { workspaceId },
|
|
9532
|
+
...transport()
|
|
9533
|
+
})),
|
|
9512
9534
|
instagramPublishingLimit: (accountId) => decode(InstagramPublishingLimit, integrationsInstagramPublishingLimit({
|
|
9513
9535
|
client,
|
|
9514
9536
|
path: { accountId },
|
|
@@ -10679,6 +10701,16 @@ function accountsConnectMutation(workspace) {
|
|
|
10679
10701
|
mutationFn: (input) => workspace.accounts.prepareConnection(input.provider, input.loginMethod)
|
|
10680
10702
|
});
|
|
10681
10703
|
}
|
|
10704
|
+
function accountsDeleteMutation(workspace) {
|
|
10705
|
+
return mutationOptions({
|
|
10706
|
+
mutationFn: (connectionId) => workspace.accounts.delete(connectionId),
|
|
10707
|
+
onSuccess: (_data, _input, _result, { client: queryClient }) => {
|
|
10708
|
+
queryClient.invalidateQueries({
|
|
10709
|
+
queryKey: accountsKey(workspace.workspaceId)
|
|
10710
|
+
});
|
|
10711
|
+
}
|
|
10712
|
+
});
|
|
10713
|
+
}
|
|
10682
10714
|
function accountsDisconnectMutation(workspace) {
|
|
10683
10715
|
return mutationOptions({
|
|
10684
10716
|
mutationFn: (connectionId) => workspace.accounts.disconnect(connectionId),
|
|
@@ -11953,6 +11985,7 @@ function billingSpendControlsMutation(workspace) {
|
|
|
11953
11985
|
}
|
|
11954
11986
|
export {
|
|
11955
11987
|
accountsConnectMutation,
|
|
11988
|
+
accountsDeleteMutation,
|
|
11956
11989
|
accountsDisconnectMutation,
|
|
11957
11990
|
accountsGetOptions,
|
|
11958
11991
|
accountsListOptions,
|