Skip to content

Commit 5c55bee

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#482)
1 parent 7363259 commit 5c55bee

File tree

22 files changed

+84
-76
lines changed

22 files changed

+84
-76
lines changed

api.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Methods:
3535

3636
Types:
3737

38-
- <code><a href="./src/resources/accounts/members.ts">MemberStatus</a></code>
38+
- <code><a href="./src/resources/accounts/members.ts">Status</a></code>
3939
- <code><a href="./src/resources/accounts/members.ts">UserWithInviteCode</a></code>
4040
- <code><a href="./src/resources/accounts/members.ts">MemberListResponse</a></code>
4141
- <code><a href="./src/resources/accounts/members.ts">MemberDeleteResponse</a></code>
@@ -1094,12 +1094,12 @@ Methods:
10941094

10951095
Types:
10961096

1097-
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackCA</a></code>
1098-
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackRequestType</a></code>
1099-
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackRequestValidity</a></code>
1100-
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackStatus</a></code>
1101-
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackValidationMethod</a></code>
1097+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificateAuthority</a></code>
11021098
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">Host</a></code>
1099+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">RequestType</a></code>
1100+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">RequestValidity</a></code>
1101+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">Status</a></code>
1102+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">ValidationMethod</a></code>
11031103
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackListResponse</a></code>
11041104
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackDeleteResponse</a></code>
11051105
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackEditResponse</a></code>
@@ -1191,7 +1191,7 @@ Methods:
11911191

11921192
Types:
11931193

1194-
- <code><a href="./src/resources/acm/total-tls.ts">TotalTLSCertificateAuthority</a></code>
1194+
- <code><a href="./src/resources/acm/total-tls.ts">CertificateAuthority</a></code>
11951195
- <code><a href="./src/resources/acm/total-tls.ts">TotalTLSCreateResponse</a></code>
11961196
- <code><a href="./src/resources/acm/total-tls.ts">TotalTLSGetResponse</a></code>
11971197

@@ -1284,6 +1284,7 @@ Types:
12841284

12851285
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">CustomCertificate</a></code>
12861286
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">GeoRestrictions</a></code>
1287+
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">Status</a></code>
12871288
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">CustomCertificateCreateResponse</a></code>
12881289
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">CustomCertificateDeleteResponse</a></code>
12891290
- <code><a href="./src/resources/custom-certificates/custom-certificates.ts">CustomCertificateEditResponse</a></code>
@@ -2782,7 +2783,7 @@ Methods:
27822783
Types:
27832784

27842785
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">AddressMap</a></code>
2785-
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">AddressMapKind</a></code>
2786+
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">Kind</a></code>
27862787
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">AddressMapCreateResponse</a></code>
27872788
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">AddressMapDeleteResponse</a></code>
27882789
- <code><a href="./src/resources/addressing/address-maps/address-maps.ts">AddressMapGetResponse</a></code>

