@supernova-studio/client 0.55.11 → 0.55.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.d.mts +182 -0
- package/dist/index.d.ts +182 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/endpoints/workspace-invites.ts +7 -1
package/dist/index.d.mts
CHANGED
|
@@ -48148,6 +48148,188 @@ declare class WorkspaceInvitationsEndpoint {
|
|
|
48148
48148
|
resentAt?: Date | null | undefined;
|
|
48149
48149
|
}[];
|
|
48150
48150
|
}>;
|
|
48151
|
+
delete(workspaceId: string, invitationId: string): Promise<{
|
|
48152
|
+
workspace: {
|
|
48153
|
+
id: string;
|
|
48154
|
+
profile: {
|
|
48155
|
+
name: string;
|
|
48156
|
+
color: string;
|
|
48157
|
+
handle: string;
|
|
48158
|
+
avatar?: string | undefined;
|
|
48159
|
+
billingDetails?: {
|
|
48160
|
+
address?: {
|
|
48161
|
+
street1?: string | undefined;
|
|
48162
|
+
street2?: string | undefined;
|
|
48163
|
+
city?: string | undefined;
|
|
48164
|
+
postal?: string | undefined;
|
|
48165
|
+
country?: string | undefined;
|
|
48166
|
+
state?: string | undefined;
|
|
48167
|
+
} | undefined;
|
|
48168
|
+
email?: string | undefined;
|
|
48169
|
+
companyName?: string | undefined;
|
|
48170
|
+
companyId?: string | undefined;
|
|
48171
|
+
notes?: string | undefined;
|
|
48172
|
+
vat?: string | undefined;
|
|
48173
|
+
poNumber?: string | undefined;
|
|
48174
|
+
} | undefined;
|
|
48175
|
+
};
|
|
48176
|
+
subscription: {
|
|
48177
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
48178
|
+
planPriceId: string;
|
|
48179
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
48180
|
+
seats: number;
|
|
48181
|
+
seatLimit: number;
|
|
48182
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
48183
|
+
card?: {
|
|
48184
|
+
cardId?: string | null | undefined;
|
|
48185
|
+
last4?: string | null | undefined;
|
|
48186
|
+
expiryMonth?: string | null | undefined;
|
|
48187
|
+
expiryYear?: string | null | undefined;
|
|
48188
|
+
brand?: string | null | undefined;
|
|
48189
|
+
name?: string | null | undefined;
|
|
48190
|
+
} | undefined;
|
|
48191
|
+
amount?: number | null | undefined;
|
|
48192
|
+
stripeProductDescription?: string | undefined;
|
|
48193
|
+
isPricePerCreator?: boolean | undefined;
|
|
48194
|
+
isTrial?: boolean | undefined;
|
|
48195
|
+
legacyVersion?: string | undefined;
|
|
48196
|
+
stripeProductFeatures?: string[] | undefined;
|
|
48197
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
48198
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
48199
|
+
stripeCustomerId?: string | null | undefined;
|
|
48200
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
48201
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
48202
|
+
featuresSummary?: {
|
|
48203
|
+
designSystems: {
|
|
48204
|
+
max: number;
|
|
48205
|
+
errorMessage: string;
|
|
48206
|
+
errorReason: string;
|
|
48207
|
+
};
|
|
48208
|
+
designSystemSources: {
|
|
48209
|
+
max: number;
|
|
48210
|
+
errorMessage: string;
|
|
48211
|
+
errorReason: string;
|
|
48212
|
+
noImportJobsErrorMessage: string;
|
|
48213
|
+
noImportJobsErrorReason: string;
|
|
48214
|
+
};
|
|
48215
|
+
designSystemVersions: {
|
|
48216
|
+
max: number;
|
|
48217
|
+
errorMessage: string;
|
|
48218
|
+
errorReason: string;
|
|
48219
|
+
};
|
|
48220
|
+
themes: {
|
|
48221
|
+
max: number;
|
|
48222
|
+
errorMessage: string;
|
|
48223
|
+
errorReason: string;
|
|
48224
|
+
};
|
|
48225
|
+
brands: {
|
|
48226
|
+
max: number;
|
|
48227
|
+
errorMessage: string;
|
|
48228
|
+
errorReason: string;
|
|
48229
|
+
};
|
|
48230
|
+
codegenSchedules: {
|
|
48231
|
+
max: number;
|
|
48232
|
+
errorMessage: string;
|
|
48233
|
+
errorReason: string;
|
|
48234
|
+
};
|
|
48235
|
+
publicDocumentation: {
|
|
48236
|
+
errorMessage: string;
|
|
48237
|
+
errorReason: string;
|
|
48238
|
+
enabled: boolean;
|
|
48239
|
+
};
|
|
48240
|
+
customDocumentationUrl: {
|
|
48241
|
+
errorMessage: string;
|
|
48242
|
+
errorReason: string;
|
|
48243
|
+
enabled: boolean;
|
|
48244
|
+
};
|
|
48245
|
+
customDocumentationViewButton: {
|
|
48246
|
+
errorMessage: string;
|
|
48247
|
+
errorReason: string;
|
|
48248
|
+
enabled: boolean;
|
|
48249
|
+
};
|
|
48250
|
+
designSystemSourceAutoImport: {
|
|
48251
|
+
errorMessage: string;
|
|
48252
|
+
errorReason: string;
|
|
48253
|
+
enabled: boolean;
|
|
48254
|
+
};
|
|
48255
|
+
designSystemSlug: {
|
|
48256
|
+
errorMessage: string;
|
|
48257
|
+
errorReason: string;
|
|
48258
|
+
enabled: boolean;
|
|
48259
|
+
};
|
|
48260
|
+
ipWhitelisting: {
|
|
48261
|
+
errorMessage: string;
|
|
48262
|
+
errorReason: string;
|
|
48263
|
+
enabled: boolean;
|
|
48264
|
+
};
|
|
48265
|
+
npmRegistry: {
|
|
48266
|
+
errorMessage: string;
|
|
48267
|
+
errorReason: string;
|
|
48268
|
+
enabled: boolean;
|
|
48269
|
+
};
|
|
48270
|
+
sso: {
|
|
48271
|
+
errorMessage: string;
|
|
48272
|
+
errorReason: string;
|
|
48273
|
+
enabled: boolean;
|
|
48274
|
+
};
|
|
48275
|
+
workspacePaidSeats: {
|
|
48276
|
+
max: number;
|
|
48277
|
+
errorMessage: string;
|
|
48278
|
+
errorReason: string;
|
|
48279
|
+
};
|
|
48280
|
+
workspaceViewers: {
|
|
48281
|
+
max: number;
|
|
48282
|
+
errorMessage: string;
|
|
48283
|
+
errorReason: string;
|
|
48284
|
+
};
|
|
48285
|
+
customDocumentationExporter: {
|
|
48286
|
+
errorMessage: string;
|
|
48287
|
+
errorReason: string;
|
|
48288
|
+
enabled: boolean;
|
|
48289
|
+
};
|
|
48290
|
+
protectedPages: {
|
|
48291
|
+
errorMessage: string;
|
|
48292
|
+
errorReason: string;
|
|
48293
|
+
enabled: boolean;
|
|
48294
|
+
};
|
|
48295
|
+
approvals: {
|
|
48296
|
+
errorMessage: string;
|
|
48297
|
+
errorReason: string;
|
|
48298
|
+
enabled: boolean;
|
|
48299
|
+
};
|
|
48300
|
+
selectivePublishing: {
|
|
48301
|
+
errorMessage: string;
|
|
48302
|
+
errorReason: string;
|
|
48303
|
+
enabled: boolean;
|
|
48304
|
+
};
|
|
48305
|
+
designSystemAccessModes: {
|
|
48306
|
+
errorMessage: string;
|
|
48307
|
+
errorReason: string;
|
|
48308
|
+
enabled: boolean;
|
|
48309
|
+
};
|
|
48310
|
+
} | undefined;
|
|
48311
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
48312
|
+
currentPeriodStart?: string | undefined;
|
|
48313
|
+
currentPeriodEnd?: string | undefined;
|
|
48314
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
48315
|
+
cancelAt?: string | null | undefined;
|
|
48316
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
48317
|
+
daysUntilDue?: number | undefined;
|
|
48318
|
+
};
|
|
48319
|
+
npmRegistry?: {
|
|
48320
|
+
enabledScopes: string[];
|
|
48321
|
+
bypassProxy: boolean;
|
|
48322
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
48323
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
48324
|
+
registryUrl: string;
|
|
48325
|
+
proxyUrl: string;
|
|
48326
|
+
customRegistryUrl?: string | undefined;
|
|
48327
|
+
accessToken?: string | undefined;
|
|
48328
|
+
username?: string | undefined;
|
|
48329
|
+
password?: string | undefined;
|
|
48330
|
+
} | undefined;
|
|
48331
|
+
};
|
|
48332
|
+
}>;
|
|
48151
48333
|
}
|
|
48152
48334
|
|
|
48153
48335
|
declare class WorkspaceMembersEndpoint {
|
package/dist/index.d.ts
CHANGED
|
@@ -48148,6 +48148,188 @@ declare class WorkspaceInvitationsEndpoint {
|
|
|
48148
48148
|
resentAt?: Date | null | undefined;
|
|
48149
48149
|
}[];
|
|
48150
48150
|
}>;
|
|
48151
|
+
delete(workspaceId: string, invitationId: string): Promise<{
|
|
48152
|
+
workspace: {
|
|
48153
|
+
id: string;
|
|
48154
|
+
profile: {
|
|
48155
|
+
name: string;
|
|
48156
|
+
color: string;
|
|
48157
|
+
handle: string;
|
|
48158
|
+
avatar?: string | undefined;
|
|
48159
|
+
billingDetails?: {
|
|
48160
|
+
address?: {
|
|
48161
|
+
street1?: string | undefined;
|
|
48162
|
+
street2?: string | undefined;
|
|
48163
|
+
city?: string | undefined;
|
|
48164
|
+
postal?: string | undefined;
|
|
48165
|
+
country?: string | undefined;
|
|
48166
|
+
state?: string | undefined;
|
|
48167
|
+
} | undefined;
|
|
48168
|
+
email?: string | undefined;
|
|
48169
|
+
companyName?: string | undefined;
|
|
48170
|
+
companyId?: string | undefined;
|
|
48171
|
+
notes?: string | undefined;
|
|
48172
|
+
vat?: string | undefined;
|
|
48173
|
+
poNumber?: string | undefined;
|
|
48174
|
+
} | undefined;
|
|
48175
|
+
};
|
|
48176
|
+
subscription: {
|
|
48177
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
48178
|
+
planPriceId: string;
|
|
48179
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
48180
|
+
seats: number;
|
|
48181
|
+
seatLimit: number;
|
|
48182
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
48183
|
+
card?: {
|
|
48184
|
+
cardId?: string | null | undefined;
|
|
48185
|
+
last4?: string | null | undefined;
|
|
48186
|
+
expiryMonth?: string | null | undefined;
|
|
48187
|
+
expiryYear?: string | null | undefined;
|
|
48188
|
+
brand?: string | null | undefined;
|
|
48189
|
+
name?: string | null | undefined;
|
|
48190
|
+
} | undefined;
|
|
48191
|
+
amount?: number | null | undefined;
|
|
48192
|
+
stripeProductDescription?: string | undefined;
|
|
48193
|
+
isPricePerCreator?: boolean | undefined;
|
|
48194
|
+
isTrial?: boolean | undefined;
|
|
48195
|
+
legacyVersion?: string | undefined;
|
|
48196
|
+
stripeProductFeatures?: string[] | undefined;
|
|
48197
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
48198
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
48199
|
+
stripeCustomerId?: string | null | undefined;
|
|
48200
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
48201
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
48202
|
+
featuresSummary?: {
|
|
48203
|
+
designSystems: {
|
|
48204
|
+
max: number;
|
|
48205
|
+
errorMessage: string;
|
|
48206
|
+
errorReason: string;
|
|
48207
|
+
};
|
|
48208
|
+
designSystemSources: {
|
|
48209
|
+
max: number;
|
|
48210
|
+
errorMessage: string;
|
|
48211
|
+
errorReason: string;
|
|
48212
|
+
noImportJobsErrorMessage: string;
|
|
48213
|
+
noImportJobsErrorReason: string;
|
|
48214
|
+
};
|
|
48215
|
+
designSystemVersions: {
|
|
48216
|
+
max: number;
|
|
48217
|
+
errorMessage: string;
|
|
48218
|
+
errorReason: string;
|
|
48219
|
+
};
|
|
48220
|
+
themes: {
|
|
48221
|
+
max: number;
|
|
48222
|
+
errorMessage: string;
|
|
48223
|
+
errorReason: string;
|
|
48224
|
+
};
|
|
48225
|
+
brands: {
|
|
48226
|
+
max: number;
|
|
48227
|
+
errorMessage: string;
|
|
48228
|
+
errorReason: string;
|
|
48229
|
+
};
|
|
48230
|
+
codegenSchedules: {
|
|
48231
|
+
max: number;
|
|
48232
|
+
errorMessage: string;
|
|
48233
|
+
errorReason: string;
|
|
48234
|
+
};
|
|
48235
|
+
publicDocumentation: {
|
|
48236
|
+
errorMessage: string;
|
|
48237
|
+
errorReason: string;
|
|
48238
|
+
enabled: boolean;
|
|
48239
|
+
};
|
|
48240
|
+
customDocumentationUrl: {
|
|
48241
|
+
errorMessage: string;
|
|
48242
|
+
errorReason: string;
|
|
48243
|
+
enabled: boolean;
|
|
48244
|
+
};
|
|
48245
|
+
customDocumentationViewButton: {
|
|
48246
|
+
errorMessage: string;
|
|
48247
|
+
errorReason: string;
|
|
48248
|
+
enabled: boolean;
|
|
48249
|
+
};
|
|
48250
|
+
designSystemSourceAutoImport: {
|
|
48251
|
+
errorMessage: string;
|
|
48252
|
+
errorReason: string;
|
|
48253
|
+
enabled: boolean;
|
|
48254
|
+
};
|
|
48255
|
+
designSystemSlug: {
|
|
48256
|
+
errorMessage: string;
|
|
48257
|
+
errorReason: string;
|
|
48258
|
+
enabled: boolean;
|
|
48259
|
+
};
|
|
48260
|
+
ipWhitelisting: {
|
|
48261
|
+
errorMessage: string;
|
|
48262
|
+
errorReason: string;
|
|
48263
|
+
enabled: boolean;
|
|
48264
|
+
};
|
|
48265
|
+
npmRegistry: {
|
|
48266
|
+
errorMessage: string;
|
|
48267
|
+
errorReason: string;
|
|
48268
|
+
enabled: boolean;
|
|
48269
|
+
};
|
|
48270
|
+
sso: {
|
|
48271
|
+
errorMessage: string;
|
|
48272
|
+
errorReason: string;
|
|
48273
|
+
enabled: boolean;
|
|
48274
|
+
};
|
|
48275
|
+
workspacePaidSeats: {
|
|
48276
|
+
max: number;
|
|
48277
|
+
errorMessage: string;
|
|
48278
|
+
errorReason: string;
|
|
48279
|
+
};
|
|
48280
|
+
workspaceViewers: {
|
|
48281
|
+
max: number;
|
|
48282
|
+
errorMessage: string;
|
|
48283
|
+
errorReason: string;
|
|
48284
|
+
};
|
|
48285
|
+
customDocumentationExporter: {
|
|
48286
|
+
errorMessage: string;
|
|
48287
|
+
errorReason: string;
|
|
48288
|
+
enabled: boolean;
|
|
48289
|
+
};
|
|
48290
|
+
protectedPages: {
|
|
48291
|
+
errorMessage: string;
|
|
48292
|
+
errorReason: string;
|
|
48293
|
+
enabled: boolean;
|
|
48294
|
+
};
|
|
48295
|
+
approvals: {
|
|
48296
|
+
errorMessage: string;
|
|
48297
|
+
errorReason: string;
|
|
48298
|
+
enabled: boolean;
|
|
48299
|
+
};
|
|
48300
|
+
selectivePublishing: {
|
|
48301
|
+
errorMessage: string;
|
|
48302
|
+
errorReason: string;
|
|
48303
|
+
enabled: boolean;
|
|
48304
|
+
};
|
|
48305
|
+
designSystemAccessModes: {
|
|
48306
|
+
errorMessage: string;
|
|
48307
|
+
errorReason: string;
|
|
48308
|
+
enabled: boolean;
|
|
48309
|
+
};
|
|
48310
|
+
} | undefined;
|
|
48311
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
48312
|
+
currentPeriodStart?: string | undefined;
|
|
48313
|
+
currentPeriodEnd?: string | undefined;
|
|
48314
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
48315
|
+
cancelAt?: string | null | undefined;
|
|
48316
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
48317
|
+
daysUntilDue?: number | undefined;
|
|
48318
|
+
};
|
|
48319
|
+
npmRegistry?: {
|
|
48320
|
+
enabledScopes: string[];
|
|
48321
|
+
bypassProxy: boolean;
|
|
48322
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
48323
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
48324
|
+
registryUrl: string;
|
|
48325
|
+
proxyUrl: string;
|
|
48326
|
+
customRegistryUrl?: string | undefined;
|
|
48327
|
+
accessToken?: string | undefined;
|
|
48328
|
+
username?: string | undefined;
|
|
48329
|
+
password?: string | undefined;
|
|
48330
|
+
} | undefined;
|
|
48331
|
+
};
|
|
48332
|
+
}>;
|
|
48151
48333
|
}
|
|
48152
48334
|
|
|
48153
48335
|
declare class WorkspaceMembersEndpoint {
|
package/dist/index.js
CHANGED
|
@@ -6592,6 +6592,11 @@ var WorkspaceInvitationsEndpoint = class {
|
|
|
6592
6592
|
method: "GET"
|
|
6593
6593
|
});
|
|
6594
6594
|
}
|
|
6595
|
+
delete(workspaceId, invitationId) {
|
|
6596
|
+
return this.requestExecutor.json(`/workspaces/${workspaceId}/invitations/${invitationId}`, DTOWorkspaceResponse, {
|
|
6597
|
+
method: "DELETE"
|
|
6598
|
+
});
|
|
6599
|
+
}
|
|
6595
6600
|
};
|
|
6596
6601
|
|
|
6597
6602
|
// src/api/endpoints/workspace-members.ts
|