robosystems-client 0.2.9__py3-none-any.whl → 0.2.10__py3-none-any.whl
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.
- robosystems_client/api/{user_subscriptions/cancel_shared_repository_subscription.py → subscriptions/cancel_subscription.py} +41 -25
- robosystems_client/api/subscriptions/create_repository_subscription.py +217 -0
- robosystems_client/api/subscriptions/get_graph_subscription.py +197 -0
- robosystems_client/api/{user_subscriptions/upgrade_shared_repository_subscription.py → subscriptions/upgrade_subscription.py} +57 -55
- robosystems_client/api/usage/get_graph_usage_analytics.py +377 -0
- robosystems_client/api/{user_limits/get_user_usage.py → user/get_user_limits.py} +13 -9
- robosystems_client/models/__init__.py +18 -82
- robosystems_client/models/{credits_summary_response_credits_by_addon_type_0_item.py → create_repository_subscription_request.py} +22 -6
- robosystems_client/models/credit_summary.py +55 -89
- robosystems_client/models/{graph_usage_response_storage_usage.py → credit_summary_operation_breakdown.py} +6 -6
- robosystems_client/models/graph_subscription_response.py +200 -0
- robosystems_client/models/graph_usage_response.py +136 -39
- robosystems_client/models/{user_analytics_response_limits.py → graph_usage_response_recent_events_item.py} +6 -6
- robosystems_client/models/performance_insights.py +120 -0
- robosystems_client/models/{graph_usage_response_recent_activity.py → performance_insights_operation_stats.py} +6 -6
- robosystems_client/models/{user_analytics_response_api_usage.py → performance_insights_slow_queries_item.py} +6 -6
- robosystems_client/models/storage_summary.py +100 -0
- robosystems_client/models/{tier_upgrade_request.py → upgrade_subscription_request.py} +12 -14
- {robosystems_client-0.2.9.dist-info → robosystems_client-0.2.10.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.9.dist-info → robosystems_client-0.2.10.dist-info}/RECORD +31 -68
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -289
- robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -253
- robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -298
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -284
- robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -320
- robosystems_client/api/user/get_all_credit_summaries.py +0 -169
- robosystems_client/api/user_analytics/__init__.py +0 -1
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -188
- robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -135
- robosystems_client/api/user_limits/__init__.py +0 -1
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -141
- robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -213
- robosystems_client/api/user_limits/get_user_limits.py +0 -139
- robosystems_client/api/user_subscriptions/__init__.py +0 -1
- robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -173
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -143
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -181
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -186
- robosystems_client/models/add_on_credit_info.py +0 -119
- robosystems_client/models/credits_summary_response.py +0 -148
- robosystems_client/models/get_all_credit_summaries_response_getallcreditsummaries.py +0 -44
- robosystems_client/models/get_all_shared_repository_limits_response_getallsharedrepositorylimits.py +0 -46
- robosystems_client/models/get_current_graph_bill_response_getcurrentgraphbill.py +0 -44
- robosystems_client/models/get_graph_billing_history_response_getgraphbillinghistory.py +0 -44
- robosystems_client/models/get_graph_monthly_bill_response_getgraphmonthlybill.py +0 -44
- robosystems_client/models/get_graph_usage_details_response_getgraphusagedetails.py +0 -44
- robosystems_client/models/get_shared_repository_limits_response_getsharedrepositorylimits.py +0 -44
- robosystems_client/models/graph_usage_response_query_statistics.py +0 -44
- robosystems_client/models/repository_credits_response.py +0 -128
- robosystems_client/models/repository_plan.py +0 -10
- robosystems_client/models/repository_type.py +0 -10
- robosystems_client/models/subscription_info.py +0 -152
- robosystems_client/models/subscription_info_metadata.py +0 -44
- robosystems_client/models/subscription_request.py +0 -80
- robosystems_client/models/subscription_response.py +0 -74
- robosystems_client/models/user_analytics_response.py +0 -132
- robosystems_client/models/user_analytics_response_graph_usage.py +0 -44
- robosystems_client/models/user_analytics_response_recent_activity_item.py +0 -44
- robosystems_client/models/user_analytics_response_user_info.py +0 -44
- robosystems_client/models/user_graph_summary.py +0 -134
- robosystems_client/models/user_subscriptions_response.py +0 -90
- robosystems_client/models/user_usage_summary_response.py +0 -130
- robosystems_client/models/user_usage_summary_response_usage_vs_limits.py +0 -44
- /robosystems_client/api/{graph_analytics → credits_}/__init__.py +0 -0
- /robosystems_client/api/{graph_credits → credits_}/check_credit_balance.py +0 -0
- /robosystems_client/api/{graph_credits → credits_}/check_storage_limits.py +0 -0
- /robosystems_client/api/{graph_credits → credits_}/get_credit_summary.py +0 -0
- /robosystems_client/api/{graph_credits → credits_}/get_storage_usage.py +0 -0
- /robosystems_client/api/{graph_credits → credits_}/list_credit_transactions.py +0 -0
- /robosystems_client/api/{graph_billing → subscriptions}/__init__.py +0 -0
- /robosystems_client/api/{graph_credits → usage}/__init__.py +0 -0
- /robosystems_client/api/{graph_analytics → usage}/get_graph_metrics.py +0 -0
- {robosystems_client-0.2.9.dist-info → robosystems_client-0.2.10.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.9.dist-info → robosystems_client-0.2.10.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"""Contains all the data models used in inputs/outputs"""
|
|
2
2
|
|
|
3
3
|
from .account_info import AccountInfo
|
|
4
|
-
from .add_on_credit_info import AddOnCreditInfo
|
|
5
4
|
from .agent_list_response import AgentListResponse
|
|
6
5
|
from .agent_list_response_agents import AgentListResponseAgents
|
|
7
6
|
from .agent_list_response_agents_additional_property import (
|
|
@@ -61,15 +60,13 @@ from .create_api_key_response import CreateAPIKeyResponse
|
|
|
61
60
|
from .create_connection_request import CreateConnectionRequest
|
|
62
61
|
from .create_connection_request_provider import CreateConnectionRequestProvider
|
|
63
62
|
from .create_graph_request import CreateGraphRequest
|
|
63
|
+
from .create_repository_subscription_request import CreateRepositorySubscriptionRequest
|
|
64
64
|
from .create_subgraph_request import CreateSubgraphRequest
|
|
65
65
|
from .create_subgraph_request_metadata_type_0 import CreateSubgraphRequestMetadataType0
|
|
66
66
|
from .credit_limits import CreditLimits
|
|
67
67
|
from .credit_summary import CreditSummary
|
|
68
|
+
from .credit_summary_operation_breakdown import CreditSummaryOperationBreakdown
|
|
68
69
|
from .credit_summary_response import CreditSummaryResponse
|
|
69
|
-
from .credits_summary_response import CreditsSummaryResponse
|
|
70
|
-
from .credits_summary_response_credits_by_addon_type_0_item import (
|
|
71
|
-
CreditsSummaryResponseCreditsByAddonType0Item,
|
|
72
|
-
)
|
|
73
70
|
from .custom_schema_definition import CustomSchemaDefinition
|
|
74
71
|
from .custom_schema_definition_metadata import CustomSchemaDefinitionMetadata
|
|
75
72
|
from .custom_schema_definition_nodes_item import CustomSchemaDefinitionNodesItem
|
|
@@ -108,34 +105,13 @@ from .forgot_password_request import ForgotPasswordRequest
|
|
|
108
105
|
from .forgot_password_response_forgotpassword import (
|
|
109
106
|
ForgotPasswordResponseForgotpassword,
|
|
110
107
|
)
|
|
111
|
-
from .get_all_credit_summaries_response_getallcreditsummaries import (
|
|
112
|
-
GetAllCreditSummariesResponseGetallcreditsummaries,
|
|
113
|
-
)
|
|
114
|
-
from .get_all_shared_repository_limits_response_getallsharedrepositorylimits import (
|
|
115
|
-
GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
|
|
116
|
-
)
|
|
117
108
|
from .get_current_auth_user_response_getcurrentauthuser import (
|
|
118
109
|
GetCurrentAuthUserResponseGetcurrentauthuser,
|
|
119
110
|
)
|
|
120
|
-
from .get_current_graph_bill_response_getcurrentgraphbill import (
|
|
121
|
-
GetCurrentGraphBillResponseGetcurrentgraphbill,
|
|
122
|
-
)
|
|
123
111
|
from .get_file_info_response import GetFileInfoResponse
|
|
124
|
-
from .get_graph_billing_history_response_getgraphbillinghistory import (
|
|
125
|
-
GetGraphBillingHistoryResponseGetgraphbillinghistory,
|
|
126
|
-
)
|
|
127
|
-
from .get_graph_monthly_bill_response_getgraphmonthlybill import (
|
|
128
|
-
GetGraphMonthlyBillResponseGetgraphmonthlybill,
|
|
129
|
-
)
|
|
130
|
-
from .get_graph_usage_details_response_getgraphusagedetails import (
|
|
131
|
-
GetGraphUsageDetailsResponseGetgraphusagedetails,
|
|
132
|
-
)
|
|
133
112
|
from .get_operation_status_response_getoperationstatus import (
|
|
134
113
|
GetOperationStatusResponseGetoperationstatus,
|
|
135
114
|
)
|
|
136
|
-
from .get_shared_repository_limits_response_getsharedrepositorylimits import (
|
|
137
|
-
GetSharedRepositoryLimitsResponseGetsharedrepositorylimits,
|
|
138
|
-
)
|
|
139
115
|
from .get_storage_usage_response_getstorageusage import (
|
|
140
116
|
GetStorageUsageResponseGetstorageusage,
|
|
141
117
|
)
|
|
@@ -149,6 +125,7 @@ from .graph_metrics_response_node_counts import GraphMetricsResponseNodeCounts
|
|
|
149
125
|
from .graph_metrics_response_relationship_counts import (
|
|
150
126
|
GraphMetricsResponseRelationshipCounts,
|
|
151
127
|
)
|
|
128
|
+
from .graph_subscription_response import GraphSubscriptionResponse
|
|
152
129
|
from .graph_subscription_tier import GraphSubscriptionTier
|
|
153
130
|
from .graph_subscriptions import GraphSubscriptions
|
|
154
131
|
from .graph_tier_backup import GraphTierBackup
|
|
@@ -157,9 +134,7 @@ from .graph_tier_info import GraphTierInfo
|
|
|
157
134
|
from .graph_tier_instance import GraphTierInstance
|
|
158
135
|
from .graph_tier_limits import GraphTierLimits
|
|
159
136
|
from .graph_usage_response import GraphUsageResponse
|
|
160
|
-
from .
|
|
161
|
-
from .graph_usage_response_recent_activity import GraphUsageResponseRecentActivity
|
|
162
|
-
from .graph_usage_response_storage_usage import GraphUsageResponseStorageUsage
|
|
137
|
+
from .graph_usage_response_recent_events_item import GraphUsageResponseRecentEventsItem
|
|
163
138
|
from .health_status import HealthStatus
|
|
164
139
|
from .health_status_details_type_0 import HealthStatusDetailsType0
|
|
165
140
|
from .http_validation_error import HTTPValidationError
|
|
@@ -194,6 +169,9 @@ from .password_check_response import PasswordCheckResponse
|
|
|
194
169
|
from .password_check_response_character_types import PasswordCheckResponseCharacterTypes
|
|
195
170
|
from .password_policy_response import PasswordPolicyResponse
|
|
196
171
|
from .password_policy_response_policy import PasswordPolicyResponsePolicy
|
|
172
|
+
from .performance_insights import PerformanceInsights
|
|
173
|
+
from .performance_insights_operation_stats import PerformanceInsightsOperationStats
|
|
174
|
+
from .performance_insights_slow_queries_item import PerformanceInsightsSlowQueriesItem
|
|
197
175
|
from .plaid_connection_config import PlaidConnectionConfig
|
|
198
176
|
from .plaid_connection_config_accounts_type_0_item import (
|
|
199
177
|
PlaidConnectionConfigAccountsType0Item,
|
|
@@ -205,11 +183,8 @@ from .query_limits import QueryLimits
|
|
|
205
183
|
from .quick_books_connection_config import QuickBooksConnectionConfig
|
|
206
184
|
from .rate_limits import RateLimits
|
|
207
185
|
from .register_request import RegisterRequest
|
|
208
|
-
from .repository_credits_response import RepositoryCreditsResponse
|
|
209
186
|
from .repository_info import RepositoryInfo
|
|
210
|
-
from .repository_plan import RepositoryPlan
|
|
211
187
|
from .repository_subscriptions import RepositorySubscriptions
|
|
212
|
-
from .repository_type import RepositoryType
|
|
213
188
|
from .resend_verification_email_response_resendverificationemail import (
|
|
214
189
|
ResendVerificationEmailResponseResendverificationemail,
|
|
215
190
|
)
|
|
@@ -245,15 +220,12 @@ from .storage_info_included_per_tier import StorageInfoIncludedPerTier
|
|
|
245
220
|
from .storage_info_overage_pricing import StorageInfoOveragePricing
|
|
246
221
|
from .storage_limit_response import StorageLimitResponse
|
|
247
222
|
from .storage_limits import StorageLimits
|
|
223
|
+
from .storage_summary import StorageSummary
|
|
248
224
|
from .subgraph_quota_response import SubgraphQuotaResponse
|
|
249
225
|
from .subgraph_response import SubgraphResponse
|
|
250
226
|
from .subgraph_response_metadata_type_0 import SubgraphResponseMetadataType0
|
|
251
227
|
from .subgraph_summary import SubgraphSummary
|
|
252
228
|
from .subgraph_type import SubgraphType
|
|
253
|
-
from .subscription_info import SubscriptionInfo
|
|
254
|
-
from .subscription_info_metadata import SubscriptionInfoMetadata
|
|
255
|
-
from .subscription_request import SubscriptionRequest
|
|
256
|
-
from .subscription_response import SubscriptionResponse
|
|
257
229
|
from .success_response import SuccessResponse
|
|
258
230
|
from .success_response_data_type_0 import SuccessResponseDataType0
|
|
259
231
|
from .sync_connection_request import SyncConnectionRequest
|
|
@@ -268,7 +240,6 @@ from .table_ingest_result import TableIngestResult
|
|
|
268
240
|
from .table_list_response import TableListResponse
|
|
269
241
|
from .table_query_request import TableQueryRequest
|
|
270
242
|
from .table_query_response import TableQueryResponse
|
|
271
|
-
from .tier_upgrade_request import TierUpgradeRequest
|
|
272
243
|
from .token_pricing import TokenPricing
|
|
273
244
|
from .transaction_summary_response import TransactionSummaryResponse
|
|
274
245
|
from .update_api_key_request import UpdateAPIKeyRequest
|
|
@@ -277,30 +248,16 @@ from .update_file_status_response_updatefilestatus import (
|
|
|
277
248
|
)
|
|
278
249
|
from .update_password_request import UpdatePasswordRequest
|
|
279
250
|
from .update_user_request import UpdateUserRequest
|
|
280
|
-
from .
|
|
281
|
-
from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
|
|
282
|
-
from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
|
|
283
|
-
from .user_analytics_response_limits import UserAnalyticsResponseLimits
|
|
284
|
-
from .user_analytics_response_recent_activity_item import (
|
|
285
|
-
UserAnalyticsResponseRecentActivityItem,
|
|
286
|
-
)
|
|
287
|
-
from .user_analytics_response_user_info import UserAnalyticsResponseUserInfo
|
|
288
|
-
from .user_graph_summary import UserGraphSummary
|
|
251
|
+
from .upgrade_subscription_request import UpgradeSubscriptionRequest
|
|
289
252
|
from .user_graphs_response import UserGraphsResponse
|
|
290
253
|
from .user_limits_response import UserLimitsResponse
|
|
291
254
|
from .user_response import UserResponse
|
|
292
|
-
from .user_subscriptions_response import UserSubscriptionsResponse
|
|
293
255
|
from .user_usage_response import UserUsageResponse
|
|
294
256
|
from .user_usage_response_graphs import UserUsageResponseGraphs
|
|
295
|
-
from .user_usage_summary_response import UserUsageSummaryResponse
|
|
296
|
-
from .user_usage_summary_response_usage_vs_limits import (
|
|
297
|
-
UserUsageSummaryResponseUsageVsLimits,
|
|
298
|
-
)
|
|
299
257
|
from .validation_error import ValidationError
|
|
300
258
|
|
|
301
259
|
__all__ = (
|
|
302
260
|
"AccountInfo",
|
|
303
|
-
"AddOnCreditInfo",
|
|
304
261
|
"AgentListResponse",
|
|
305
262
|
"AgentListResponseAgents",
|
|
306
263
|
"AgentListResponseAgentsAdditionalProperty",
|
|
@@ -352,12 +309,12 @@ __all__ = (
|
|
|
352
309
|
"CreateConnectionRequest",
|
|
353
310
|
"CreateConnectionRequestProvider",
|
|
354
311
|
"CreateGraphRequest",
|
|
312
|
+
"CreateRepositorySubscriptionRequest",
|
|
355
313
|
"CreateSubgraphRequest",
|
|
356
314
|
"CreateSubgraphRequestMetadataType0",
|
|
357
315
|
"CreditLimits",
|
|
358
|
-
"CreditsSummaryResponse",
|
|
359
|
-
"CreditsSummaryResponseCreditsByAddonType0Item",
|
|
360
316
|
"CreditSummary",
|
|
317
|
+
"CreditSummaryOperationBreakdown",
|
|
361
318
|
"CreditSummaryResponse",
|
|
362
319
|
"CustomSchemaDefinition",
|
|
363
320
|
"CustomSchemaDefinitionMetadata",
|
|
@@ -387,16 +344,9 @@ __all__ = (
|
|
|
387
344
|
"FileUploadResponse",
|
|
388
345
|
"ForgotPasswordRequest",
|
|
389
346
|
"ForgotPasswordResponseForgotpassword",
|
|
390
|
-
"GetAllCreditSummariesResponseGetallcreditsummaries",
|
|
391
|
-
"GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits",
|
|
392
347
|
"GetCurrentAuthUserResponseGetcurrentauthuser",
|
|
393
|
-
"GetCurrentGraphBillResponseGetcurrentgraphbill",
|
|
394
348
|
"GetFileInfoResponse",
|
|
395
|
-
"GetGraphBillingHistoryResponseGetgraphbillinghistory",
|
|
396
|
-
"GetGraphMonthlyBillResponseGetgraphmonthlybill",
|
|
397
|
-
"GetGraphUsageDetailsResponseGetgraphusagedetails",
|
|
398
349
|
"GetOperationStatusResponseGetoperationstatus",
|
|
399
|
-
"GetSharedRepositoryLimitsResponseGetsharedrepositorylimits",
|
|
400
350
|
"GetStorageUsageResponseGetstorageusage",
|
|
401
351
|
"GraphInfo",
|
|
402
352
|
"GraphLimitsResponse",
|
|
@@ -406,6 +356,7 @@ __all__ = (
|
|
|
406
356
|
"GraphMetricsResponseHealthStatus",
|
|
407
357
|
"GraphMetricsResponseNodeCounts",
|
|
408
358
|
"GraphMetricsResponseRelationshipCounts",
|
|
359
|
+
"GraphSubscriptionResponse",
|
|
409
360
|
"GraphSubscriptions",
|
|
410
361
|
"GraphSubscriptionTier",
|
|
411
362
|
"GraphTierBackup",
|
|
@@ -414,9 +365,7 @@ __all__ = (
|
|
|
414
365
|
"GraphTierInstance",
|
|
415
366
|
"GraphTierLimits",
|
|
416
367
|
"GraphUsageResponse",
|
|
417
|
-
"
|
|
418
|
-
"GraphUsageResponseRecentActivity",
|
|
419
|
-
"GraphUsageResponseStorageUsage",
|
|
368
|
+
"GraphUsageResponseRecentEventsItem",
|
|
420
369
|
"HealthStatus",
|
|
421
370
|
"HealthStatusDetailsType0",
|
|
422
371
|
"HTTPValidationError",
|
|
@@ -447,6 +396,9 @@ __all__ = (
|
|
|
447
396
|
"PasswordCheckResponseCharacterTypes",
|
|
448
397
|
"PasswordPolicyResponse",
|
|
449
398
|
"PasswordPolicyResponsePolicy",
|
|
399
|
+
"PerformanceInsights",
|
|
400
|
+
"PerformanceInsightsOperationStats",
|
|
401
|
+
"PerformanceInsightsSlowQueriesItem",
|
|
450
402
|
"PlaidConnectionConfig",
|
|
451
403
|
"PlaidConnectionConfigAccountsType0Item",
|
|
452
404
|
"PlaidConnectionConfigInstitutionType0",
|
|
@@ -454,11 +406,8 @@ __all__ = (
|
|
|
454
406
|
"QuickBooksConnectionConfig",
|
|
455
407
|
"RateLimits",
|
|
456
408
|
"RegisterRequest",
|
|
457
|
-
"RepositoryCreditsResponse",
|
|
458
409
|
"RepositoryInfo",
|
|
459
|
-
"RepositoryPlan",
|
|
460
410
|
"RepositorySubscriptions",
|
|
461
|
-
"RepositoryType",
|
|
462
411
|
"ResendVerificationEmailResponseResendverificationemail",
|
|
463
412
|
"ResetPasswordRequest",
|
|
464
413
|
"ResetPasswordValidateResponse",
|
|
@@ -486,15 +435,12 @@ __all__ = (
|
|
|
486
435
|
"StorageInfoOveragePricing",
|
|
487
436
|
"StorageLimitResponse",
|
|
488
437
|
"StorageLimits",
|
|
438
|
+
"StorageSummary",
|
|
489
439
|
"SubgraphQuotaResponse",
|
|
490
440
|
"SubgraphResponse",
|
|
491
441
|
"SubgraphResponseMetadataType0",
|
|
492
442
|
"SubgraphSummary",
|
|
493
443
|
"SubgraphType",
|
|
494
|
-
"SubscriptionInfo",
|
|
495
|
-
"SubscriptionInfoMetadata",
|
|
496
|
-
"SubscriptionRequest",
|
|
497
|
-
"SubscriptionResponse",
|
|
498
444
|
"SuccessResponse",
|
|
499
445
|
"SuccessResponseDataType0",
|
|
500
446
|
"SyncConnectionRequest",
|
|
@@ -505,27 +451,17 @@ __all__ = (
|
|
|
505
451
|
"TableListResponse",
|
|
506
452
|
"TableQueryRequest",
|
|
507
453
|
"TableQueryResponse",
|
|
508
|
-
"TierUpgradeRequest",
|
|
509
454
|
"TokenPricing",
|
|
510
455
|
"TransactionSummaryResponse",
|
|
511
456
|
"UpdateAPIKeyRequest",
|
|
512
457
|
"UpdateFileStatusResponseUpdatefilestatus",
|
|
513
458
|
"UpdatePasswordRequest",
|
|
514
459
|
"UpdateUserRequest",
|
|
515
|
-
"
|
|
516
|
-
"UserAnalyticsResponseApiUsage",
|
|
517
|
-
"UserAnalyticsResponseGraphUsage",
|
|
518
|
-
"UserAnalyticsResponseLimits",
|
|
519
|
-
"UserAnalyticsResponseRecentActivityItem",
|
|
520
|
-
"UserAnalyticsResponseUserInfo",
|
|
460
|
+
"UpgradeSubscriptionRequest",
|
|
521
461
|
"UserGraphsResponse",
|
|
522
|
-
"UserGraphSummary",
|
|
523
462
|
"UserLimitsResponse",
|
|
524
463
|
"UserResponse",
|
|
525
|
-
"UserSubscriptionsResponse",
|
|
526
464
|
"UserUsageResponse",
|
|
527
465
|
"UserUsageResponseGraphs",
|
|
528
|
-
"UserUsageSummaryResponse",
|
|
529
|
-
"UserUsageSummaryResponseUsageVsLimits",
|
|
530
466
|
"ValidationError",
|
|
531
467
|
)
|
|
@@ -4,28 +4,44 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="CreateRepositorySubscriptionRequest")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
12
|
-
"""
|
|
11
|
+
class CreateRepositorySubscriptionRequest:
|
|
12
|
+
"""Request to create a repository subscription.
|
|
13
13
|
|
|
14
|
+
Attributes:
|
|
15
|
+
plan_name (str): Plan name for the repository subscription
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
plan_name: str
|
|
14
19
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
20
|
|
|
16
21
|
def to_dict(self) -> dict[str, Any]:
|
|
22
|
+
plan_name = self.plan_name
|
|
23
|
+
|
|
17
24
|
field_dict: dict[str, Any] = {}
|
|
18
25
|
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update(
|
|
27
|
+
{
|
|
28
|
+
"plan_name": plan_name,
|
|
29
|
+
}
|
|
30
|
+
)
|
|
19
31
|
|
|
20
32
|
return field_dict
|
|
21
33
|
|
|
22
34
|
@classmethod
|
|
23
35
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
36
|
d = dict(src_dict)
|
|
25
|
-
|
|
37
|
+
plan_name = d.pop("plan_name")
|
|
38
|
+
|
|
39
|
+
create_repository_subscription_request = cls(
|
|
40
|
+
plan_name=plan_name,
|
|
41
|
+
)
|
|
26
42
|
|
|
27
|
-
|
|
28
|
-
return
|
|
43
|
+
create_repository_subscription_request.additional_properties = d
|
|
44
|
+
return create_repository_subscription_request
|
|
29
45
|
|
|
30
46
|
@property
|
|
31
47
|
def additional_keys(self) -> list[str]:
|
|
@@ -1,137 +1,103 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.credit_summary_operation_breakdown import (
|
|
9
|
+
CreditSummaryOperationBreakdown,
|
|
10
|
+
)
|
|
11
|
+
|
|
8
12
|
|
|
9
13
|
T = TypeVar("T", bound="CreditSummary")
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
@_attrs_define
|
|
13
17
|
class CreditSummary:
|
|
14
|
-
"""Credit
|
|
18
|
+
"""Credit consumption summary.
|
|
15
19
|
|
|
16
20
|
Attributes:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
last_allocation_date (Union[None, Unset, str]): Last allocation date (ISO format)
|
|
25
|
-
next_allocation_date (Union[None, Unset, str]): Next allocation date (ISO format)
|
|
21
|
+
graph_tier (str): Subscription tier
|
|
22
|
+
total_credits_consumed (float): Total credits consumed
|
|
23
|
+
total_base_cost (float): Total base cost before multipliers
|
|
24
|
+
operation_breakdown (CreditSummaryOperationBreakdown): Credit usage by operation type
|
|
25
|
+
cached_operations (int): Number of cached operations
|
|
26
|
+
billable_operations (int): Number of billable operations
|
|
27
|
+
transaction_count (int): Total transaction count
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
last_allocation_date: Union[None, Unset, str] = UNSET
|
|
36
|
-
next_allocation_date: Union[None, Unset, str] = UNSET
|
|
30
|
+
graph_tier: str
|
|
31
|
+
total_credits_consumed: float
|
|
32
|
+
total_base_cost: float
|
|
33
|
+
operation_breakdown: "CreditSummaryOperationBreakdown"
|
|
34
|
+
cached_operations: int
|
|
35
|
+
billable_operations: int
|
|
36
|
+
transaction_count: int
|
|
37
37
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
38
38
|
|
|
39
39
|
def to_dict(self) -> dict[str, Any]:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
monthly_allocation = self.monthly_allocation
|
|
43
|
-
|
|
44
|
-
consumed_this_month = self.consumed_this_month
|
|
40
|
+
graph_tier = self.graph_tier
|
|
45
41
|
|
|
46
|
-
|
|
42
|
+
total_credits_consumed = self.total_credits_consumed
|
|
47
43
|
|
|
48
|
-
|
|
44
|
+
total_base_cost = self.total_base_cost
|
|
49
45
|
|
|
50
|
-
|
|
46
|
+
operation_breakdown = self.operation_breakdown.to_dict()
|
|
51
47
|
|
|
52
|
-
|
|
48
|
+
cached_operations = self.cached_operations
|
|
53
49
|
|
|
54
|
-
|
|
55
|
-
if isinstance(self.last_allocation_date, Unset):
|
|
56
|
-
last_allocation_date = UNSET
|
|
57
|
-
else:
|
|
58
|
-
last_allocation_date = self.last_allocation_date
|
|
50
|
+
billable_operations = self.billable_operations
|
|
59
51
|
|
|
60
|
-
|
|
61
|
-
if isinstance(self.next_allocation_date, Unset):
|
|
62
|
-
next_allocation_date = UNSET
|
|
63
|
-
else:
|
|
64
|
-
next_allocation_date = self.next_allocation_date
|
|
52
|
+
transaction_count = self.transaction_count
|
|
65
53
|
|
|
66
54
|
field_dict: dict[str, Any] = {}
|
|
67
55
|
field_dict.update(self.additional_properties)
|
|
68
56
|
field_dict.update(
|
|
69
57
|
{
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
58
|
+
"graph_tier": graph_tier,
|
|
59
|
+
"total_credits_consumed": total_credits_consumed,
|
|
60
|
+
"total_base_cost": total_base_cost,
|
|
61
|
+
"operation_breakdown": operation_breakdown,
|
|
62
|
+
"cached_operations": cached_operations,
|
|
63
|
+
"billable_operations": billable_operations,
|
|
64
|
+
"transaction_count": transaction_count,
|
|
77
65
|
}
|
|
78
66
|
)
|
|
79
|
-
if last_allocation_date is not UNSET:
|
|
80
|
-
field_dict["last_allocation_date"] = last_allocation_date
|
|
81
|
-
if next_allocation_date is not UNSET:
|
|
82
|
-
field_dict["next_allocation_date"] = next_allocation_date
|
|
83
67
|
|
|
84
68
|
return field_dict
|
|
85
69
|
|
|
86
70
|
@classmethod
|
|
87
71
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
monthly_allocation = d.pop("monthly_allocation")
|
|
92
|
-
|
|
93
|
-
consumed_this_month = d.pop("consumed_this_month")
|
|
94
|
-
|
|
95
|
-
usage_percentage = d.pop("usage_percentage")
|
|
96
|
-
|
|
97
|
-
rollover_credits = d.pop("rollover_credits")
|
|
72
|
+
from ..models.credit_summary_operation_breakdown import (
|
|
73
|
+
CreditSummaryOperationBreakdown,
|
|
74
|
+
)
|
|
98
75
|
|
|
99
|
-
|
|
76
|
+
d = dict(src_dict)
|
|
77
|
+
graph_tier = d.pop("graph_tier")
|
|
100
78
|
|
|
101
|
-
|
|
79
|
+
total_credits_consumed = d.pop("total_credits_consumed")
|
|
102
80
|
|
|
103
|
-
|
|
104
|
-
if data is None:
|
|
105
|
-
return data
|
|
106
|
-
if isinstance(data, Unset):
|
|
107
|
-
return data
|
|
108
|
-
return cast(Union[None, Unset, str], data)
|
|
81
|
+
total_base_cost = d.pop("total_base_cost")
|
|
109
82
|
|
|
110
|
-
|
|
111
|
-
d.pop("
|
|
83
|
+
operation_breakdown = CreditSummaryOperationBreakdown.from_dict(
|
|
84
|
+
d.pop("operation_breakdown")
|
|
112
85
|
)
|
|
113
86
|
|
|
114
|
-
|
|
115
|
-
if data is None:
|
|
116
|
-
return data
|
|
117
|
-
if isinstance(data, Unset):
|
|
118
|
-
return data
|
|
119
|
-
return cast(Union[None, Unset, str], data)
|
|
87
|
+
cached_operations = d.pop("cached_operations")
|
|
120
88
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
)
|
|
89
|
+
billable_operations = d.pop("billable_operations")
|
|
90
|
+
|
|
91
|
+
transaction_count = d.pop("transaction_count")
|
|
124
92
|
|
|
125
93
|
credit_summary = cls(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
last_allocation_date=last_allocation_date,
|
|
134
|
-
next_allocation_date=next_allocation_date,
|
|
94
|
+
graph_tier=graph_tier,
|
|
95
|
+
total_credits_consumed=total_credits_consumed,
|
|
96
|
+
total_base_cost=total_base_cost,
|
|
97
|
+
operation_breakdown=operation_breakdown,
|
|
98
|
+
cached_operations=cached_operations,
|
|
99
|
+
billable_operations=billable_operations,
|
|
100
|
+
transaction_count=transaction_count,
|
|
135
101
|
)
|
|
136
102
|
|
|
137
103
|
credit_summary.additional_properties = d
|
|
@@ -4,12 +4,12 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="CreditSummaryOperationBreakdown")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
12
|
-
"""
|
|
11
|
+
class CreditSummaryOperationBreakdown:
|
|
12
|
+
"""Credit usage by operation type"""
|
|
13
13
|
|
|
14
14
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
15
|
|
|
@@ -22,10 +22,10 @@ class GraphUsageResponseStorageUsage:
|
|
|
22
22
|
@classmethod
|
|
23
23
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
24
|
d = dict(src_dict)
|
|
25
|
-
|
|
25
|
+
credit_summary_operation_breakdown = cls()
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
return
|
|
27
|
+
credit_summary_operation_breakdown.additional_properties = d
|
|
28
|
+
return credit_summary_operation_breakdown
|
|
29
29
|
|
|
30
30
|
@property
|
|
31
31
|
def additional_keys(self) -> list[str]:
|