src/resources/accounts/accounts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export interface AccountGetParams {
192192

193193
export namespace Accounts {
194194
export import Members = MembersAPI.Members;
195-
export import MemberStatus = MembersAPI.MemberStatus;
195+
export import Status = MembersAPI.Status;
196196
export import UserWithInviteCode = MembersAPI.UserWithInviteCode;
197197
export import MemberListResponse = MembersAPI.MemberListResponse;
198198
export import MemberDeleteResponse = MembersAPI.MemberDeleteResponse;

src/resources/accounts/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
export { Accounts } from './accounts';
4+
export { RoleGetResponse, RoleListParams, RoleGetParams, Roles } from './roles';
45
export {
5-
MemberStatus,
6+
Status,
67
UserWithInviteCode,
78
MemberListResponse,
89
MemberDeleteResponse,
@@ -14,4 +15,3 @@ export {
1415
MemberListResponsesV4PagePaginationArray,
1516
Members,
1617
} from './members';
17-
export { RoleGetResponse, RoleListParams, RoleGetParams, Roles } from './roles';

src/resources/accounts/members.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class MemberListResponsesV4PagePaginationArray extends V4PagePaginationAr
8989
/**
9090
* Whether the user is a member of the organization or has an inivitation pending.
9191
*/
92-
export type MemberStatus = 'member' | 'invited';
92+
export type Status = 'member' | 'invited';
9393

9494
export interface UserWithInviteCode {
9595
/**
@@ -297,7 +297,7 @@ export interface MemberGetParams {
297297
}
298298

299299
export namespace Members {
300-
export import MemberStatus = MembersAPI.MemberStatus;
300+
export import Status = MembersAPI.Status;
301301
export import UserWithInviteCode = MembersAPI.UserWithInviteCode;
302302
export import MemberListResponse = MembersAPI.MemberListResponse;
303303
export import MemberDeleteResponse = MembersAPI.MemberDeleteResponse;

src/resources/acm/acm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class ACM extends APIResource {
99

1010
export namespace ACM {
1111
export import TotalTLS = TotalTLSAPI.TotalTLS;
12-
export import TotalTLSCertificateAuthority = TotalTLSAPI.TotalTLSCertificateAuthority;
12+
export import CertificateAuthority = TotalTLSAPI.CertificateAuthority;
1313
export import TotalTLSCreateResponse = TotalTLSAPI.TotalTLSCreateResponse;
1414
export import TotalTLSGetResponse = TotalTLSAPI.TotalTLSGetResponse;
1515
export import TotalTLSCreateParams = TotalTLSAPI.TotalTLSCreateParams;

src/resources/acm/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export { ACM } from './acm';
44
export {
5-
TotalTLSCertificateAuthority,
5+
CertificateAuthority,
66
TotalTLSCreateResponse,
77
TotalTLSGetResponse,
88
TotalTLSCreateParams,

src/resources/acm/total-tls.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ export class TotalTLS extends APIResource {
3636
/**
3737
* The Certificate Authority that Total TLS certificates will be issued through.
3838
*/
39-
export type TotalTLSCertificateAuthority = 'google' | 'lets_encrypt';
39+
export type CertificateAuthority = 'google' | 'lets_encrypt';
4040

4141
/**
4242
* The Certificate Authority that Total TLS certificates will be issued through.
4343
*/
44-
export type TotalTLSCertificateAuthorityParam = 'google' | 'lets_encrypt';
44+
export type CertificateAuthorityParam = 'google' | 'lets_encrypt';
4545

4646
export interface TotalTLSCreateResponse {
4747
/**
4848
* The Certificate Authority that Total TLS certificates will be issued through.
4949
*/
50-
certificate_authority?: TotalTLSCertificateAuthority;
50+
certificate_authority?: CertificateAuthority;
5151

5252
/**
5353
* If enabled, Total TLS will order a hostname specific TLS certificate for any
@@ -65,7 +65,7 @@ export interface TotalTLSGetResponse {
6565
/**
6666
* The Certificate Authority that Total TLS certificates will be issued through.
6767
*/
68-
certificate_authority?: TotalTLSCertificateAuthority;
68+
certificate_authority?: CertificateAuthority;
6969

7070
/**
7171
* If enabled, Total TLS will order a hostname specific TLS certificate for any
@@ -95,7 +95,7 @@ export interface TotalTLSCreateParams {
9595
* Body param: The Certificate Authority that Total TLS certificates will be issued
9696
* through.
9797
*/
98-
certificate_authority?: TotalTLSCertificateAuthorityParam;
98+
certificate_authority?: CertificateAuthorityParam;
9999
}
100100

101101
export interface TotalTLSGetParams {
@@ -106,7 +106,7 @@ export interface TotalTLSGetParams {
106106
}
107107

108108
export namespace TotalTLS {
109-
export import TotalTLSCertificateAuthority = TotalTLSAPI.TotalTLSCertificateAuthority;
109+
export import CertificateAuthority = TotalTLSAPI.CertificateAuthority;
110110
export import TotalTLSCreateResponse = TotalTLSAPI.TotalTLSCreateResponse;
111111
export import TotalTLSGetResponse = TotalTLSAPI.TotalTLSGetResponse;
112112
export import TotalTLSCreateParams = TotalTLSAPI.TotalTLSCreateParams;

src/resources/addressing/address-maps/address-maps.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export interface AddressMap {
146146
/**
147147
* The type of the membership.
148148
*/
149-
export type AddressMapKind = 'zone' | 'account';
149+
export type Kind = 'zone' | 'account';
150150

151151
export interface AddressMapCreateResponse {
152152
/**
@@ -229,7 +229,7 @@ export namespace AddressMapCreateResponse {
229229
/**
230230
* The type of the membership.
231231
*/
232-
kind?: AddressMapsAPI.AddressMapKind;
232+
kind?: AddressMapsAPI.Kind;
233233
}
234234
}
235235

@@ -316,7 +316,7 @@ export namespace AddressMapGetResponse {
316316
/**
317317
* The type of the membership.
318318
*/
319-
kind?: AddressMapsAPI.AddressMapKind;
319+
kind?: AddressMapsAPI.Kind;
320320
}
321321
}
322322

@@ -390,7 +390,7 @@ export interface AddressMapGetParams {
390390

391391
export namespace AddressMaps {
392392
export import AddressMap = AddressMapsAPI.AddressMap;
393-
export import AddressMapKind = AddressMapsAPI.AddressMapKind;
393+
export import Kind = AddressMapsAPI.Kind;
394394
export import AddressMapCreateResponse = AddressMapsAPI.AddressMapCreateResponse;
395395
export import AddressMapDeleteResponse = AddressMapsAPI.AddressMapDeleteResponse;
396396
export import AddressMapGetResponse = AddressMapsAPI.AddressMapGetResponse;

src/resources/addressing/address-maps/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export {
99
} from './accounts';
1010
export {
1111
AddressMap,
12-
AddressMapKind,
12+
Kind,
1313
AddressMapCreateResponse,
1414
AddressMapDeleteResponse,
1515
AddressMapGetResponse,

src/resources/addressing/addressing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export namespace Addressing {
2020
export import ServiceListParams = ServicesAPI.ServiceListParams;
2121
export import AddressMaps = AddressMapsAPI.AddressMaps;
2222
export import AddressMap = AddressMapsAPI.AddressMap;
23-
export import AddressMapKind = AddressMapsAPI.AddressMapKind;
23+
export import Kind = AddressMapsAPI.Kind;
2424
export import AddressMapCreateResponse = AddressMapsAPI.AddressMapCreateResponse;
2525
export import AddressMapDeleteResponse = AddressMapsAPI.AddressMapDeleteResponse;
2626
export import AddressMapGetResponse = AddressMapsAPI.AddressMapGetResponse;

0 commit comments

Comments
 (0)