gmt-python-sdk 0.41.0__py3-none-any.whl → 0.42.0__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.
gmt/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "gmt"
4
- __version__ = "0.41.0" # x-release-please-version
4
+ __version__ = "0.42.0" # x-release-please-version
@@ -99,6 +99,9 @@ class PurchaseCreateResponse(BaseModel):
99
99
  volume = bigger discounts.
100
100
  """
101
101
 
102
+ purchase_source: Literal["BOT", "WEB", "API"]
103
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
104
+
102
105
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
103
106
  """
104
107
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -99,6 +99,9 @@ class PurchaseListResponse(BaseModel):
99
99
  volume = bigger discounts.
100
100
  """
101
101
 
102
+ purchase_source: Literal["BOT", "WEB", "API"]
103
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
104
+
102
105
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
103
106
  """
104
107
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -107,6 +107,9 @@ class Purchase(BaseModel):
107
107
  volume = bigger discounts.
108
108
  """
109
109
 
110
+ purchase_source: Literal["BOT", "WEB", "API"]
111
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
112
+
110
113
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
111
114
  """
112
115
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -123,6 +123,9 @@ class Purchase(BaseModel):
123
123
  volume = bigger discounts.
124
124
  """
125
125
 
126
+ purchase_source: Literal["BOT", "WEB", "API"]
127
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
128
+
126
129
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
127
130
  """
128
131
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -99,6 +99,9 @@ class PurchaseRetrieveResponse(BaseModel):
99
99
  volume = bigger discounts.
100
100
  """
101
101
 
102
+ purchase_source: Literal["BOT", "WEB", "API"]
103
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
104
+
102
105
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
103
106
  """
104
107
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -123,6 +123,9 @@ class Purchase(BaseModel):
123
123
  volume = bigger discounts.
124
124
  """
125
125
 
126
+ purchase_source: Literal["BOT", "WEB", "API"]
127
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
128
+
126
129
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
127
130
  """
128
131
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -99,6 +99,9 @@ class PurchasesByHashRetrieveResponse(BaseModel):
99
99
  volume = bigger discounts.
100
100
  """
101
101
 
102
+ purchase_source: Literal["BOT", "WEB", "API"]
103
+ """Purchase channel: BOT (Telegram), WEB (site JWT), API (x-api-key)"""
104
+
102
105
  purchase_type: Literal["SINGLE", "BULK", "ADMIN"]
103
106
  """
