@opusdns/api 1.79.0 → 1.81.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/package.json +1 -1
- package/src/helpers/constants.ts +58 -13
- package/src/helpers/keys.ts +59 -51
- package/src/helpers/requests.d.ts +12 -10
- package/src/helpers/responses.d.ts +16 -16
- package/src/helpers/schemas.d.ts +8 -5
- package/src/openapi.yaml +290 -216
- package/src/schema.d.ts +251 -211
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
AiUsageGranularity,
|
|
3
2
|
AllocationMethodType,
|
|
4
3
|
AssignablePublicRole,
|
|
5
4
|
AttributeType,
|
|
@@ -103,6 +102,8 @@ import type {
|
|
|
103
102
|
TagType,
|
|
104
103
|
TimeRange,
|
|
105
104
|
TransferAckType,
|
|
105
|
+
UsageGranularity,
|
|
106
|
+
UsageProduct,
|
|
106
107
|
UserSortField,
|
|
107
108
|
VanityNameserverSetStatusDTO,
|
|
108
109
|
VanityNsCheckConfidence,
|
|
@@ -113,23 +114,13 @@ import type {
|
|
|
113
114
|
VerificationClaimType,
|
|
114
115
|
VerificationDeadlineType,
|
|
115
116
|
VerificationType,
|
|
117
|
+
WhitelabelOnboardingFailureCode,
|
|
118
|
+
WhitelabelOnboardingFailureType,
|
|
116
119
|
WhitelabelOnboardingStatus,
|
|
117
120
|
ZoneIncludeField,
|
|
118
121
|
ZoneSortField,
|
|
119
122
|
} from './schemas';
|
|
120
123
|
|
|
121
|
-
export const AI_USAGE_GRANULARITY = {
|
|
122
|
-
DAY: "day",
|
|
123
|
-
WEEK: "week",
|
|
124
|
-
MONTH: "month",
|
|
125
|
-
} as const satisfies Record<string, AiUsageGranularity>;
|
|
126
|
-
|
|
127
|
-
export const AI_USAGE_GRANULARITY_VALUES = [
|
|
128
|
-
'day',
|
|
129
|
-
'week',
|
|
130
|
-
'month',
|
|
131
|
-
] as const satisfies ReadonlyArray<AiUsageGranularity>;
|
|
132
|
-
|
|
133
124
|
export const ALLOCATION_METHOD_TYPE = {
|
|
134
125
|
FCFS: "fcfs",
|
|
135
126
|
AUCTION: "auction",
|
|
@@ -1859,6 +1850,26 @@ export const TRANSFER_ACK_TYPE_VALUES = [
|
|
|
1859
1850
|
'both',
|
|
1860
1851
|
] as const satisfies ReadonlyArray<TransferAckType>;
|
|
1861
1852
|
|
|
1853
|
+
export const USAGE_GRANULARITY = {
|
|
1854
|
+
DAY: "day",
|
|
1855
|
+
WEEK: "week",
|
|
1856
|
+
MONTH: "month",
|
|
1857
|
+
} as const satisfies Record<string, UsageGranularity>;
|
|
1858
|
+
|
|
1859
|
+
export const USAGE_GRANULARITY_VALUES = [
|
|
1860
|
+
'day',
|
|
1861
|
+
'week',
|
|
1862
|
+
'month',
|
|
1863
|
+
] as const satisfies ReadonlyArray<UsageGranularity>;
|
|
1864
|
+
|
|
1865
|
+
export const USAGE_PRODUCT = {
|
|
1866
|
+
AI_INFERENCE: "ai_inference",
|
|
1867
|
+
} as const satisfies Record<string, UsageProduct>;
|
|
1868
|
+
|
|
1869
|
+
export const USAGE_PRODUCT_VALUES = [
|
|
1870
|
+
'ai_inference',
|
|
1871
|
+
] as const satisfies ReadonlyArray<UsageProduct>;
|
|
1872
|
+
|
|
1862
1873
|
export const USER_SORT_FIELD = {
|
|
1863
1874
|
CREATED_ON: "created_on",
|
|
1864
1875
|
USERNAME: "username",
|
|
@@ -1983,6 +1994,40 @@ export const VERIFICATION_TYPE_VALUES = [
|
|
|
1983
1994
|
'email',
|
|
1984
1995
|
] as const satisfies ReadonlyArray<VerificationType>;
|
|
1985
1996
|
|
|
1997
|
+
export const WHITELABEL_ONBOARDING_FAILURE_CODE = {
|
|
1998
|
+
ZONE_NOT_OWNED: "zone_not_owned",
|
|
1999
|
+
DELEGATION_MISSING: "delegation_missing",
|
|
2000
|
+
DELEGATION_MISMATCH: "delegation_mismatch",
|
|
2001
|
+
DNS_RECORD_REJECTED: "dns_record_rejected",
|
|
2002
|
+
AUTH_CLIENT_REJECTED: "auth_client_rejected",
|
|
2003
|
+
BRANDING_REJECTED: "branding_rejected",
|
|
2004
|
+
RETRIES_EXHAUSTED: "retries_exhausted",
|
|
2005
|
+
} as const satisfies Record<string, WhitelabelOnboardingFailureCode>;
|
|
2006
|
+
|
|
2007
|
+
export const WHITELABEL_ONBOARDING_FAILURE_CODE_VALUES = [
|
|
2008
|
+
'zone_not_owned',
|
|
2009
|
+
'delegation_missing',
|
|
2010
|
+
'delegation_mismatch',
|
|
2011
|
+
'dns_record_rejected',
|
|
2012
|
+
'auth_client_rejected',
|
|
2013
|
+
'branding_rejected',
|
|
2014
|
+
'retries_exhausted',
|
|
2015
|
+
] as const satisfies ReadonlyArray<WhitelabelOnboardingFailureCode>;
|
|
2016
|
+
|
|
2017
|
+
export const WHITELABEL_ONBOARDING_FAILURE_TYPE = {
|
|
2018
|
+
DNS: "dns",
|
|
2019
|
+
AUTH: "auth",
|
|
2020
|
+
BRANDING: "branding",
|
|
2021
|
+
SYSTEM: "system",
|
|
2022
|
+
} as const satisfies Record<string, WhitelabelOnboardingFailureType>;
|
|
2023
|
+
|
|
2024
|
+
export const WHITELABEL_ONBOARDING_FAILURE_TYPE_VALUES = [
|
|
2025
|
+
'dns',
|
|
2026
|
+
'auth',
|
|
2027
|
+
'branding',
|
|
2028
|
+
'system',
|
|
2029
|
+
] as const satisfies ReadonlyArray<WhitelabelOnboardingFailureType>;
|
|
2030
|
+
|
|
1986
2031
|
export const WHITELABEL_ONBOARDING_STATUS = {
|
|
1987
2032
|
PENDING_DOMAIN_VERIFICATION: "pending_domain_verification",
|
|
1988
2033
|
VERIFYING: "verifying",
|
package/src/helpers/keys.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
AiInferenceUsageBucket,
|
|
3
|
+
AiInferenceUsageGroup,
|
|
4
|
+
AiInferenceUsageSeries,
|
|
5
|
+
AiInferenceUsageSummary,
|
|
6
6
|
AllowedNumberOfNameserverBase,
|
|
7
7
|
AttributeCondition,
|
|
8
8
|
Auth,
|
|
@@ -437,51 +437,55 @@ import type {
|
|
|
437
437
|
DomainAvailabilityCheck,
|
|
438
438
|
} from './schemas';
|
|
439
439
|
|
|
440
|
-
export const
|
|
441
|
-
export const
|
|
442
|
-
|
|
443
|
-
export const
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
export const
|
|
469
|
-
|
|
470
|
-
export const
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
] as const satisfies (keyof
|
|
477
|
-
|
|
478
|
-
export const
|
|
479
|
-
export const
|
|
480
|
-
|
|
481
|
-
export const
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
440
|
+
export const KEY_AI_INFERENCE_USAGE_BUCKET_GROUPS = 'groups' satisfies keyof AiInferenceUsageBucket;
|
|
441
|
+
export const KEY_AI_INFERENCE_USAGE_BUCKET_PERIOD_START = 'period_start' satisfies keyof AiInferenceUsageBucket;
|
|
442
|
+
|
|
443
|
+
export const KEYS_AI_INFERENCE_USAGE_BUCKET = [
|
|
444
|
+
KEY_AI_INFERENCE_USAGE_BUCKET_GROUPS,
|
|
445
|
+
KEY_AI_INFERENCE_USAGE_BUCKET_PERIOD_START,
|
|
446
|
+
] as const satisfies (keyof AiInferenceUsageBucket)[];
|
|
447
|
+
|
|
448
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_CACHE_READ_TOKENS = 'cache_read_tokens' satisfies keyof AiInferenceUsageGroup;
|
|
449
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_CACHE_WRITE_TOKENS = 'cache_write_tokens' satisfies keyof AiInferenceUsageGroup;
|
|
450
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_INPUT_TOKENS = 'input_tokens' satisfies keyof AiInferenceUsageGroup;
|
|
451
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_MODEL = 'model' satisfies keyof AiInferenceUsageGroup;
|
|
452
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_OUTPUT_TOKENS = 'output_tokens' satisfies keyof AiInferenceUsageGroup;
|
|
453
|
+
export const KEY_AI_INFERENCE_USAGE_GROUP_REQUEST_COUNT = 'request_count' satisfies keyof AiInferenceUsageGroup;
|
|
454
|
+
|
|
455
|
+
export const KEYS_AI_INFERENCE_USAGE_GROUP = [
|
|
456
|
+
KEY_AI_INFERENCE_USAGE_GROUP_CACHE_READ_TOKENS,
|
|
457
|
+
KEY_AI_INFERENCE_USAGE_GROUP_CACHE_WRITE_TOKENS,
|
|
458
|
+
KEY_AI_INFERENCE_USAGE_GROUP_INPUT_TOKENS,
|
|
459
|
+
KEY_AI_INFERENCE_USAGE_GROUP_MODEL,
|
|
460
|
+
KEY_AI_INFERENCE_USAGE_GROUP_OUTPUT_TOKENS,
|
|
461
|
+
KEY_AI_INFERENCE_USAGE_GROUP_REQUEST_COUNT,
|
|
462
|
+
] as const satisfies (keyof AiInferenceUsageGroup)[];
|
|
463
|
+
|
|
464
|
+
export const KEY_AI_INFERENCE_USAGE_SERIES_BUCKETS = 'buckets' satisfies keyof AiInferenceUsageSeries;
|
|
465
|
+
export const KEY_AI_INFERENCE_USAGE_SERIES_END_DATE = 'end_date' satisfies keyof AiInferenceUsageSeries;
|
|
466
|
+
export const KEY_AI_INFERENCE_USAGE_SERIES_GRANULARITY = 'granularity' satisfies keyof AiInferenceUsageSeries;
|
|
467
|
+
export const KEY_AI_INFERENCE_USAGE_SERIES_PRODUCT = 'product' satisfies keyof AiInferenceUsageSeries;
|
|
468
|
+
export const KEY_AI_INFERENCE_USAGE_SERIES_START_DATE = 'start_date' satisfies keyof AiInferenceUsageSeries;
|
|
469
|
+
|
|
470
|
+
export const KEYS_AI_INFERENCE_USAGE_SERIES = [
|
|
471
|
+
KEY_AI_INFERENCE_USAGE_SERIES_BUCKETS,
|
|
472
|
+
KEY_AI_INFERENCE_USAGE_SERIES_END_DATE,
|
|
473
|
+
KEY_AI_INFERENCE_USAGE_SERIES_GRANULARITY,
|
|
474
|
+
KEY_AI_INFERENCE_USAGE_SERIES_PRODUCT,
|
|
475
|
+
KEY_AI_INFERENCE_USAGE_SERIES_START_DATE,
|
|
476
|
+
] as const satisfies (keyof AiInferenceUsageSeries)[];
|
|
477
|
+
|
|
478
|
+
export const KEY_AI_INFERENCE_USAGE_SUMMARY_END_DATE = 'end_date' satisfies keyof AiInferenceUsageSummary;
|
|
479
|
+
export const KEY_AI_INFERENCE_USAGE_SUMMARY_GROUPS = 'groups' satisfies keyof AiInferenceUsageSummary;
|
|
480
|
+
export const KEY_AI_INFERENCE_USAGE_SUMMARY_PRODUCT = 'product' satisfies keyof AiInferenceUsageSummary;
|
|
481
|
+
export const KEY_AI_INFERENCE_USAGE_SUMMARY_START_DATE = 'start_date' satisfies keyof AiInferenceUsageSummary;
|
|
482
|
+
|
|
483
|
+
export const KEYS_AI_INFERENCE_USAGE_SUMMARY = [
|
|
484
|
+
KEY_AI_INFERENCE_USAGE_SUMMARY_END_DATE,
|
|
485
|
+
KEY_AI_INFERENCE_USAGE_SUMMARY_GROUPS,
|
|
486
|
+
KEY_AI_INFERENCE_USAGE_SUMMARY_PRODUCT,
|
|
487
|
+
KEY_AI_INFERENCE_USAGE_SUMMARY_START_DATE,
|
|
488
|
+
] as const satisfies (keyof AiInferenceUsageSummary)[];
|
|
485
489
|
|
|
486
490
|
export const KEY_ALLOWED_NUMBER_OF_NAMESERVER_BASE_MAX = 'max' satisfies keyof AllowedNumberOfNameserverBase;
|
|
487
491
|
export const KEY_ALLOWED_NUMBER_OF_NAMESERVER_BASE_MIN = 'min' satisfies keyof AllowedNumberOfNameserverBase;
|
|
@@ -5761,7 +5765,9 @@ export const KEYS_WHITELABEL_BRANDING_CREATE = [
|
|
|
5761
5765
|
|
|
5762
5766
|
export const KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBranding;
|
|
5763
5767
|
export const KEY_WHITELABEL_BRANDING_CREATED_ON = 'created_on' satisfies keyof WhitelabelBranding;
|
|
5764
|
-
export const
|
|
5768
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_CODE = 'failure_code' satisfies keyof WhitelabelBranding;
|
|
5769
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_DETAIL = 'failure_detail' satisfies keyof WhitelabelBranding;
|
|
5770
|
+
export const KEY_WHITELABEL_BRANDING_FAILURE_TYPE = 'failure_type' satisfies keyof WhitelabelBranding;
|
|
5765
5771
|
export const KEY_WHITELABEL_BRANDING_HOSTNAME = 'hostname' satisfies keyof WhitelabelBranding;
|
|
5766
5772
|
export const KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID = 'keycloak_client_id' satisfies keyof WhitelabelBranding;
|
|
5767
5773
|
export const KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS = 'onboarding_status' satisfies keyof WhitelabelBranding;
|
|
@@ -5773,7 +5779,9 @@ export const KEY_WHITELABEL_BRANDING_WHITELABEL_BRANDING_ID = 'whitelabel_brandi
|
|
|
5773
5779
|
export const KEYS_WHITELABEL_BRANDING = [
|
|
5774
5780
|
KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME,
|
|
5775
5781
|
KEY_WHITELABEL_BRANDING_CREATED_ON,
|
|
5776
|
-
|
|
5782
|
+
KEY_WHITELABEL_BRANDING_FAILURE_CODE,
|
|
5783
|
+
KEY_WHITELABEL_BRANDING_FAILURE_DETAIL,
|
|
5784
|
+
KEY_WHITELABEL_BRANDING_FAILURE_TYPE,
|
|
5777
5785
|
KEY_WHITELABEL_BRANDING_HOSTNAME,
|
|
5778
5786
|
KEY_WHITELABEL_BRANDING_KEYCLOAK_CLIENT_ID,
|
|
5779
5787
|
KEY_WHITELABEL_BRANDING_ONBOARDING_STATUS,
|
|
@@ -799,16 +799,6 @@ export type POST_Organizations_Request = {
|
|
|
799
799
|
};
|
|
800
800
|
export type POST_Organizations_Request_Body = POST_Organizations_Request['requestBody'];
|
|
801
801
|
|
|
802
|
-
export type GET_OrganizationsAiUsage_Request = {
|
|
803
|
-
parameters: operations['get_ai_usage_series_v1_organizations_ai_usage_get']['parameters'];
|
|
804
|
-
};
|
|
805
|
-
export type GET_OrganizationsAiUsage_Request_Query = GET_OrganizationsAiUsage_Request['parameters']['query'];
|
|
806
|
-
|
|
807
|
-
export type GET_OrganizationsAiUsageSummary_Request = {
|
|
808
|
-
parameters: operations['get_ai_usage_summary_v1_organizations_ai_usage_summary_get']['parameters'];
|
|
809
|
-
};
|
|
810
|
-
export type GET_OrganizationsAiUsageSummary_Request_Query = GET_OrganizationsAiUsageSummary_Request['parameters']['query'];
|
|
811
|
-
|
|
812
802
|
export type GET_OrganizationsAttributes_Request = {
|
|
813
803
|
parameters: operations['get_current_organization_attributes_v1_organizations_attributes_get']['parameters'];
|
|
814
804
|
};
|
|
@@ -872,6 +862,18 @@ export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Request
|
|
|
872
862
|
};
|
|
873
863
|
export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Request_Path = GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Request['parameters']['path'];
|
|
874
864
|
|
|
865
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Request = {
|
|
866
|
+
parameters: operations['get_usage_series_v1_organizations__organization_id__usage__product__get']['parameters'];
|
|
867
|
+
};
|
|
868
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Request_Query = GET_OrganizationsByOrganizationIdUsageByProduct_Request['parameters']['query'];
|
|
869
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Request_Path = GET_OrganizationsByOrganizationIdUsageByProduct_Request['parameters']['path'];
|
|
870
|
+
|
|
871
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Request = {
|
|
872
|
+
parameters: operations['get_usage_summary_v1_organizations__organization_id__usage__product__summary_get']['parameters'];
|
|
873
|
+
};
|
|
874
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Request_Query = GET_OrganizationsByOrganizationIdUsageByProductSummary_Request['parameters']['query'];
|
|
875
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Request_Path = GET_OrganizationsByOrganizationIdUsageByProductSummary_Request['parameters']['path'];
|
|
876
|
+
|
|
875
877
|
export type GET_OrganizationsIpRestrictions_Request = {
|
|
876
878
|
};
|
|
877
879
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
AiInferenceUsageSeries,
|
|
3
|
+
AiInferenceUsageSummary,
|
|
4
4
|
BillingTransaction,
|
|
5
5
|
ClaimsNotices,
|
|
6
6
|
ClearVanityNameserverSetDefaultRes,
|
|
@@ -647,20 +647,6 @@ export type GET_Organizations_Response_401 = Problem;
|
|
|
647
647
|
export type GET_Organizations_Response_403 = Problem;
|
|
648
648
|
export type GET_Organizations_Response_422 = HTTPValidationError;
|
|
649
649
|
|
|
650
|
-
export type GET_OrganizationsAiUsage_Response = GET_OrganizationsAiUsage_Response_200 | GET_OrganizationsAiUsage_Response_401 | GET_OrganizationsAiUsage_Response_403 | GET_OrganizationsAiUsage_Response_422;
|
|
651
|
-
|
|
652
|
-
export type GET_OrganizationsAiUsage_Response_200 = AiUsageSeries;
|
|
653
|
-
export type GET_OrganizationsAiUsage_Response_401 = Problem;
|
|
654
|
-
export type GET_OrganizationsAiUsage_Response_403 = Problem;
|
|
655
|
-
export type GET_OrganizationsAiUsage_Response_422 = HTTPValidationError;
|
|
656
|
-
|
|
657
|
-
export type GET_OrganizationsAiUsageSummary_Response = GET_OrganizationsAiUsageSummary_Response_200 | GET_OrganizationsAiUsageSummary_Response_401 | GET_OrganizationsAiUsageSummary_Response_403 | GET_OrganizationsAiUsageSummary_Response_422;
|
|
658
|
-
|
|
659
|
-
export type GET_OrganizationsAiUsageSummary_Response_200 = AiUsageSummary;
|
|
660
|
-
export type GET_OrganizationsAiUsageSummary_Response_401 = Problem;
|
|
661
|
-
export type GET_OrganizationsAiUsageSummary_Response_403 = Problem;
|
|
662
|
-
export type GET_OrganizationsAiUsageSummary_Response_422 = HTTPValidationError;
|
|
663
|
-
|
|
664
650
|
export type GET_OrganizationsAttributes_Response = GET_OrganizationsAttributes_Response_200 | GET_OrganizationsAttributes_Response_401 | GET_OrganizationsAttributes_Response_403 | GET_OrganizationsAttributes_Response_422;
|
|
665
651
|
|
|
666
652
|
export type GET_OrganizationsAttributes_Response_200 = OrganizationAttribute2[];
|
|
@@ -708,6 +694,20 @@ export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Respons
|
|
|
708
694
|
export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Response_403 = Problem;
|
|
709
695
|
export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Response_422 = HTTPValidationError;
|
|
710
696
|
|
|
697
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Response = GET_OrganizationsByOrganizationIdUsageByProduct_Response_200 | GET_OrganizationsByOrganizationIdUsageByProduct_Response_401 | GET_OrganizationsByOrganizationIdUsageByProduct_Response_403 | GET_OrganizationsByOrganizationIdUsageByProduct_Response_422;
|
|
698
|
+
|
|
699
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Response_200 = AiInferenceUsageSeries;
|
|
700
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Response_401 = Problem;
|
|
701
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Response_403 = Problem;
|
|
702
|
+
export type GET_OrganizationsByOrganizationIdUsageByProduct_Response_422 = HTTPValidationError;
|
|
703
|
+
|
|
704
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Response = GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_200 | GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_401 | GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_403 | GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_422;
|
|
705
|
+
|
|
706
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_200 = AiInferenceUsageSummary;
|
|
707
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_401 = Problem;
|
|
708
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_403 = Problem;
|
|
709
|
+
export type GET_OrganizationsByOrganizationIdUsageByProductSummary_Response_422 = HTTPValidationError;
|
|
710
|
+
|
|
711
711
|
export type GET_OrganizationsIpRestrictions_Response = GET_OrganizationsIpRestrictions_Response_200 | GET_OrganizationsIpRestrictions_Response_401 | GET_OrganizationsIpRestrictions_Response_403 | GET_OrganizationsIpRestrictions_Response_422;
|
|
712
712
|
|
|
713
713
|
export type GET_OrganizationsIpRestrictions_Response_200 = IpRestriction[];
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { components } from '../schema';
|
|
2
2
|
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export type AiUsageTimeBucket = components['schemas']['AiUsageTimeBucket'];
|
|
3
|
+
export type AiInferenceUsageBucket = components['schemas']['AiInferenceUsageBucket'];
|
|
4
|
+
export type AiInferenceUsageGroup = components['schemas']['AiInferenceUsageGroup'];
|
|
5
|
+
export type AiInferenceUsageSeries = components['schemas']['AiInferenceUsageSeriesResponse'];
|
|
6
|
+
export type AiInferenceUsageSummary = components['schemas']['AiInferenceUsageSummaryResponse'];
|
|
8
7
|
export type AllocationMethodType = components['schemas']['AllocationMethodType'];
|
|
9
8
|
export type AllowedNumberOfNameserverBase = components['schemas']['AllowedNumberOfNameserverBase'];
|
|
10
9
|
export type AssignablePublicRole = components['schemas']['AssignablePublicRole'];
|
|
@@ -527,6 +526,8 @@ export type TrademarkClaimsBase = components['schemas']['TrademarkClaimsBase'];
|
|
|
527
526
|
export type TransferAckType = components['schemas']['TransferAckType'];
|
|
528
527
|
export type TransferLockPolicyBase = components['schemas']['TransferLockPolicyBase'];
|
|
529
528
|
export type TransferPoliciesBase = components['schemas']['TransferPoliciesBase'];
|
|
529
|
+
export type UsageGranularity = components['schemas']['UsageGranularity'];
|
|
530
|
+
export type UsageProduct = components['schemas']['UsageProduct'];
|
|
530
531
|
export type User = components['schemas']['User'];
|
|
531
532
|
export type UserAgentStatsBucket = components['schemas']['UserAgentStatsBucket'];
|
|
532
533
|
export type UserAttributeBase = components['schemas']['UserAttributeBase'];
|
|
@@ -564,6 +565,8 @@ export type VerificationType = components['schemas']['VerificationType'];
|
|
|
564
565
|
export type VisitsByKeyBucket = components['schemas']['VisitsByKeyBucket'];
|
|
565
566
|
export type WhitelabelBrandingCreate = components['schemas']['WhitelabelBrandingCreate'];
|
|
566
567
|
export type WhitelabelBranding = components['schemas']['WhitelabelBrandingResponse'];
|
|
568
|
+
export type WhitelabelOnboardingFailureCode = components['schemas']['WhitelabelOnboardingFailureCode'];
|
|
569
|
+
export type WhitelabelOnboardingFailureType = components['schemas']['WhitelabelOnboardingFailureType'];
|
|
567
570
|
export type WhitelabelOnboardingStatus = components['schemas']['WhitelabelOnboardingStatus'];
|
|
568
571
|
export type WhoisBase = components['schemas']['WhoisBase'];
|
|
569
572
|
export type ZoneIncludeField = components['schemas']['ZoneIncludeField'];
|