whop-sdk 0.0.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.
- whop_sdk/__init__.py +94 -0
- whop_sdk/_base_client.py +1995 -0
- whop_sdk/_client.py +800 -0
- whop_sdk/_compat.py +219 -0
- whop_sdk/_constants.py +14 -0
- whop_sdk/_exceptions.py +112 -0
- whop_sdk/_files.py +123 -0
- whop_sdk/_models.py +857 -0
- whop_sdk/_qs.py +150 -0
- whop_sdk/_resource.py +43 -0
- whop_sdk/_response.py +830 -0
- whop_sdk/_streaming.py +333 -0
- whop_sdk/_types.py +260 -0
- whop_sdk/_utils/__init__.py +64 -0
- whop_sdk/_utils/_compat.py +45 -0
- whop_sdk/_utils/_datetime_parse.py +136 -0
- whop_sdk/_utils/_logs.py +25 -0
- whop_sdk/_utils/_proxy.py +65 -0
- whop_sdk/_utils/_reflection.py +42 -0
- whop_sdk/_utils/_resources_proxy.py +24 -0
- whop_sdk/_utils/_streams.py +12 -0
- whop_sdk/_utils/_sync.py +58 -0
- whop_sdk/_utils/_transform.py +457 -0
- whop_sdk/_utils/_typing.py +156 -0
- whop_sdk/_utils/_utils.py +421 -0
- whop_sdk/_version.py +4 -0
- whop_sdk/lib/.keep +4 -0
- whop_sdk/pagination.py +61 -0
- whop_sdk/py.typed +0 -0
- whop_sdk/resources/__init__.py +540 -0
- whop_sdk/resources/access_tokens.py +341 -0
- whop_sdk/resources/account_links.py +211 -0
- whop_sdk/resources/app_builds.py +587 -0
- whop_sdk/resources/apps.py +684 -0
- whop_sdk/resources/authorized_users.py +353 -0
- whop_sdk/resources/chat_channels.py +469 -0
- whop_sdk/resources/checkout_configurations.py +776 -0
- whop_sdk/resources/companies.py +465 -0
- whop_sdk/resources/course_chapters.py +602 -0
- whop_sdk/resources/course_lesson_interactions.py +343 -0
- whop_sdk/resources/course_lessons.py +1040 -0
- whop_sdk/resources/course_students.py +327 -0
- whop_sdk/resources/courses.py +776 -0
- whop_sdk/resources/disputes.py +693 -0
- whop_sdk/resources/entries.py +556 -0
- whop_sdk/resources/experiences.py +983 -0
- whop_sdk/resources/forum_posts.py +656 -0
- whop_sdk/resources/forums.py +446 -0
- whop_sdk/resources/invoices.py +1099 -0
- whop_sdk/resources/ledger_accounts.py +171 -0
- whop_sdk/resources/members.py +429 -0
- whop_sdk/resources/memberships.py +818 -0
- whop_sdk/resources/messages.py +558 -0
- whop_sdk/resources/notifications.py +388 -0
- whop_sdk/resources/payment_tokens.py +359 -0
- whop_sdk/resources/payments.py +1040 -0
- whop_sdk/resources/plans.py +1001 -0
- whop_sdk/resources/products.py +970 -0
- whop_sdk/resources/promo_codes.py +668 -0
- whop_sdk/resources/reactions.py +423 -0
- whop_sdk/resources/refunds.py +347 -0
- whop_sdk/resources/reviews.py +332 -0
- whop_sdk/resources/setup_intents.py +349 -0
- whop_sdk/resources/shipments.py +451 -0
- whop_sdk/resources/support_channels.py +455 -0
- whop_sdk/resources/transfers.py +513 -0
- whop_sdk/resources/users.py +248 -0
- whop_sdk/resources/webhooks.py +69 -0
- whop_sdk/resources/withdrawals.py +341 -0
- whop_sdk/types/__init__.py +262 -0
- whop_sdk/types/access_token_create_params.py +64 -0
- whop_sdk/types/access_token_create_response.py +15 -0
- whop_sdk/types/account_link_create_params.py +27 -0
- whop_sdk/types/account_link_create_response.py +15 -0
- whop_sdk/types/app_build_create_params.py +72 -0
- whop_sdk/types/app_build_list_params.py +42 -0
- whop_sdk/types/app_build_list_response.py +50 -0
- whop_sdk/types/app_create_params.py +19 -0
- whop_sdk/types/app_list_params.py +59 -0
- whop_sdk/types/app_list_response.py +110 -0
- whop_sdk/types/app_type.py +7 -0
- whop_sdk/types/app_update_params.py +67 -0
- whop_sdk/types/assessment_question_types.py +7 -0
- whop_sdk/types/authorized_user_list_params.py +41 -0
- whop_sdk/types/authorized_user_list_response.py +33 -0
- whop_sdk/types/authorized_user_retrieve_response.py +33 -0
- whop_sdk/types/billing_reasons.py +9 -0
- whop_sdk/types/card_brands.py +25 -0
- whop_sdk/types/chat_channel_list_params.py +28 -0
- whop_sdk/types/chat_channel_list_response.py +43 -0
- whop_sdk/types/chat_channel_update_params.py +32 -0
- whop_sdk/types/checkout_configuration_create_params.py +373 -0
- whop_sdk/types/checkout_configuration_list_params.py +41 -0
- whop_sdk/types/checkout_configuration_list_response.py +104 -0
- whop_sdk/types/checkout_modes.py +7 -0
- whop_sdk/types/company_create_params.py +22 -0
- whop_sdk/types/company_list_params.py +38 -0
- whop_sdk/types/company_list_response.py +76 -0
- whop_sdk/types/course.py +122 -0
- whop_sdk/types/course_chapter.py +32 -0
- whop_sdk/types/course_chapter_create_params.py +16 -0
- whop_sdk/types/course_chapter_delete_response.py +7 -0
- whop_sdk/types/course_chapter_list_params.py +25 -0
- whop_sdk/types/course_chapter_list_response.py +16 -0
- whop_sdk/types/course_chapter_update_params.py +12 -0
- whop_sdk/types/course_create_params.py +78 -0
- whop_sdk/types/course_delete_response.py +7 -0
- whop_sdk/types/course_lesson_create_params.py +63 -0
- whop_sdk/types/course_lesson_delete_response.py +7 -0
- whop_sdk/types/course_lesson_interaction_completed_webhook_event.py +26 -0
- whop_sdk/types/course_lesson_interaction_list_params.py +34 -0
- whop_sdk/types/course_lesson_list_params.py +28 -0
- whop_sdk/types/course_lesson_list_response.py +57 -0
- whop_sdk/types/course_lesson_mark_as_completed_response.py +7 -0
- whop_sdk/types/course_lesson_start_response.py +7 -0
- whop_sdk/types/course_lesson_submit_assessment_params.py +26 -0
- whop_sdk/types/course_lesson_submit_assessment_response.py +62 -0
- whop_sdk/types/course_lesson_update_params.py +222 -0
- whop_sdk/types/course_list_params.py +28 -0
- whop_sdk/types/course_list_response.py +90 -0
- whop_sdk/types/course_student_list_params.py +28 -0
- whop_sdk/types/course_student_list_response.py +42 -0
- whop_sdk/types/course_student_retrieve_response.py +61 -0
- whop_sdk/types/course_update_params.py +114 -0
- whop_sdk/types/course_visibilities.py +7 -0
- whop_sdk/types/dispute.py +284 -0
- whop_sdk/types/dispute_created_webhook_event.py +26 -0
- whop_sdk/types/dispute_list_params.py +38 -0
- whop_sdk/types/dispute_list_response.py +77 -0
- whop_sdk/types/dispute_statuses.py +17 -0
- whop_sdk/types/dispute_update_evidence_params.py +159 -0
- whop_sdk/types/dispute_updated_webhook_event.py +26 -0
- whop_sdk/types/embed_type.py +7 -0
- whop_sdk/types/entry_approve_response.py +10 -0
- whop_sdk/types/entry_approved_webhook_event.py +26 -0
- whop_sdk/types/entry_created_webhook_event.py +26 -0
- whop_sdk/types/entry_deleted_webhook_event.py +26 -0
- whop_sdk/types/entry_denied_webhook_event.py +26 -0
- whop_sdk/types/entry_list_params.py +52 -0
- whop_sdk/types/entry_list_response.py +56 -0
- whop_sdk/types/experience_attach_params.py +12 -0
- whop_sdk/types/experience_create_params.py +22 -0
- whop_sdk/types/experience_delete_response.py +7 -0
- whop_sdk/types/experience_detach_params.py +12 -0
- whop_sdk/types/experience_duplicate_params.py +13 -0
- whop_sdk/types/experience_list_params.py +40 -0
- whop_sdk/types/experience_list_response.py +73 -0
- whop_sdk/types/experience_update_params.py +46 -0
- whop_sdk/types/forum_list_params.py +28 -0
- whop_sdk/types/forum_list_response.py +33 -0
- whop_sdk/types/forum_post_create_params.py +101 -0
- whop_sdk/types/forum_post_list_params.py +31 -0
- whop_sdk/types/forum_post_list_response.py +60 -0
- whop_sdk/types/forum_post_update_params.py +56 -0
- whop_sdk/types/forum_post_visibility_type.py +7 -0
- whop_sdk/types/forum_update_params.py +23 -0
- whop_sdk/types/invoice_create_params.py +515 -0
- whop_sdk/types/invoice_created_webhook_event.py +26 -0
- whop_sdk/types/invoice_list_params.py +53 -0
- whop_sdk/types/invoice_paid_webhook_event.py +26 -0
- whop_sdk/types/invoice_past_due_webhook_event.py +26 -0
- whop_sdk/types/invoice_void_response.py +7 -0
- whop_sdk/types/invoice_voided_webhook_event.py +26 -0
- whop_sdk/types/languages.py +30 -0
- whop_sdk/types/ledger_account_retrieve_response.py +93 -0
- whop_sdk/types/lesson.py +219 -0
- whop_sdk/types/lesson_types.py +7 -0
- whop_sdk/types/lesson_visibilities.py +7 -0
- whop_sdk/types/member_list_params.py +73 -0
- whop_sdk/types/member_list_response.py +65 -0
- whop_sdk/types/member_retrieve_response.py +79 -0
- whop_sdk/types/membership_activated_webhook_event.py +29 -0
- whop_sdk/types/membership_cancel_params.py +13 -0
- whop_sdk/types/membership_deactivated_webhook_event.py +29 -0
- whop_sdk/types/membership_list_params.py +73 -0
- whop_sdk/types/membership_list_response.py +128 -0
- whop_sdk/types/membership_pause_params.py +16 -0
- whop_sdk/types/membership_update_params.py +13 -0
- whop_sdk/types/message_create_params.py +63 -0
- whop_sdk/types/message_list_params.py +30 -0
- whop_sdk/types/message_list_response.py +90 -0
- whop_sdk/types/message_update_params.py +45 -0
- whop_sdk/types/notification_create_params.py +93 -0
- whop_sdk/types/notification_create_response.py +10 -0
- whop_sdk/types/payment_create_params.py +162 -0
- whop_sdk/types/payment_failed_webhook_event.py +26 -0
- whop_sdk/types/payment_list_params.py +67 -0
- whop_sdk/types/payment_list_response.py +273 -0
- whop_sdk/types/payment_method_types.py +94 -0
- whop_sdk/types/payment_pending_webhook_event.py +26 -0
- whop_sdk/types/payment_provider.py +9 -0
- whop_sdk/types/payment_refund_params.py +13 -0
- whop_sdk/types/payment_succeeded_webhook_event.py +26 -0
- whop_sdk/types/payment_token_list_params.py +38 -0
- whop_sdk/types/payment_token_list_response.py +41 -0
- whop_sdk/types/payment_token_retrieve_params.py +12 -0
- whop_sdk/types/payment_token_retrieve_response.py +41 -0
- whop_sdk/types/plan_create_params.py +162 -0
- whop_sdk/types/plan_delete_response.py +7 -0
- whop_sdk/types/plan_list_params.py +57 -0
- whop_sdk/types/plan_list_response.py +128 -0
- whop_sdk/types/plan_update_params.py +155 -0
- whop_sdk/types/product_create_params.py +147 -0
- whop_sdk/types/product_delete_response.py +7 -0
- whop_sdk/types/product_list_params.py +49 -0
- whop_sdk/types/product_update_params.py +82 -0
- whop_sdk/types/promo_code.py +90 -0
- whop_sdk/types/promo_code_create_params.py +70 -0
- whop_sdk/types/promo_code_delete_response.py +7 -0
- whop_sdk/types/promo_code_list_params.py +45 -0
- whop_sdk/types/promo_code_list_response.py +79 -0
- whop_sdk/types/promo_code_status.py +7 -0
- whop_sdk/types/promo_duration.py +7 -0
- whop_sdk/types/reaction_create_params.py +19 -0
- whop_sdk/types/reaction_list_params.py +25 -0
- whop_sdk/types/reaction_list_response.py +32 -0
- whop_sdk/types/refund_created_webhook_event.py +154 -0
- whop_sdk/types/refund_list_params.py +38 -0
- whop_sdk/types/refund_list_response.py +53 -0
- whop_sdk/types/refund_reference_status.py +7 -0
- whop_sdk/types/refund_reference_type.py +9 -0
- whop_sdk/types/refund_retrieve_response.py +129 -0
- whop_sdk/types/refund_status.py +7 -0
- whop_sdk/types/refund_updated_webhook_event.py +154 -0
- whop_sdk/types/review_list_params.py +40 -0
- whop_sdk/types/review_list_response.py +78 -0
- whop_sdk/types/review_retrieve_response.py +103 -0
- whop_sdk/types/review_status.py +7 -0
- whop_sdk/types/setup_intent.py +111 -0
- whop_sdk/types/setup_intent_canceled_webhook_event.py +29 -0
- whop_sdk/types/setup_intent_list_params.py +38 -0
- whop_sdk/types/setup_intent_list_response.py +111 -0
- whop_sdk/types/setup_intent_requires_action_webhook_event.py +29 -0
- whop_sdk/types/setup_intent_status.py +7 -0
- whop_sdk/types/setup_intent_succeeded_webhook_event.py +29 -0
- whop_sdk/types/shared/__init__.py +62 -0
- whop_sdk/types/shared/access_level.py +7 -0
- whop_sdk/types/shared/access_pass_type.py +7 -0
- whop_sdk/types/shared/app.py +187 -0
- whop_sdk/types/shared/app_build.py +50 -0
- whop_sdk/types/shared/app_build_platforms.py +7 -0
- whop_sdk/types/shared/app_build_statuses.py +7 -0
- whop_sdk/types/shared/app_statuses.py +7 -0
- whop_sdk/types/shared/app_view_type.py +7 -0
- whop_sdk/types/shared/authorized_user_roles.py +9 -0
- whop_sdk/types/shared/business_types.py +22 -0
- whop_sdk/types/shared/chat_channel.py +43 -0
- whop_sdk/types/shared/checkout_configuration.py +104 -0
- whop_sdk/types/shared/collection_method.py +7 -0
- whop_sdk/types/shared/company.py +91 -0
- whop_sdk/types/shared/course_lesson_interaction.py +63 -0
- whop_sdk/types/shared/course_lesson_interaction_list_item.py +44 -0
- whop_sdk/types/shared/currency.py +93 -0
- whop_sdk/types/shared/custom_cta.py +21 -0
- whop_sdk/types/shared/direction.py +7 -0
- whop_sdk/types/shared/dms_post_types.py +7 -0
- whop_sdk/types/shared/email_notification_preferences.py +7 -0
- whop_sdk/types/shared/entry.py +70 -0
- whop_sdk/types/shared/entry_status.py +7 -0
- whop_sdk/types/shared/experience.py +91 -0
- whop_sdk/types/shared/forum.py +33 -0
- whop_sdk/types/shared/forum_post.py +60 -0
- whop_sdk/types/shared/friendly_receipt_status.py +24 -0
- whop_sdk/types/shared/global_affiliate_status.py +7 -0
- whop_sdk/types/shared/industry_types.py +67 -0
- whop_sdk/types/shared/invoice.py +64 -0
- whop_sdk/types/shared/invoice_list_item.py +64 -0
- whop_sdk/types/shared/invoice_status.py +7 -0
- whop_sdk/types/shared/member_most_recent_actions.py +22 -0
- whop_sdk/types/shared/member_statuses.py +7 -0
- whop_sdk/types/shared/membership.py +128 -0
- whop_sdk/types/shared/membership_status.py +9 -0
- whop_sdk/types/shared/message.py +90 -0
- whop_sdk/types/shared/page_info.py +21 -0
- whop_sdk/types/shared/payment.py +273 -0
- whop_sdk/types/shared/plan.py +159 -0
- whop_sdk/types/shared/plan_type.py +7 -0
- whop_sdk/types/shared/product.py +132 -0
- whop_sdk/types/shared/product_list_item.py +57 -0
- whop_sdk/types/shared/promo_type.py +7 -0
- whop_sdk/types/shared/reaction.py +32 -0
- whop_sdk/types/shared/receipt_status.py +7 -0
- whop_sdk/types/shared/release_method.py +7 -0
- whop_sdk/types/shared/shipment.py +48 -0
- whop_sdk/types/shared/shipment_carrier.py +84 -0
- whop_sdk/types/shared/shipment_status.py +18 -0
- whop_sdk/types/shared/shipment_substatus.py +36 -0
- whop_sdk/types/shared/support_channel.py +39 -0
- whop_sdk/types/shared/tax_type.py +7 -0
- whop_sdk/types/shared/transfer.py +112 -0
- whop_sdk/types/shared/visibility.py +7 -0
- whop_sdk/types/shared/visibility_filter.py +9 -0
- whop_sdk/types/shared/who_can_comment_types.py +7 -0
- whop_sdk/types/shared/who_can_post.py +7 -0
- whop_sdk/types/shared/who_can_post_types.py +7 -0
- whop_sdk/types/shared/who_can_react.py +7 -0
- whop_sdk/types/shared_params/__init__.py +34 -0
- whop_sdk/types/shared_params/access_level.py +9 -0
- whop_sdk/types/shared_params/access_pass_type.py +9 -0
- whop_sdk/types/shared_params/app_build_platforms.py +9 -0
- whop_sdk/types/shared_params/app_build_statuses.py +9 -0
- whop_sdk/types/shared_params/app_statuses.py +9 -0
- whop_sdk/types/shared_params/app_view_type.py +9 -0
- whop_sdk/types/shared_params/authorized_user_roles.py +11 -0
- whop_sdk/types/shared_params/business_types.py +24 -0
- whop_sdk/types/shared_params/collection_method.py +9 -0
- whop_sdk/types/shared_params/currency.py +95 -0
- whop_sdk/types/shared_params/custom_cta.py +23 -0
- whop_sdk/types/shared_params/direction.py +9 -0
- whop_sdk/types/shared_params/email_notification_preferences.py +9 -0
- whop_sdk/types/shared_params/entry_status.py +9 -0
- whop_sdk/types/shared_params/friendly_receipt_status.py +26 -0
- whop_sdk/types/shared_params/global_affiliate_status.py +9 -0
- whop_sdk/types/shared_params/industry_types.py +69 -0
- whop_sdk/types/shared_params/invoice_status.py +9 -0
- whop_sdk/types/shared_params/member_most_recent_actions.py +24 -0
- whop_sdk/types/shared_params/member_statuses.py +9 -0
- whop_sdk/types/shared_params/membership_status.py +11 -0
- whop_sdk/types/shared_params/plan_type.py +9 -0
- whop_sdk/types/shared_params/promo_type.py +9 -0
- whop_sdk/types/shared_params/receipt_status.py +9 -0
- whop_sdk/types/shared_params/release_method.py +9 -0
- whop_sdk/types/shared_params/tax_type.py +9 -0
- whop_sdk/types/shared_params/visibility.py +9 -0
- whop_sdk/types/shared_params/visibility_filter.py +11 -0
- whop_sdk/types/shared_params/who_can_comment_types.py +9 -0
- whop_sdk/types/shared_params/who_can_post.py +9 -0
- whop_sdk/types/shared_params/who_can_post_types.py +9 -0
- whop_sdk/types/shared_params/who_can_react.py +9 -0
- whop_sdk/types/shipment_create_params.py +18 -0
- whop_sdk/types/shipment_list_params.py +31 -0
- whop_sdk/types/shipment_list_response.py +48 -0
- whop_sdk/types/support_channel_create_params.py +15 -0
- whop_sdk/types/support_channel_list_params.py +40 -0
- whop_sdk/types/support_channel_list_response.py +39 -0
- whop_sdk/types/transfer_create_params.py +39 -0
- whop_sdk/types/transfer_list_params.py +50 -0
- whop_sdk/types/transfer_list_response.py +38 -0
- whop_sdk/types/unwrap_webhook_event.py +52 -0
- whop_sdk/types/user_check_access_response.py +14 -0
- whop_sdk/types/user_retrieve_response.py +36 -0
- whop_sdk/types/withdrawal_fee_types.py +7 -0
- whop_sdk/types/withdrawal_list_params.py +38 -0
- whop_sdk/types/withdrawal_list_response.py +45 -0
- whop_sdk/types/withdrawal_retrieve_response.py +154 -0
- whop_sdk/types/withdrawal_speeds.py +7 -0
- whop_sdk/types/withdrawal_status.py +9 -0
- whop_sdk/types/withdrawal_types.py +7 -0
- whop_sdk-0.0.10.dist-info/METADATA +509 -0
- whop_sdk-0.0.10.dist-info/RECORD +352 -0
- whop_sdk-0.0.10.dist-info/WHEEL +4 -0
- whop_sdk-0.0.10.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .currency import Currency as Currency
|
|
4
|
+
from .tax_type import TaxType as TaxType
|
|
5
|
+
from .direction import Direction as Direction
|
|
6
|
+
from .plan_type import PlanType as PlanType
|
|
7
|
+
from .custom_cta import CustomCta as CustomCta
|
|
8
|
+
from .promo_type import PromoType as PromoType
|
|
9
|
+
from .visibility import Visibility as Visibility
|
|
10
|
+
from .access_level import AccessLevel as AccessLevel
|
|
11
|
+
from .app_statuses import AppStatuses as AppStatuses
|
|
12
|
+
from .entry_status import EntryStatus as EntryStatus
|
|
13
|
+
from .who_can_post import WhoCanPost as WhoCanPost
|
|
14
|
+
from .app_view_type import AppViewType as AppViewType
|
|
15
|
+
from .who_can_react import WhoCanReact as WhoCanReact
|
|
16
|
+
from .business_types import BusinessTypes as BusinessTypes
|
|
17
|
+
from .industry_types import IndustryTypes as IndustryTypes
|
|
18
|
+
from .invoice_status import InvoiceStatus as InvoiceStatus
|
|
19
|
+
from .receipt_status import ReceiptStatus as ReceiptStatus
|
|
20
|
+
from .release_method import ReleaseMethod as ReleaseMethod
|
|
21
|
+
from .member_statuses import MemberStatuses as MemberStatuses
|
|
22
|
+
from .access_pass_type import AccessPassType as AccessPassType
|
|
23
|
+
from .collection_method import CollectionMethod as CollectionMethod
|
|
24
|
+
from .membership_status import MembershipStatus as MembershipStatus
|
|
25
|
+
from .visibility_filter import VisibilityFilter as VisibilityFilter
|
|
26
|
+
from .app_build_statuses import AppBuildStatuses as AppBuildStatuses
|
|
27
|
+
from .who_can_post_types import WhoCanPostTypes as WhoCanPostTypes
|
|
28
|
+
from .app_build_platforms import AppBuildPlatforms as AppBuildPlatforms
|
|
29
|
+
from .authorized_user_roles import AuthorizedUserRoles as AuthorizedUserRoles
|
|
30
|
+
from .who_can_comment_types import WhoCanCommentTypes as WhoCanCommentTypes
|
|
31
|
+
from .friendly_receipt_status import FriendlyReceiptStatus as FriendlyReceiptStatus
|
|
32
|
+
from .global_affiliate_status import GlobalAffiliateStatus as GlobalAffiliateStatus
|
|
33
|
+
from .member_most_recent_actions import MemberMostRecentActions as MemberMostRecentActions
|
|
34
|
+
from .email_notification_preferences import EmailNotificationPreferences as EmailNotificationPreferences
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AccessLevel"]
|
|
8
|
+
|
|
9
|
+
AccessLevel: TypeAlias = Literal["no_access", "admin", "customer"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AccessPassType"]
|
|
8
|
+
|
|
9
|
+
AccessPassType: TypeAlias = Literal["regular", "app", "experience_upsell", "api_only"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AppBuildPlatforms"]
|
|
8
|
+
|
|
9
|
+
AppBuildPlatforms: TypeAlias = Literal["ios", "android", "web"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AppBuildStatuses"]
|
|
8
|
+
|
|
9
|
+
AppBuildStatuses: TypeAlias = Literal["draft", "pending", "approved", "rejected"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AppStatuses"]
|
|
8
|
+
|
|
9
|
+
AppStatuses: TypeAlias = Literal["live", "unlisted", "hidden"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AppViewType"]
|
|
8
|
+
|
|
9
|
+
AppViewType: TypeAlias = Literal["hub", "discover", "dash", "dashboard", "analytics"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["AuthorizedUserRoles"]
|
|
8
|
+
|
|
9
|
+
AuthorizedUserRoles: TypeAlias = Literal[
|
|
10
|
+
"owner", "admin", "sales_manager", "moderator", "app_manager", "support", "manager"
|
|
11
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["BusinessTypes"]
|
|
8
|
+
|
|
9
|
+
BusinessTypes: TypeAlias = Literal[
|
|
10
|
+
"education_program",
|
|
11
|
+
"coaching",
|
|
12
|
+
"software",
|
|
13
|
+
"paid_group",
|
|
14
|
+
"newsletter",
|
|
15
|
+
"agency",
|
|
16
|
+
"physical_products",
|
|
17
|
+
"brick_and_mortar",
|
|
18
|
+
"events",
|
|
19
|
+
"coaching_and_courses",
|
|
20
|
+
"other",
|
|
21
|
+
"saas",
|
|
22
|
+
"course",
|
|
23
|
+
"community",
|
|
24
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["CollectionMethod"]
|
|
8
|
+
|
|
9
|
+
CollectionMethod: TypeAlias = Literal["send_invoice", "charge_automatically"]
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["Currency"]
|
|
8
|
+
|
|
9
|
+
Currency: TypeAlias = Literal[
|
|
10
|
+
"usd",
|
|
11
|
+
"sgd",
|
|
12
|
+
"inr",
|
|
13
|
+
"aud",
|
|
14
|
+
"brl",
|
|
15
|
+
"cad",
|
|
16
|
+
"dkk",
|
|
17
|
+
"eur",
|
|
18
|
+
"nok",
|
|
19
|
+
"gbp",
|
|
20
|
+
"sek",
|
|
21
|
+
"chf",
|
|
22
|
+
"hkd",
|
|
23
|
+
"huf",
|
|
24
|
+
"jpy",
|
|
25
|
+
"mxn",
|
|
26
|
+
"myr",
|
|
27
|
+
"pln",
|
|
28
|
+
"czk",
|
|
29
|
+
"nzd",
|
|
30
|
+
"aed",
|
|
31
|
+
"eth",
|
|
32
|
+
"ape",
|
|
33
|
+
"cop",
|
|
34
|
+
"ron",
|
|
35
|
+
"thb",
|
|
36
|
+
"bgn",
|
|
37
|
+
"idr",
|
|
38
|
+
"dop",
|
|
39
|
+
"php",
|
|
40
|
+
"try",
|
|
41
|
+
"krw",
|
|
42
|
+
"twd",
|
|
43
|
+
"vnd",
|
|
44
|
+
"pkr",
|
|
45
|
+
"clp",
|
|
46
|
+
"uyu",
|
|
47
|
+
"ars",
|
|
48
|
+
"zar",
|
|
49
|
+
"dzd",
|
|
50
|
+
"tnd",
|
|
51
|
+
"mad",
|
|
52
|
+
"kes",
|
|
53
|
+
"kwd",
|
|
54
|
+
"jod",
|
|
55
|
+
"all",
|
|
56
|
+
"xcd",
|
|
57
|
+
"amd",
|
|
58
|
+
"bsd",
|
|
59
|
+
"bhd",
|
|
60
|
+
"bob",
|
|
61
|
+
"bam",
|
|
62
|
+
"khr",
|
|
63
|
+
"crc",
|
|
64
|
+
"xof",
|
|
65
|
+
"egp",
|
|
66
|
+
"etb",
|
|
67
|
+
"gmd",
|
|
68
|
+
"ghs",
|
|
69
|
+
"gtq",
|
|
70
|
+
"gyd",
|
|
71
|
+
"ils",
|
|
72
|
+
"jmd",
|
|
73
|
+
"mop",
|
|
74
|
+
"mga",
|
|
75
|
+
"mur",
|
|
76
|
+
"mdl",
|
|
77
|
+
"mnt",
|
|
78
|
+
"nad",
|
|
79
|
+
"ngn",
|
|
80
|
+
"mkd",
|
|
81
|
+
"omr",
|
|
82
|
+
"pyg",
|
|
83
|
+
"pen",
|
|
84
|
+
"qar",
|
|
85
|
+
"rwf",
|
|
86
|
+
"sar",
|
|
87
|
+
"rsd",
|
|
88
|
+
"lkr",
|
|
89
|
+
"tzs",
|
|
90
|
+
"ttd",
|
|
91
|
+
"uzs",
|
|
92
|
+
"rub",
|
|
93
|
+
"btc",
|
|
94
|
+
"cny",
|
|
95
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["CustomCta"]
|
|
8
|
+
|
|
9
|
+
CustomCta: TypeAlias = Literal[
|
|
10
|
+
"get_access",
|
|
11
|
+
"join",
|
|
12
|
+
"order_now",
|
|
13
|
+
"shop_now",
|
|
14
|
+
"call_now",
|
|
15
|
+
"donate_now",
|
|
16
|
+
"contact_us",
|
|
17
|
+
"sign_up",
|
|
18
|
+
"subscribe",
|
|
19
|
+
"purchase",
|
|
20
|
+
"get_offer",
|
|
21
|
+
"apply_now",
|
|
22
|
+
"complete_order",
|
|
23
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["EmailNotificationPreferences"]
|
|
8
|
+
|
|
9
|
+
EmailNotificationPreferences: TypeAlias = Literal["all_admin_posts", "only_weekly_summary", "none"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["EntryStatus"]
|
|
8
|
+
|
|
9
|
+
EntryStatus: TypeAlias = Literal["drafted", "pending", "approved", "denied", "any"]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["FriendlyReceiptStatus"]
|
|
8
|
+
|
|
9
|
+
FriendlyReceiptStatus: TypeAlias = Literal[
|
|
10
|
+
"auto_refunded",
|
|
11
|
+
"refunded",
|
|
12
|
+
"partially_refunded",
|
|
13
|
+
"dispute_warning",
|
|
14
|
+
"open_resolution",
|
|
15
|
+
"open_dispute",
|
|
16
|
+
"failed",
|
|
17
|
+
"price_too_low",
|
|
18
|
+
"succeeded",
|
|
19
|
+
"drafted",
|
|
20
|
+
"uncollectible",
|
|
21
|
+
"unresolved",
|
|
22
|
+
"past_due",
|
|
23
|
+
"pending",
|
|
24
|
+
"incomplete",
|
|
25
|
+
"canceled",
|
|
26
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["GlobalAffiliateStatus"]
|
|
8
|
+
|
|
9
|
+
GlobalAffiliateStatus: TypeAlias = Literal["enabled", "disabled"]
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["IndustryTypes"]
|
|
8
|
+
|
|
9
|
+
IndustryTypes: TypeAlias = Literal[
|
|
10
|
+
"trading",
|
|
11
|
+
"sports_betting",
|
|
12
|
+
"reselling",
|
|
13
|
+
"fitness",
|
|
14
|
+
"amazon_fba",
|
|
15
|
+
"real_estate",
|
|
16
|
+
"kindle_book_publishing",
|
|
17
|
+
"dating",
|
|
18
|
+
"agencies",
|
|
19
|
+
"health_and_wellness",
|
|
20
|
+
"social_media",
|
|
21
|
+
"sales",
|
|
22
|
+
"business",
|
|
23
|
+
"ecommerce",
|
|
24
|
+
"video_games",
|
|
25
|
+
"home_services",
|
|
26
|
+
"ai",
|
|
27
|
+
"public_speaking",
|
|
28
|
+
"personal_finance",
|
|
29
|
+
"careers",
|
|
30
|
+
"travel",
|
|
31
|
+
"clipping",
|
|
32
|
+
"spirituality",
|
|
33
|
+
"vas",
|
|
34
|
+
"personal_development",
|
|
35
|
+
"software",
|
|
36
|
+
"other",
|
|
37
|
+
"marketing_agency",
|
|
38
|
+
"sales_agency",
|
|
39
|
+
"ai_agency",
|
|
40
|
+
"design_agency",
|
|
41
|
+
"coaching_agency",
|
|
42
|
+
"development_agency",
|
|
43
|
+
"recruiting_agency",
|
|
44
|
+
"customer_support_agency",
|
|
45
|
+
"clipping_agency",
|
|
46
|
+
"clothing",
|
|
47
|
+
"supplements",
|
|
48
|
+
"beauty_and_personal_care",
|
|
49
|
+
"fitness_gear",
|
|
50
|
+
"accessories",
|
|
51
|
+
"home_goods",
|
|
52
|
+
"electronics_and_gadgets",
|
|
53
|
+
"food_and_beverages",
|
|
54
|
+
"gym",
|
|
55
|
+
"restaurant",
|
|
56
|
+
"retail_store",
|
|
57
|
+
"coffee_shop",
|
|
58
|
+
"salon_spa",
|
|
59
|
+
"medical_dentist_office",
|
|
60
|
+
"hotel_lodging",
|
|
61
|
+
"auto_repair_shop",
|
|
62
|
+
"masterminds",
|
|
63
|
+
"webinars",
|
|
64
|
+
"bootcamps",
|
|
65
|
+
"convention",
|
|
66
|
+
"concerts",
|
|
67
|
+
"meetups",
|
|
68
|
+
"parties",
|
|
69
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["InvoiceStatus"]
|
|
8
|
+
|
|
9
|
+
InvoiceStatus: TypeAlias = Literal["open", "paid", "past_due", "void"]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemberMostRecentActions"]
|
|
8
|
+
|
|
9
|
+
MemberMostRecentActions: TypeAlias = Literal[
|
|
10
|
+
"canceling",
|
|
11
|
+
"churned",
|
|
12
|
+
"finished_split_pay",
|
|
13
|
+
"paused",
|
|
14
|
+
"paid_subscriber",
|
|
15
|
+
"paid_once",
|
|
16
|
+
"expiring",
|
|
17
|
+
"joined",
|
|
18
|
+
"drafted",
|
|
19
|
+
"left",
|
|
20
|
+
"trialing",
|
|
21
|
+
"pending_entry",
|
|
22
|
+
"renewing",
|
|
23
|
+
"past_due",
|
|
24
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["MemberStatuses"]
|
|
8
|
+
|
|
9
|
+
MemberStatuses: TypeAlias = Literal["drafted", "joined", "left"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["MembershipStatus"]
|
|
8
|
+
|
|
9
|
+
MembershipStatus: TypeAlias = Literal[
|
|
10
|
+
"trialing", "active", "past_due", "completed", "canceled", "expired", "unresolved", "drafted"
|
|
11
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["PromoType"]
|
|
8
|
+
|
|
9
|
+
PromoType: TypeAlias = Literal["percentage", "flat_amount"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["ReceiptStatus"]
|
|
8
|
+
|
|
9
|
+
ReceiptStatus: TypeAlias = Literal["draft", "open", "paid", "pending", "uncollectible", "unresolved", "void"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["ReleaseMethod"]
|
|
8
|
+
|
|
9
|
+
ReleaseMethod: TypeAlias = Literal["buy_now", "waitlist"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["TaxType"]
|
|
8
|
+
|
|
9
|
+
TaxType: TypeAlias = Literal["inclusive", "exclusive", "unspecified"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["Visibility"]
|
|
8
|
+
|
|
9
|
+
Visibility: TypeAlias = Literal["visible", "hidden", "archived", "quick_link"]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["VisibilityFilter"]
|
|
8
|
+
|
|
9
|
+
VisibilityFilter: TypeAlias = Literal[
|
|
10
|
+
"visible", "hidden", "archived", "quick_link", "all", "not_quick_link", "not_archived"
|
|
11
|
+
]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["WhoCanCommentTypes"]
|
|
8
|
+
|
|
9
|
+
WhoCanCommentTypes: TypeAlias = Literal["everyone", "admins"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["WhoCanPost"]
|
|
8
|
+
|
|
9
|
+
WhoCanPost: TypeAlias = Literal["everyone", "admins"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["WhoCanPostTypes"]
|
|
8
|
+
|
|
9
|
+
WhoCanPostTypes: TypeAlias = Literal["everyone", "admins"]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
__all__ = ["WhoCanReact"]
|
|
8
|
+
|
|
9
|
+
WhoCanReact: TypeAlias = Literal["everyone", "no_one"]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["ShipmentCreateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ShipmentCreateParams(TypedDict, total=False):
|
|
11
|
+
company_id: Required[str]
|
|
12
|
+
"""The ID of the company to create the shipment for"""
|
|
13
|
+
|
|
14
|
+
payment_id: Required[str]
|
|
15
|
+
"""The ID of the payment to create the shipment for"""
|
|
16
|
+
|
|
17
|
+
tracking_code: Required[str]
|
|
18
|
+
"""The tracking code for the shipment"""
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["ShipmentListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ShipmentListParams(TypedDict, total=False):
|
|
12
|
+
after: Optional[str]
|
|
13
|
+
"""Returns the elements in the list that come after the specified cursor."""
|
|
14
|
+
|
|
15
|
+
before: Optional[str]
|
|
16
|
+
"""Returns the elements in the list that come before the specified cursor."""
|
|
17
|
+
|
|
18
|
+
company_id: Optional[str]
|
|
19
|
+
"""The ID of the company"""
|
|
20
|
+
|
|
21
|
+
first: Optional[int]
|
|
22
|
+
"""Returns the first _n_ elements from the list."""
|
|
23
|
+
|
|
24
|
+
last: Optional[int]
|
|
25
|
+
"""Returns the last _n_ elements from the list."""
|
|
26
|
+
|
|
27
|
+
payment_id: Optional[str]
|
|
28
|
+
"""The ID of the payment"""
|
|
29
|
+
|
|
30
|
+
user_id: Optional[str]
|
|
31
|
+
"""The ID of the user"""
|