104
107
  Type of purchase: SINGLE (regular), BULK (batch purchase), ADMIN (admin
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gmt-python-sdk
3
- Version: 0.41.0
3
+ Version: 0.42.0
4
4
  Summary: The official Python library for the gmt API
5
5
  Project-URL: Homepage, https://github.com/cameo6/gmt-python-sdk
6
6
  Project-URL: Repository, https://github.com/cameo6/gmt-python-sdk
@@ -11,7 +11,7 @@ gmt/_resource.py,sha256=tzQAGA7Ym566OzUQrWchaSWxd2T8rdFGwjbyi7HNr4k,1082
11
11
  gmt/_response.py,sha256=fZv3RT9oYSzR5WLhYQS7bx-LIef3fxagqU2TTSQ7deg,28907
12
12
  gmt/_streaming.py,sha256=yV5P8s3xhk-icmoinjIe2BwrHF50Y6o2EvflwNNW9ok,10538
13
13
  gmt/_types.py,sha256=vHI2uhWcrCfpIF_xDAe8fTZUh6VILuduHCYf1Q1AF68,7699
14
- gmt/_version.py,sha256=Iyb1PS22-FisTiS6mxIDdlwB73-H1vb11JhNlv4KEjY,156
14
+ gmt/_version.py,sha256=8EyTt6nZnLhInFftd8FKlzGxKnFdj1ftdCLTlKNa9hY,156
15
15
  gmt/pagination.py,sha256=n809F911HoxSfQRx5Pc6zie3PPON1AxWN2Wx_ay8-ug,3336
16
16
  gmt/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  gmt/_utils/__init__.py,sha256=nQq-iFa5YxTaWySaLigatew5rHgTR0M75FNYm4mrO1s,2313
@@ -61,16 +61,16 @@ gmt/types/profile_change_password_response.py,sha256=xwhTPPZSZ3HIajSApM_sjOGnDpU
61
61
  gmt/types/profile_retrieve_response.py,sha256=ea84ZGXd3_uIZ4MlXh4zk3M_3jcM51jFTEVculbrYlw,1386
62
62
  gmt/types/profile_unbind_telegram_response.py,sha256=CAIdGojlfMpb4XHGVVf9p9hu2nOIC4VCvzWZ6yAwitI,284
63
63
  gmt/types/purchase_create_params.py,sha256=ljYx8_OkKefQnNg-2_otA1emeu7SpH0_cRhrhFoqync,338
64
- gmt/types/purchase_create_response.py,sha256=bW9VsiAJ6j9vJ2HrHwGeSxdtcuv507zXDFAEFHlHUIw,4119
64
+ gmt/types/purchase_create_response.py,sha256=9gYg6ezVOg_HbN0QnwIldxzlH5v_P1-CZkg5aumCDRc,4246
65
65
  gmt/types/purchase_list_params.py,sha256=k9ZyXgxoZMA8Jwtb-d7ujaqalSeu_9_Eeqp70JAclw8,1136
66
- gmt/types/purchase_list_response.py,sha256=qY5Gbqp8A0k88ChsvaOOYWhNEFYQvvJkhmChWtXnr30,4115
67
- gmt/types/purchase_refund_response.py,sha256=OtuHItvrKTN6SXo6512X01XTYaQ6TMmHlc9oseTMYgc,4764
66
+ gmt/types/purchase_list_response.py,sha256=uVKxKP5A3eWQ-NN0UFA2XdZf8gV4GfzOQAKC3IIS7ZM,4242
67
+ gmt/types/purchase_refund_response.py,sha256=BCjSSrisTppp05nDYlwIN70gI1cr0S-I1DmjNhR9K6M,4891
68
68
  gmt/types/purchase_request_verification_code_params.py,sha256=Ew9tLWBubCCHxv91gCeBBFJ4z3Y2C9i_ztt9PwsHbk8,692
69
- gmt/types/purchase_request_verification_code_response.py,sha256=LWACj2Cco_WDJUb-O54cfncH19v3vSnFPdrrN_VuY8I,4826
70
- gmt/types/purchase_retrieve_response.py,sha256=Hr27Ymj6Skgfz_gSoEvjRJlKOdLoKlrm9_yNwRbKMj4,4123
69
+ gmt/types/purchase_request_verification_code_response.py,sha256=gldIPyc5JdwnHJNfQnBOPNCBG5p_zSarFRv2Cnj_mUg,4953
70
+ gmt/types/purchase_retrieve_response.py,sha256=luliFiMlz3ctX9jCyBbDhWz72uEznD-cmZVW72EFE2U,4250
71
71
  gmt/types/purchases_by_hash_request_verification_code_params.py,sha256=9eklMEiEs_3_LHmOVKjyAO5bQt6WE_4zUDu9Lxfm-MM,706
72
- gmt/types/purchases_by_hash_request_verification_code_response.py,sha256=iLf2jXhHZdpIC9_FbXO2w0g0-_43IJxxtU2aMamrHK8,4840
73
- gmt/types/purchases_by_hash_retrieve_response.py,sha256=Aqg0Y-ozv1ysQfdxiY573PFt5wSxPU-uTCMISFwQAOI,4137
72
+ gmt/types/purchases_by_hash_request_verification_code_response.py,sha256=gbjsntxxnACa_HrVCncBhgqsN2k6H1FTIXxtW0Hc02Q,4967
73
+ gmt/types/purchases_by_hash_retrieve_response.py,sha256=t9I455YahTVdAL8OEhoNkU2ZSHFW8-bx9VMvvcqJzIs,4264
74
74
  gmt/types/service_get_server_time_response.py,sha256=QGpTh026xwxbI6NIJzmPn1RdKNqQcrQdak6YA-4mk14,506
75
75
  gmt/types/service_health_check_response.py,sha256=K2g4XTjetp3DXlHJwOdZiNTtuVn39T14gcy_wFZUNWA,867
76
76
  gmt/types/telegram_get_premium_price_params.py,sha256=0KWhs-mbTtF9Sm5aaz1TCbENPCD8mtiWzUIHjzbqrlw,381
@@ -100,7 +100,7 @@ gmt/types/telegram/purchase_list_premium_params.py,sha256=oW08T456ETaCsOQitxGpZr
100
100
  gmt/types/telegram/purchase_list_premium_response.py,sha256=M20qmhFRdyRctS2ZXfY4uhsdKs1r6tqVvry8ZWRLNkw,526
101
101
  gmt/types/telegram/purchase_list_stars_params.py,sha256=snmpMERjCERI-3vla6JSuLD7xEDHRmJAkPKqbsi9MzM,382
102
102
  gmt/types/telegram/purchase_list_stars_response.py,sha256=mct_Vt7O38kKPZd3y9rs0Zfn09gueGuIEanTZ7Vbb0A,502
103
- gmt_python_sdk-0.41.0.dist-info/METADATA,sha256=WA_gmkv4DhfDsRZaj_GVnBMoSyFDYF32l1f4d_ClQx8,14850
104
- gmt_python_sdk-0.41.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
105
- gmt_python_sdk-0.41.0.dist-info/licenses/LICENSE,sha256=WWPSicsDpqUVUEv9QtvRA2znGrMdkblc1ZSYzZPN6TQ,11333
106
- gmt_python_sdk-0.41.0.dist-info/RECORD,,
103
+ gmt_python_sdk-0.42.0.dist-info/METADATA,sha256=OtpPB24zg5x01tXLlZAxndsWQMZYgdXSRA_JkkKUK8Q,14850
104
+ gmt_python_sdk-0.42.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
105
+ gmt_python_sdk-0.42.0.dist-info/licenses/LICENSE,sha256=WWPSicsDpqUVUEv9QtvRA2znGrMdkblc1ZSYzZPN6TQ,11333
106
+ gmt_python_sdk-0.42.0.dist-info/RECORD,,