@stack-spot/portal-network 0.99.5 → 0.101.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.
- package/CHANGELOG.md +14 -0
- package/dist/api/account.d.ts +257 -46
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +134 -42
- package/dist/api/account.js.map +1 -1
- package/dist/api/cloudPlatform.d.ts +68 -11
- package/dist/api/cloudPlatform.d.ts.map +1 -1
- package/dist/api/cloudPlatform.js +34 -0
- package/dist/api/cloudPlatform.js.map +1 -1
- package/dist/client/account.d.ts +34 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +56 -1
- package/dist/client/account.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +23 -0
- package/dist/client/cloud-platform.d.ts.map +1 -1
- package/dist/client/cloud-platform.js +28 -1
- package/dist/client/cloud-platform.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +474 -105
- package/src/api/cloudPlatform.ts +110 -11
- package/src/client/account.ts +32 -0
- package/src/client/cloud-platform.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.101.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.100.0...portal-network@v0.101.0) (2025-03-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add queries vpn ([2e575b3](https://github.com/stack-spot/portal-commons/commit/2e575b32c592ed19f4f09d3d5bdc90a98250125b))
|
|
9
|
+
|
|
10
|
+
## [0.100.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.99.5...portal-network@v0.100.0) (2025-03-21)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add account endpoints trial ([#827](https://github.com/stack-spot/portal-commons/issues/827)) ([2527e76](https://github.com/stack-spot/portal-commons/commit/2527e76e256a6f53ddb8512b9a2cb7af19b6e4b1))
|
|
16
|
+
|
|
3
17
|
## [0.99.5](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.99.4...portal-network@v0.99.5) (2025-03-21)
|
|
4
18
|
|
|
5
19
|
|
package/dist/api/account.d.ts
CHANGED
|
@@ -575,7 +575,7 @@ export type CreateSecretRequest = {
|
|
|
575
575
|
/** Secret name */
|
|
576
576
|
name: string;
|
|
577
577
|
/** Secret description */
|
|
578
|
-
description
|
|
578
|
+
description?: string;
|
|
579
579
|
/** Secret type */
|
|
580
580
|
"type": "API_KEY" | "OAUTH" | "CERTIFICATE" | "KEY_VALUE" | "BEARER_TOKEN";
|
|
581
581
|
/** Secret scope */
|
|
@@ -891,6 +891,62 @@ export type InviteMembersResponse = {
|
|
|
891
891
|
/** Members with error */
|
|
892
892
|
errors: string[];
|
|
893
893
|
};
|
|
894
|
+
export type PersonalLeadRequest = {
|
|
895
|
+
/** Lead name */
|
|
896
|
+
name: string;
|
|
897
|
+
/** Lead email */
|
|
898
|
+
email: string;
|
|
899
|
+
/** Lead phone number */
|
|
900
|
+
phone: string;
|
|
901
|
+
/** Preferred contact method */
|
|
902
|
+
contactPreference: "EMAIL" | "PHONE";
|
|
903
|
+
/** Contact reason */
|
|
904
|
+
reason: string;
|
|
905
|
+
};
|
|
906
|
+
export type LeadResponse = {
|
|
907
|
+
/** Unique identifier of the lead. */
|
|
908
|
+
id: string;
|
|
909
|
+
/** Type of the lead, indicating whether it is a personal or enterprise lead. */
|
|
910
|
+
"type": "PERSONAL" | "ENTERPRISE";
|
|
911
|
+
/** Full name of the lead. */
|
|
912
|
+
name: string;
|
|
913
|
+
/** Email address of the lead. */
|
|
914
|
+
email: string;
|
|
915
|
+
/** Phone number of the lead, including country code if applicable. */
|
|
916
|
+
phone: string;
|
|
917
|
+
/** Reason for the lead's contact or inquiry. */
|
|
918
|
+
reason: string;
|
|
919
|
+
/** Name of the company associated with the lead, if applicable. */
|
|
920
|
+
companyName?: string | null;
|
|
921
|
+
/** Industry of the company associated with the lead, if applicable. */
|
|
922
|
+
companyIndustry?: string | null;
|
|
923
|
+
/** Size of the team in the company associated with the lead, if applicable. */
|
|
924
|
+
teamSize?: string | null;
|
|
925
|
+
/** Preferred contact method. */
|
|
926
|
+
contactPreference?: ("EMAIL" | "PHONE") | null;
|
|
927
|
+
/** Timestamp when the lead was created. */
|
|
928
|
+
createdAt: string;
|
|
929
|
+
/** Timestamp when the lead was last updated, if applicable. */
|
|
930
|
+
updatedAt?: string | null;
|
|
931
|
+
/** Timestamp when the lead was deleted, if applicable. */
|
|
932
|
+
deletedAt?: string | null;
|
|
933
|
+
};
|
|
934
|
+
export type EnterpriseLeadRequest = {
|
|
935
|
+
/** Lead name */
|
|
936
|
+
name: string;
|
|
937
|
+
/** Lead email */
|
|
938
|
+
email: string;
|
|
939
|
+
/** Lead phone number */
|
|
940
|
+
phone: string;
|
|
941
|
+
/** Company name */
|
|
942
|
+
companyName: string;
|
|
943
|
+
/** Company industry */
|
|
944
|
+
companyIndustry: string;
|
|
945
|
+
/** Team size */
|
|
946
|
+
teamSize: string;
|
|
947
|
+
/** Contact reason */
|
|
948
|
+
reason: string;
|
|
949
|
+
};
|
|
894
950
|
export type CreateUserInvitationRequest = {
|
|
895
951
|
/** User email */
|
|
896
952
|
email: string;
|
|
@@ -1172,6 +1228,28 @@ export type CreateAccountOrderRequest = {
|
|
|
1172
1228
|
/** Email list of the sales representatives responsible for this request. */
|
|
1173
1229
|
salesRepresentatives: string[];
|
|
1174
1230
|
};
|
|
1231
|
+
export type AccountTrialCreateRequest = {
|
|
1232
|
+
/** The slug to use in URL as unique identifying part representing the account (https://developer.mozilla.org/en-US/docs/Glossary/Slug). Example: zup */
|
|
1233
|
+
slug: string;
|
|
1234
|
+
/** The full name of the person who is creating a trial account */
|
|
1235
|
+
fullName: string;
|
|
1236
|
+
/** The company name where the trial user is related */
|
|
1237
|
+
companyName?: string;
|
|
1238
|
+
/** The company amount of people where the trial user is related */
|
|
1239
|
+
companySize?: string;
|
|
1240
|
+
/** The position occupied in the company by the trial user */
|
|
1241
|
+
companyPositionType?: "DEVELOPER" | "PROJECT_MANAGER" | "DESIGNER" | "DATA_ANALYST" | "PRODUCT_OWNER" | "SOFTWARE_ENGINEER" | "DEVOPS_SPECIALIST" | "QUALITY_ANALYST" | "SCRUM_MASTER" | "BUSINESS_AREA" | "INFORMATION_SECURITY" | "OTHER";
|
|
1242
|
+
/** The custom position occupied in the company by the trial user */
|
|
1243
|
+
otherPosition?: string;
|
|
1244
|
+
/** The channel used for the trial user to reach Stackspot */
|
|
1245
|
+
reachedBy?: "GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER";
|
|
1246
|
+
/** The custom channel used for the trial user to reach Stackspot */
|
|
1247
|
+
customReachedBy?: string;
|
|
1248
|
+
};
|
|
1249
|
+
export type AccountCollaboratorRequest = {
|
|
1250
|
+
/** The API id of account requester */
|
|
1251
|
+
accountApiId: string;
|
|
1252
|
+
};
|
|
1175
1253
|
export type PageResponseAccountSsoGroupMappingResponse = {
|
|
1176
1254
|
/** Current page content */
|
|
1177
1255
|
items?: AccountSsoGroupMappingResponse[];
|
|
@@ -1266,16 +1344,6 @@ export type AccountSsoParserResponse = {
|
|
|
1266
1344
|
/** SSO callback url */
|
|
1267
1345
|
callbackUrl?: string;
|
|
1268
1346
|
};
|
|
1269
|
-
export type AccountFreemiumCreateRequest = {
|
|
1270
|
-
/** The account's name. Example: Zup IT Innovation */
|
|
1271
|
-
name: string;
|
|
1272
|
-
/** The slug to use in URL as unique identifying part representing the account (https://developer.mozilla.org/en-US/docs/Glossary/Slug). Example: zup */
|
|
1273
|
-
slug: string;
|
|
1274
|
-
};
|
|
1275
|
-
export type AccountCollaboratorRequest = {
|
|
1276
|
-
/** The API id of account requester */
|
|
1277
|
-
accountApiId: string;
|
|
1278
|
-
};
|
|
1279
1347
|
export type CreateAccountPartnerOrderRequest = {
|
|
1280
1348
|
/** The account's name. Example: Zup IT Innovation */
|
|
1281
1349
|
name: string;
|
|
@@ -1311,6 +1379,43 @@ export type UpdateServiceCredentialScopesRequest = {
|
|
|
1311
1379
|
/** Service credential statements */
|
|
1312
1380
|
scopes: string[];
|
|
1313
1381
|
};
|
|
1382
|
+
export type ServiceCredentialRateLimitResponse = {
|
|
1383
|
+
/** Service Credential ID */
|
|
1384
|
+
serviceCredentialId?: string;
|
|
1385
|
+
apiId?: string;
|
|
1386
|
+
/** When was created */
|
|
1387
|
+
createdAt?: string;
|
|
1388
|
+
/** Who created */
|
|
1389
|
+
createdBy?: string;
|
|
1390
|
+
/** Who updated */
|
|
1391
|
+
updatedBy?: string;
|
|
1392
|
+
/** When was updated */
|
|
1393
|
+
updatedAt?: string;
|
|
1394
|
+
/** Limit of executions per minute */
|
|
1395
|
+
scMaxPerMin: number;
|
|
1396
|
+
/** Limit of executions per day */
|
|
1397
|
+
scMaxPerDay: number;
|
|
1398
|
+
};
|
|
1399
|
+
export type PageResponseServiceCredentialRateLimitResponse = {
|
|
1400
|
+
/** Current page content */
|
|
1401
|
+
items?: ServiceCredentialRateLimitResponse[];
|
|
1402
|
+
/** Total elements found */
|
|
1403
|
+
totalElements: number;
|
|
1404
|
+
/** Current page number */
|
|
1405
|
+
page: number;
|
|
1406
|
+
/** Length of current page items */
|
|
1407
|
+
size: number;
|
|
1408
|
+
/** Total pages found */
|
|
1409
|
+
totalPages: number;
|
|
1410
|
+
};
|
|
1411
|
+
export type ServiceCredentialRateLimitRequest = {
|
|
1412
|
+
/** Limit of executions per minute */
|
|
1413
|
+
scMaxPerMin?: number;
|
|
1414
|
+
/** Limit of executions per day */
|
|
1415
|
+
scMaxPerDay?: number;
|
|
1416
|
+
/** List of service credentials IDs */
|
|
1417
|
+
serviceCredentialIds: string[];
|
|
1418
|
+
};
|
|
1314
1419
|
export type DeleteMemberPermissionsRequest = {
|
|
1315
1420
|
/** Permission Action */
|
|
1316
1421
|
actionName: string;
|
|
@@ -1431,6 +1536,22 @@ export type AddNewEmailDomainRequest = {
|
|
|
1431
1536
|
/** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
|
|
1432
1537
|
domains: string[];
|
|
1433
1538
|
};
|
|
1539
|
+
export type AccountTrialUpdateRequest = {
|
|
1540
|
+
/** The full name of the person who is creating a trial account */
|
|
1541
|
+
fullName?: string;
|
|
1542
|
+
/** The company name where the trial user is related */
|
|
1543
|
+
companyName?: string;
|
|
1544
|
+
/** The company amount of people where the trial user is related */
|
|
1545
|
+
companySize?: string;
|
|
1546
|
+
/** The position occupied in the company by the trial user */
|
|
1547
|
+
companyPositionType?: "DEVELOPER" | "PROJECT_MANAGER" | "DESIGNER" | "DATA_ANALYST" | "PRODUCT_OWNER" | "SOFTWARE_ENGINEER" | "DEVOPS_SPECIALIST" | "QUALITY_ANALYST" | "SCRUM_MASTER" | "BUSINESS_AREA" | "INFORMATION_SECURITY" | "OTHER";
|
|
1548
|
+
/** The custom position occupied in the company by the trial user */
|
|
1549
|
+
otherPosition?: string;
|
|
1550
|
+
/** The channel used for the trial user to reach Stackspot */
|
|
1551
|
+
reachedBy?: "GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER";
|
|
1552
|
+
/** The custom channel used for the trial user to reach Stackspot */
|
|
1553
|
+
customReachedBy?: string;
|
|
1554
|
+
};
|
|
1434
1555
|
export type AccountSsoAttributesConfigResponse = {
|
|
1435
1556
|
/** Id from SSO */
|
|
1436
1557
|
id: string;
|
|
@@ -1814,6 +1935,42 @@ export type AccountSlugResponse = {
|
|
|
1814
1935
|
/** Account slug */
|
|
1815
1936
|
slug: string;
|
|
1816
1937
|
};
|
|
1938
|
+
export type PersonalAccountDetailsResponse = {
|
|
1939
|
+
/** Unique identifier of the personal account. */
|
|
1940
|
+
id: number;
|
|
1941
|
+
/** Unique identifier of the associated account. */
|
|
1942
|
+
accountId: string;
|
|
1943
|
+
/** Full name of the account owner. */
|
|
1944
|
+
fullName: string;
|
|
1945
|
+
/** Name of the company associated with the account. */
|
|
1946
|
+
companyName?: string | null;
|
|
1947
|
+
/** Size of the company associated with the account. */
|
|
1948
|
+
companySize?: string | null;
|
|
1949
|
+
/** Position of the account owner in the company. */
|
|
1950
|
+
companyPosition?: ("DEVELOPER" | "PROJECT_MANAGER" | "DESIGNER" | "DATA_ANALYST" | "PRODUCT_OWNER" | "SOFTWARE_ENGINEER" | "DEVOPS_SPECIALIST" | "QUALITY_ANALYST" | "SCRUM_MASTER" | "BUSINESS_AREA" | "INFORMATION_SECURITY" | "OTHER") | null;
|
|
1951
|
+
/** Custom position of the account owner in the company, if not listed. */
|
|
1952
|
+
otherPosition?: string | null;
|
|
1953
|
+
/** How the account owner was reached. */
|
|
1954
|
+
reachedBy?: ("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER") | null;
|
|
1955
|
+
/** Custom description of how the account owner was reached, if not listed. */
|
|
1956
|
+
customReachedBy?: string | null;
|
|
1957
|
+
/** Date and time until the account is valid. */
|
|
1958
|
+
validUntil: string;
|
|
1959
|
+
};
|
|
1960
|
+
export type PersonalAccountExpirationDataResponse = {
|
|
1961
|
+
/** Account id */
|
|
1962
|
+
accountId: string;
|
|
1963
|
+
/** Account name */
|
|
1964
|
+
name: string;
|
|
1965
|
+
/** Account remaining trial days */
|
|
1966
|
+
remainingTrialDays: number;
|
|
1967
|
+
/** Date that trial Account will be blocked */
|
|
1968
|
+
validUntil: string;
|
|
1969
|
+
};
|
|
1970
|
+
export type AccountDataAvailableResponse = {
|
|
1971
|
+
/** Account data (name and slug) is available to be registered */
|
|
1972
|
+
available: boolean;
|
|
1973
|
+
};
|
|
1817
1974
|
export type AccountSsoResponse = {
|
|
1818
1975
|
/** SSO configuration name */
|
|
1819
1976
|
name: string;
|
|
@@ -1847,10 +2004,6 @@ export type PageResponseAccountSsoResponse = {
|
|
|
1847
2004
|
/** Total pages found */
|
|
1848
2005
|
totalPages: number;
|
|
1849
2006
|
};
|
|
1850
|
-
export type AccountDataAvailableResponse = {
|
|
1851
|
-
/** Account data (name and slug) is available to be registered */
|
|
1852
|
-
available: boolean;
|
|
1853
|
-
};
|
|
1854
2007
|
export type AccountPartnerResponse = {
|
|
1855
2008
|
/** Account id */
|
|
1856
2009
|
accountApiId: string;
|
|
@@ -2102,7 +2255,7 @@ export declare function createServiceCredential({ serviceCredentialCreateRequest
|
|
|
2102
2255
|
serviceCredentialCreateRequestV2: ServiceCredentialCreateRequestV2;
|
|
2103
2256
|
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponseV2>;
|
|
2104
2257
|
/**
|
|
2105
|
-
*
|
|
2258
|
+
* Get Service Credentials
|
|
2106
2259
|
*/
|
|
2107
2260
|
export declare function getServiceCredentials1({ name, status, page, size }: {
|
|
2108
2261
|
name?: string;
|
|
@@ -2111,13 +2264,13 @@ export declare function getServiceCredentials1({ name, status, page, size }: {
|
|
|
2111
2264
|
size?: string;
|
|
2112
2265
|
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialResponse[]>;
|
|
2113
2266
|
/**
|
|
2114
|
-
*
|
|
2267
|
+
* Create Service Credential
|
|
2115
2268
|
*/
|
|
2116
2269
|
export declare function createServiceCredential1({ serviceCredentialCreateRequest }: {
|
|
2117
2270
|
serviceCredentialCreateRequest: ServiceCredentialCreateRequest;
|
|
2118
2271
|
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialCreateResponse>;
|
|
2119
2272
|
/**
|
|
2120
|
-
*
|
|
2273
|
+
* Notify about Service Credential expiration
|
|
2121
2274
|
*/
|
|
2122
2275
|
export declare function notifyServiceCredentialExpiration({ serviceCredentialExpirationRequest }: {
|
|
2123
2276
|
serviceCredentialExpirationRequest: ServiceCredentialExpirationNotifyRequest;
|
|
@@ -2323,13 +2476,13 @@ export declare function bindToGroups({ memberId, memberIdsCommonRequest }: {
|
|
|
2323
2476
|
memberIdsCommonRequest: MemberIdsCommonRequest;
|
|
2324
2477
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2325
2478
|
/**
|
|
2326
|
-
*
|
|
2479
|
+
* Get account member favorite resources
|
|
2327
2480
|
*/
|
|
2328
2481
|
export declare function listAccountMemberFavorites({ memberId }: {
|
|
2329
2482
|
memberId: string;
|
|
2330
2483
|
}, opts?: Oazapfts.RequestOpts): Promise<FavoriteResourcesResponse[]>;
|
|
2331
2484
|
/**
|
|
2332
|
-
*
|
|
2485
|
+
* Add account member favorite resource
|
|
2333
2486
|
*/
|
|
2334
2487
|
export declare function addAccountMemberFavorite({ memberId, createFavoriteResourceRequest }: {
|
|
2335
2488
|
memberId: string;
|
|
@@ -2347,6 +2500,18 @@ export declare function resetPassword({ memberEmailRequest }: {
|
|
|
2347
2500
|
export declare function inviteMembers({ body }: {
|
|
2348
2501
|
body: InviteNewMemberRequest[];
|
|
2349
2502
|
}, opts?: Oazapfts.RequestOpts): Promise<InviteMembersResponse>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Create a personal lead contact
|
|
2505
|
+
*/
|
|
2506
|
+
export declare function personalContact({ personalLeadRequest }: {
|
|
2507
|
+
personalLeadRequest: PersonalLeadRequest;
|
|
2508
|
+
}, opts?: Oazapfts.RequestOpts): Promise<LeadResponse>;
|
|
2509
|
+
/**
|
|
2510
|
+
* Create an enterprise lead contact
|
|
2511
|
+
*/
|
|
2512
|
+
export declare function enterpriseContact({ enterpriseLeadRequest }: {
|
|
2513
|
+
enterpriseLeadRequest: EnterpriseLeadRequest;
|
|
2514
|
+
}, opts?: Oazapfts.RequestOpts): Promise<LeadResponse>;
|
|
2350
2515
|
/**
|
|
2351
2516
|
* Lists user invitations for account
|
|
2352
2517
|
*/
|
|
@@ -2583,6 +2748,22 @@ export declare function getAccounts1({ size, page, sort, direction, search, filt
|
|
|
2583
2748
|
export declare function create1({ createAccountOrderRequest }: {
|
|
2584
2749
|
createAccountOrderRequest: CreateAccountOrderRequest;
|
|
2585
2750
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2751
|
+
/**
|
|
2752
|
+
* Creates a Trial account.
|
|
2753
|
+
*/
|
|
2754
|
+
export declare function createTrialAccount({ accountTrialCreateRequest }: {
|
|
2755
|
+
accountTrialCreateRequest: AccountTrialCreateRequest;
|
|
2756
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2757
|
+
/**
|
|
2758
|
+
* Sets trial account to be removed after expiration.
|
|
2759
|
+
*/
|
|
2760
|
+
export declare function removeTrialAccount(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Adds a collaborator to an account with a specified role.
|
|
2763
|
+
*/
|
|
2764
|
+
export declare function addCollaborator({ accountCollaboratorRequest }: {
|
|
2765
|
+
accountCollaboratorRequest: AccountCollaboratorRequest;
|
|
2766
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2586
2767
|
/**
|
|
2587
2768
|
* Retrieves a list of SSO group mappings.
|
|
2588
2769
|
*/
|
|
@@ -2624,18 +2805,6 @@ export declare function ssoParseConfigurationFile({ protocol, body }: {
|
|
|
2624
2805
|
file: Blob;
|
|
2625
2806
|
};
|
|
2626
2807
|
}, opts?: Oazapfts.RequestOpts): Promise<AccountSsoParserResponse>;
|
|
2627
|
-
/**
|
|
2628
|
-
* Creates a freemium account.
|
|
2629
|
-
*/
|
|
2630
|
-
export declare function createAccountFreemium({ accountFreemiumCreateRequest }: {
|
|
2631
|
-
accountFreemiumCreateRequest: AccountFreemiumCreateRequest;
|
|
2632
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2633
|
-
/**
|
|
2634
|
-
* Adds a collaborator to an account with a specified role.
|
|
2635
|
-
*/
|
|
2636
|
-
export declare function addCollaborator({ accountCollaboratorRequest }: {
|
|
2637
|
-
accountCollaboratorRequest: AccountCollaboratorRequest;
|
|
2638
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2639
2808
|
/**
|
|
2640
2809
|
* Create an Account Order for Partner
|
|
2641
2810
|
*/
|
|
@@ -2668,6 +2837,27 @@ export declare function updateServiceCredentialScopes({ id, updateServiceCredent
|
|
|
2668
2837
|
export declare function revokeServiceCredential({ id }: {
|
|
2669
2838
|
id: string;
|
|
2670
2839
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2840
|
+
/**
|
|
2841
|
+
* Rotates the secret of a service credential.
|
|
2842
|
+
*/
|
|
2843
|
+
export declare function getAllServiceCredentialRateLimit({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }: {
|
|
2844
|
+
size?: any;
|
|
2845
|
+
page?: any;
|
|
2846
|
+
sort?: string;
|
|
2847
|
+
direction?: "ASC" | "DESC";
|
|
2848
|
+
search?: string;
|
|
2849
|
+
filterMode?: "MATCH" | "CONTAINS" | "IN";
|
|
2850
|
+
filterBy?: string;
|
|
2851
|
+
filterValue?: string;
|
|
2852
|
+
multiFilterMode?: string;
|
|
2853
|
+
filterIn?: any;
|
|
2854
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseServiceCredentialRateLimitResponse>;
|
|
2855
|
+
/**
|
|
2856
|
+
* Rotates the secret of a service credential.
|
|
2857
|
+
*/
|
|
2858
|
+
export declare function updateServiceCredentialRateLimit({ serviceCredentialRateLimitRequest }: {
|
|
2859
|
+
serviceCredentialRateLimitRequest: ServiceCredentialRateLimitRequest;
|
|
2860
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2671
2861
|
/**
|
|
2672
2862
|
* Delete a member permissions
|
|
2673
2863
|
*/
|
|
@@ -2704,7 +2894,7 @@ export declare function associateGroupToServiceCredential({ id, serviceCredentia
|
|
|
2704
2894
|
serviceCredentialAssociateGroupRequest: ServiceCredentialAssociateGroupRequest;
|
|
2705
2895
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2706
2896
|
/**
|
|
2707
|
-
*
|
|
2897
|
+
* Revoke Service Credential
|
|
2708
2898
|
*/
|
|
2709
2899
|
export declare function revokeServiceCredential1({ id }: {
|
|
2710
2900
|
id: string;
|
|
@@ -2866,6 +3056,13 @@ export declare function addNewEmailDomain({ accountId, addNewEmailDomainRequest
|
|
|
2866
3056
|
accountId: string;
|
|
2867
3057
|
addNewEmailDomainRequest: AddNewEmailDomainRequest;
|
|
2868
3058
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3059
|
+
/**
|
|
3060
|
+
* Update personal account details
|
|
3061
|
+
*/
|
|
3062
|
+
export declare function updatePersonalAccountDetails({ accountId, accountTrialUpdateRequest }: {
|
|
3063
|
+
accountId: string;
|
|
3064
|
+
accountTrialUpdateRequest: AccountTrialUpdateRequest;
|
|
3065
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2869
3066
|
/**
|
|
2870
3067
|
* Retrieves the SSO attributes configuration for a given SSO ID.
|
|
2871
3068
|
*/
|
|
@@ -2921,6 +3118,12 @@ export declare function updatePartnerAccountAdminData({ id, accountPartnerAdminD
|
|
|
2921
3118
|
export declare function getServiceCredentialGroups({ id }: {
|
|
2922
3119
|
id: string;
|
|
2923
3120
|
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseGroupReadResponse>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Rotates the secret of a service credential.
|
|
3123
|
+
*/
|
|
3124
|
+
export declare function getServiceCredentialByIdRateLimit({ clientId }: {
|
|
3125
|
+
clientId: string;
|
|
3126
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ServiceCredentialRateLimitResponse>;
|
|
2924
3127
|
/**
|
|
2925
3128
|
* Get Roles
|
|
2926
3129
|
*/
|
|
@@ -3196,7 +3399,7 @@ export declare function getAccountMembers1({ id, size, page, sort, direction, se
|
|
|
3196
3399
|
filterIn?: any;
|
|
3197
3400
|
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
|
|
3198
3401
|
/**
|
|
3199
|
-
*
|
|
3402
|
+
* Get Service Credential by ID (Client ID)
|
|
3200
3403
|
*/
|
|
3201
3404
|
export declare function getServiceCredential({ id }: {
|
|
3202
3405
|
id: string;
|
|
@@ -3208,7 +3411,7 @@ export declare function getServiceCredentialPermissions({ id }: {
|
|
|
3208
3411
|
id: string;
|
|
3209
3412
|
}, opts?: Oazapfts.RequestOpts): Promise<FullResourceResponse[]>;
|
|
3210
3413
|
/**
|
|
3211
|
-
*
|
|
3414
|
+
* List service credential groups
|
|
3212
3415
|
*/
|
|
3213
3416
|
export declare function getServiceCredentialGroups1({ id }: {
|
|
3214
3417
|
id: string;
|
|
@@ -3306,12 +3509,12 @@ export declare function getResources2({ memberId }: {
|
|
|
3306
3509
|
memberId: string;
|
|
3307
3510
|
}, opts?: Oazapfts.RequestOpts): Promise<ResourceDto[]>;
|
|
3308
3511
|
/**
|
|
3309
|
-
*
|
|
3512
|
+
* Get member favorite resources by type
|
|
3310
3513
|
*/
|
|
3311
3514
|
export declare function listMemberFavoritesByResource({ memberId, resourceType }: {
|
|
3312
3515
|
memberId: string;
|
|
3313
3516
|
resourceType: string;
|
|
3314
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
3517
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
3315
3518
|
/**
|
|
3316
3519
|
* Retrieves a list of account members and collaborators associated with the current user's account.
|
|
3317
3520
|
*/
|
|
@@ -3371,6 +3574,21 @@ export declare function getAccountDataByEmail({ email }: {
|
|
|
3371
3574
|
export declare function getAccountSlug({ accountId }: {
|
|
3372
3575
|
accountId: string;
|
|
3373
3576
|
}, opts?: Oazapfts.RequestOpts): Promise<AccountSlugResponse>;
|
|
3577
|
+
/**
|
|
3578
|
+
* Finds and returns personal account details.
|
|
3579
|
+
*/
|
|
3580
|
+
export declare function getPersonalAccountDetails(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountDetailsResponse>;
|
|
3581
|
+
/**
|
|
3582
|
+
* Finds and returns personal account expiration data associated with the provided token.
|
|
3583
|
+
*/
|
|
3584
|
+
export declare function getPersonalAccountExpirationData(opts?: Oazapfts.RequestOpts): Promise<PersonalAccountExpirationDataResponse>;
|
|
3585
|
+
/**
|
|
3586
|
+
* Determines whether account data is available for registration based on the provided name and slug.
|
|
3587
|
+
*/
|
|
3588
|
+
export declare function accountDataIsAvailable({ name, slug }: {
|
|
3589
|
+
name: string;
|
|
3590
|
+
slug: string;
|
|
3591
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataAvailableResponse>;
|
|
3374
3592
|
/**
|
|
3375
3593
|
* Retrieves a list of SSO for the current account.
|
|
3376
3594
|
*/
|
|
@@ -3386,13 +3604,6 @@ export declare function getAllAccountSso({ size, page, sort, direction, search,
|
|
|
3386
3604
|
multiFilterMode?: string;
|
|
3387
3605
|
filterIn?: any;
|
|
3388
3606
|
}, opts?: Oazapfts.RequestOpts): Promise<PageResponseAccountSsoResponse>;
|
|
3389
|
-
/**
|
|
3390
|
-
* Determines whether account data is available for registration based on the provided name and slug.
|
|
3391
|
-
*/
|
|
3392
|
-
export declare function accountDataIsAvailable({ name, slug }: {
|
|
3393
|
-
name: string;
|
|
3394
|
-
slug: string;
|
|
3395
|
-
}, opts?: Oazapfts.RequestOpts): Promise<AccountDataAvailableResponse>;
|
|
3396
3607
|
/**
|
|
3397
3608
|
* Get Partners who are sharing content.
|
|
3398
3609
|
*/
|
|
@@ -3410,7 +3621,7 @@ export declare function getPartnersSharingAllowed({ name }: {
|
|
|
3410
3621
|
*/
|
|
3411
3622
|
export declare function validatePartnerAssociationLimit(opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3412
3623
|
/**
|
|
3413
|
-
*
|
|
3624
|
+
* Disassociate Group to Service Credential
|
|
3414
3625
|
*/
|
|
3415
3626
|
export declare function disassociateGroupToServiceCredential({ id, groupId }: {
|
|
3416
3627
|
id: string;
|
|
@@ -3436,7 +3647,7 @@ export declare function deleteProfileImage({ memberId }: {
|
|
|
3436
3647
|
memberId: string;
|
|
3437
3648
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3438
3649
|
/**
|
|
3439
|
-
*
|
|
3650
|
+
* Remove resource from member favorites
|
|
3440
3651
|
*/
|
|
3441
3652
|
export declare function deleteMemberFavorite({ memberId, resourceType, resourceId }: {
|
|
3442
3653
|
memberId: string;
|