payi 0.1.0a33__py3-none-any.whl → 0.1.0a35__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.

Potentially problematic release.


This version of payi might be problematic. Click here for more details.

Files changed (52) hide show
  1. payi/_base_client.py +6 -0
  2. payi/_client.py +9 -9
  3. payi/_models.py +5 -1
  4. payi/_version.py +1 -1
  5. payi/lib/helpers.py +11 -8
  6. payi/resources/__init__.py +13 -13
  7. payi/resources/billing_models.py +4 -4
  8. payi/resources/experiences/__init__.py +0 -14
  9. payi/resources/experiences/experiences.py +0 -32
  10. payi/resources/experiences/properties.py +5 -5
  11. payi/resources/ingest.py +49 -23
  12. payi/resources/{budgets → limits}/__init__.py +13 -13
  13. payi/resources/{budgets/budgets.py → limits/limits.py} +213 -196
  14. payi/resources/{budgets → limits}/tags.py +68 -68
  15. payi/resources/requests/properties.py +5 -5
  16. payi/types/__init__.py +8 -6
  17. payi/types/billing_model.py +1 -1
  18. payi/types/billing_model_create_params.py +1 -1
  19. payi/types/billing_model_update_params.py +1 -1
  20. payi/types/category_resource_response.py +4 -0
  21. payi/types/experiences/__init__.py +0 -2
  22. payi/types/experiences/property_create_params.py +2 -2
  23. payi/types/ingest_event_param.py +29 -5
  24. payi/types/ingest_response.py +7 -7
  25. payi/types/ingest_units_params.py +28 -4
  26. payi/types/{budget_create_params.py → limit_create_params.py} +7 -9
  27. payi/types/limit_history_response.py +34 -0
  28. payi/types/{budget_list_params.py → limit_list_params.py} +3 -3
  29. payi/types/limit_reset_params.py +16 -0
  30. payi/types/{budget_response.py → limit_response.py} +11 -13
  31. payi/types/{budget_update_params.py → limit_update_params.py} +3 -3
  32. payi/types/{budgets → limits}/__init__.py +1 -1
  33. payi/types/{budgets/budget_tags.py → limits/limit_tags.py} +2 -2
  34. payi/types/{budgets → limits}/tag_create_params.py +1 -1
  35. payi/types/{budgets → limits}/tag_create_response.py +2 -2
  36. payi/types/{budgets → limits}/tag_delete_response.py +2 -2
  37. payi/types/{budgets → limits}/tag_list_response.py +2 -2
  38. payi/types/{budgets → limits}/tag_remove_params.py +1 -1
  39. payi/types/{budgets → limits}/tag_remove_response.py +2 -2
  40. payi/types/{budgets → limits}/tag_update_params.py +1 -1
  41. payi/types/{budgets → limits}/tag_update_response.py +2 -2
  42. payi/types/{paged_budget_list.py → paged_limit_list.py} +9 -11
  43. payi/types/requests/property_create_params.py +2 -2
  44. payi/types/shared/__init__.py +3 -0
  45. payi/types/{experiences/csat_response.py → shared/evaluation_response.py} +3 -2
  46. {payi-0.1.0a33.dist-info → payi-0.1.0a35.dist-info}/METADATA +22 -23
  47. {payi-0.1.0a33.dist-info → payi-0.1.0a35.dist-info}/RECORD +49 -49
  48. {payi-0.1.0a33.dist-info → payi-0.1.0a35.dist-info}/licenses/LICENSE +1 -1
  49. payi/resources/experiences/csat.py +0 -188
  50. payi/types/budget_history_response.py +0 -38
  51. payi/types/experiences/csat_create_params.py +0 -14
  52. {payi-0.1.0a33.dist-info → payi-0.1.0a35.dist-info}/WHEEL +0 -0
@@ -1,17 +1,17 @@
1
1
  payi/__init__.py,sha256=_eeZx9fx2Wp81adXh7qrpkmXCso7TiRSvIlLkQ0sQhY,2399
2
- payi/_base_client.py,sha256=s3JMTpYuiwtp-jn6iB79v4iuCc29C1Rr38el1IXMtHs,68034
3
- payi/_client.py,sha256=_iPFRupnvPvmhzNYHXhHJ1w1d4Qb0v1SqNqOCDA_ywo,18790
2
+ payi/_base_client.py,sha256=CiHJoJuzSweHB7oidXWIlWdU0vrLCpPc9hMlj_S-anE,68128
3
+ payi/_client.py,sha256=aUtMEmV02nTs3_pYYAR-OchCkofUHeXhhRs43tyDHLE,18760
4
4
  payi/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
5
  payi/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
6
6
  payi/_exceptions.py,sha256=ItygKNrNXIVY0H6LsGVZvFuAHB3Vtm_VZXmWzCnpHy0,3216
7
7
  payi/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
8
- payi/_models.py,sha256=iumFIitiWZTGITgF2nwOmEPIJGIEeJaUXhDlpaSN9Wg,28589
8
+ payi/_models.py,sha256=qpmTQHj3NFzkBiSiz0W8MO18UcOOqQPMBucMuBFUx7I,28649
9
9
  payi/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
10
  payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
11
11
  payi/_response.py,sha256=FnusjH7NI-PDlV8Tzwho9X71ua7kSfJbtio3WET4hQQ,28653
12
12
  payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
13
13
  payi/_types.py,sha256=2mbMK86K3W1aMTW7sOGQ-VND6-A2IuXKm8p4sYFztBU,6141
14
- payi/_version.py,sha256=tuIIm101fT11E9ZhjnDluSCtx2AfbJUAiK3K0_QwYzM,165
14
+ payi/_version.py,sha256=7BRKBIBlxWS4YKib97L3MxdnJsZS6EHQHD0PE-jXm3Q,165
15
15
  payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  payi/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  payi/_utils/_logs.py,sha256=fmnf5D9TOgkgZKfgYmSa3PiUc3SZgkchn6CzJUeo0SQ,768
@@ -23,83 +23,83 @@ payi/_utils/_transform.py,sha256=Dkkyr7OveGmOolepcvXmVJWE3kqim4b0nM0h7yWbgeY,134
23
23
  payi/_utils/_typing.py,sha256=nTJz0jcrQbEgxwy4TtAkNxuU0QHHlmc6mQtA6vIR8tg,4501
24
24
  payi/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
25
25
  payi/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
- payi/lib/helpers.py,sha256=JpI9vy--oJP5kUlcWK0yfyRUbIRMXkvLeUQC4g8rLNY,1472
27
- payi/resources/__init__.py,sha256=4Q0RFRJ3z9_Q0G5XSkuYYLp1t_DiDlN-kVpLYdOuNsQ,3605
28
- payi/resources/billing_models.py,sha256=WTehxCPUU2Otb7i8eXOUIQibJ2dMRjzJPbYdZTCq8Z4,20204
29
- payi/resources/ingest.py,sha256=37iLoReikYwGlBtSlNMjH9O4YvPGKuybfotQ_214Qlo,16903
26
+ payi/lib/helpers.py,sha256=LTxHX_VqOsAzsDjX6sQTKUCMF8QfnUJxeNrTC7dwbng,1601
27
+ payi/resources/__init__.py,sha256=isHGXSl9kOrZDduKrX3UenTwrdTpuKJVBjw6NYSBV20,3592
28
+ payi/resources/billing_models.py,sha256=6gNDCHOujPkDdwuvm924IYTDiCMmhsPGQb2XgAg0vak,20160
29
+ payi/resources/ingest.py,sha256=5mRUF5r82vkbYH82o5yGCA5AxOepVkwwTKsXK8xC548,18723
30
30
  payi/resources/price_modifiers.py,sha256=m9IX__C7_oPcZzGNpHJ2BsjMkGQ29JZrxLM1nFa8dL4,13483
31
- payi/resources/budgets/__init__.py,sha256=w1UhOdDXtUH4A91ME5Tw2nr9bRvPJyJY1YWiVVy7jj0,989
32
- payi/resources/budgets/budgets.py,sha256=GCTSojdFjDdWuJM2lO_-QKktFhncaA84xPx5C-RI7ks,27456
33
- payi/resources/budgets/tags.py,sha256=akVs7lGBb7O697lv-_nXT_xlh6dgQuaj6pWqTenO86s,18827
34
31
  payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7R1Spr6Gk,1093
35
32
  payi/resources/categories/categories.py,sha256=dGsAX313gZlLy5pSRo5_TexD1rPeWU666yHNwiUEFBA,16082
36
33
  payi/resources/categories/resources.py,sha256=I38bjAvpsLg4LRwJEvnKX3yyr_ErTxkkv12y19sYd7E,18712
37
- payi/resources/experiences/__init__.py,sha256=w7QTV5HMdPeOmmzUXzTefx9cqvzK8Tiqzv1sGUQLNVw,1980
38
- payi/resources/experiences/csat.py,sha256=b56MzdJAII-rHjWTIqDUPS2MlgIVuqGXBOWq4SgBSRI,6611
39
- payi/resources/experiences/experiences.py,sha256=Cbpp9T82Dqjb3TbF0nw53DtDhdbxwGhEWvT7dwohInM,15613
40
- payi/resources/experiences/properties.py,sha256=wpLSbDfp2SYVuPycP6U-BeXZZC5e9xS-WtdO68SqhfI,6612
34
+ payi/resources/experiences/__init__.py,sha256=Qiyv7Tv6UC-wWpb7XVTyHvBRE0IZTnEpykFpP27xKe0,1556
35
+ payi/resources/experiences/experiences.py,sha256=qt1K4SOHUZaQmFwHq_SHKX_O7-M8sh2RRlt1gDIqQ4M,14582
36
+ payi/resources/experiences/properties.py,sha256=eRL3YzxDWFslH7znnwknIw3HiOKcW8F2xEmAMqJXUAA,6576
41
37
  payi/resources/experiences/types.py,sha256=hz5dtgmVD2eEOUU7Y29yA_UGefl77-oT4sAHFVkp-qk,19380
38
+ payi/resources/limits/__init__.py,sha256=URXh9vglDH-dqbVGk-XcrDa8H5Bg2pgFuVQQecgEtaA,976
39
+ payi/resources/limits/limits.py,sha256=wuk78wR2Jk4iqd0wKzteV5c4CwGEyMbu8isUU5iFIa8,25832
40
+ payi/resources/limits/tags.py,sha256=z8-ABZWbvL9M_LOPdL-1shhy8QkNFqwY8GKmNETWA7M,18733
42
41
  payi/resources/requests/__init__.py,sha256=sWDD18RLuwPB2yzxA29HiwhFdmjZAxzy1qK_4abAZ9E,1080
43
- payi/resources/requests/properties.py,sha256=zVLz0mOTP2-ZgDDkAxN0TVxai0BcdrM9gJOffC_o6Rw,6516
42
+ payi/resources/requests/properties.py,sha256=jmyivu-_eAWGKhJayTmuzDtePankNfZAoekToX97_c4,6474
44
43
  payi/resources/requests/requests.py,sha256=tglPpryoEMbcz7nr1brk72Mi7-julmtmu3PfEhDYwoc,3771
45
- payi/types/__init__.py,sha256=nMDlmK73Ss1cnGqEE6H1O_3XpZhruixzT_NQsAaYJTY,2528
46
- payi/types/billing_model.py,sha256=zFVpBJ5T3v48Zw2wxrAC5s2eDgLO0Zl_uRqJvjioJAI,650
47
- payi/types/billing_model_create_params.py,sha256=ixhGf7xvBY6g0Zr2G7MrkMFV-9gZpdMgxSXISoiQZQg,558
44
+ payi/types/__init__.py,sha256=8qVzwUIYOJjsf9Ugl7no3vWuDYTOZx7qL7XU7TwuSkM,2640
45
+ payi/types/billing_model.py,sha256=zwpKldc0WvS3iGKtDb9KvfxCd3lkv8F4TwFy3ciGMXg,639
46
+ payi/types/billing_model_create_params.py,sha256=iVvmCcw0VxXGI_0YolknD3gmDH2lXVydU1dg2IY4dC4,547
48
47
  payi/types/billing_model_list_response.py,sha256=hOFjJPQAKiWEArZeZwd8e1lDi5e41zbN6NvV_1rzJeM,290
49
- payi/types/billing_model_update_params.py,sha256=npsGWB2A1fKVuGHxRsAZzy4BAQBxuSmrwuWAYPGvamk,558
50
- payi/types/budget_create_params.py,sha256=MDXUCZFK9SZHUTkB9OrQ8SeF1Xu7gmivuYSbcN9X-3w,632
51
- payi/types/budget_history_response.py,sha256=4SnisCLr1HImVecgonZK7HIm9WTmYl0YMaTbMP70qZY,934
52
- payi/types/budget_list_params.py,sha256=KaJ0H4tfp6mpCyanpysVJBTAMa5aA2Kv73uO_EsBsKE,367
53
- payi/types/budget_response.py,sha256=Zh8rC7fNaN7lIfGB-cF911x1lL9wU0L161FjuFve6Qc,813
54
- payi/types/budget_update_params.py,sha256=foD5cPa1p2M2cpVUqlwkXwSEQlQcBLaigUQMUGkvcic,334
48
+ payi/types/billing_model_update_params.py,sha256=NHNxDUZyYeYEroSyUx8eVh-kyY2YUo3jfRI-eMx2QAY,547
55
49
  payi/types/bulk_ingest_response.py,sha256=78J3vlL7muZx9Z20H--UkvM8P19g0cDL9SZoHy7XM68,1330
56
50
  payi/types/category_delete_resource_response.py,sha256=PLz4wZA1XMpS9SUYB_j4hEw5EoZ0VVE9Ll-MQ26SAfc,339
57
51
  payi/types/category_delete_response.py,sha256=exq8rNDGoq2-YN528V8osdcmuptJ-k63rmCvPMm6hLA,323
58
52
  payi/types/category_list_resources_response.py,sha256=n0DxY7N3Iftwfl0lUEx5v55V0kxbOX0EgjXlEfJtYRQ,337
59
53
  payi/types/category_list_response.py,sha256=5i7BhQ7kVlx8_r2MLJqAJwIELGitKE0uR63kIloLATI,294
60
- payi/types/category_resource_response.py,sha256=4PfQZbOIMOlE701uXGU-qegZOH8DN1VYcSClhfe_GOA,601
54
+ payi/types/category_resource_response.py,sha256=dZTQCJVaPdFCObHe2zUg6kKaHDtsgVzrO7FeyozHOs0,679
61
55
  payi/types/category_response.py,sha256=43i8bii20Sb-z9R5M1Ia6RGfRZmdQqsWPlv4Bl1XQf0,293
62
56
  payi/types/cost_data.py,sha256=PDmleZu-HKKOIh_EZ5EgWvpGiTUSJQadsxedWhFVgEI,283
63
57
  payi/types/cost_details.py,sha256=w9p79opEG3kcsjkRRP7niaMcUswdfB4Y7HCkVTcQ1zQ,307
64
58
  payi/types/default_response.py,sha256=o617LpRsCIZHCZxAc5nVI2JQ3HPGZo4gCDvSDkxkIJ8,270
65
59
  payi/types/experience_instance_response.py,sha256=YVWjFpCMAFXsXbU5tgMKrvXHC2F5MsTWdltzRiCUIQA,309
66
60
  payi/types/ingest_bulk_params.py,sha256=aIsugHkiAe_DnGQ8JVpDUDYr1YNzR5cUY9mMPqusIP0,381
67
- payi/types/ingest_event_param.py,sha256=2aes3mqwMQssi71LcWGsr-on6IKaLPsFu-rjaQGP7E4,1020
68
- payi/types/ingest_response.py,sha256=Ug83Sfl-3tELRh5rWFclOZYgsZBkvCjUXJXrp1J5Uac,1197
69
- payi/types/ingest_units_params.py,sha256=YTd47S6qbcbpZVYCJa0w6SieSDZdQtDf_29OA7mrHJM,1265
70
- payi/types/paged_budget_list.py,sha256=WGX0c6QGyTwjhsgkABsvXXRaBFPLVg6gPbph_qtVmJg,1371
61
+ payi/types/ingest_event_param.py,sha256=0bmn4SJuEFyPDomjCJg4rqvW3Q1j_3GWQUV2ppjnSuc,1620
62
+ payi/types/ingest_response.py,sha256=14VWaX91XuVZth1JBHY1djw8nF-0o6EK4N_WPq_p-Wc,1193
63
+ payi/types/ingest_units_params.py,sha256=xnKEoxy62uvWmugAU6ho9s3KwaKBe-G4aZPMlH3Jw-I,1870
64
+ payi/types/limit_create_params.py,sha256=SbNoXHwy24kTTOxDhtcewtKxEkmXtTLYh4CTGysojys,578
65
+ payi/types/limit_history_response.py,sha256=sCx2qKBiHU9X2KrYWV8NZiarYMGurof5GF4QobR2-EU,787
66
+ payi/types/limit_list_params.py,sha256=iWM67oL53y2IZ7D3Gyy8mdYv-B7vF-rbmRFn7SBUnJk,364
67
+ payi/types/limit_reset_params.py,sha256=vgqImSM89pRYY0Z2RNrJuQ6WeDX72ZPg3GWpL9EVEKs,476
68
+ payi/types/limit_response.py,sha256=wYNsbsm5oMtF7W1sTbxlZ5VE0XaS_UbP6y7ZXGKfwqk,752
69
+ payi/types/limit_update_params.py,sha256=crY4w75FWcEXbzysq1rPfD37qR5PTy_dwVRY4C_-T1w,331
70
+ payi/types/paged_limit_list.py,sha256=tUMj5FsxXHGfBubxxltwahwiTl4TaCiVHpv4zmrTb4Q,1314
71
71
  payi/types/price_modifier.py,sha256=Sw_5tzCGnpjQzR5aZ70_ATpfBRQA_0ue2NRM3yMcvj0,531
72
72
  payi/types/price_modifier_create_params.py,sha256=RpcYr2JYFu-pxzY4Dx1ESMp9-FBHfKt03Iw-3tlZvXQ,404
73
73
  payi/types/price_modifier_retrieve_response.py,sha256=oFXWr38-O7KHItQlSsr7K8-Arpjq0yKexSUnbWqu62Q,303
74
74
  payi/types/price_modifier_update_params.py,sha256=lqZW1J5akLSNv-6i4dGPCqwe1p3d7rM8JzzQ4Hofsbo,404
75
75
  payi/types/requests_data.py,sha256=sGhAykQ5lh8iEwYfIsDRO5Tso139N8nlmQUL9hg3YSQ,308
76
76
  payi/types/total_cost_data.py,sha256=FGh5XO5DwAIqkdmW9umyrJ7uD7U0w6CLDimzhP34Dmc,302
77
- payi/types/budgets/__init__.py,sha256=5ByVuqOcgSYLHmGzhuj6-HG48mtQhC6oT5U5tNjQtxk,725
78
- payi/types/budgets/budget_tags.py,sha256=nOYMf7YgRdTZgGdedJw0UbQ2uupCq9MHlevLJoXxWB4,348
79
- payi/types/budgets/tag_create_params.py,sha256=_zEYfH2uKF44WenAdedx4TB9Az6RbIoAUMwqW8SAiuc,314
80
- payi/types/budgets/tag_create_response.py,sha256=qg51bbGKGl2RL6BKQSzwBHxIW7H2oxUq45afe35PCdA,270
81
- payi/types/budgets/tag_delete_response.py,sha256=INYlE88mTjtdaa9kfTuqE0cP9__rbW5e4Xq36olYoeY,270
82
- payi/types/budgets/tag_list_response.py,sha256=-4q6_BOr2Nyov-noCI1TInOewADjWc0MUf0P1kRhxWo,266
83
- payi/types/budgets/tag_remove_params.py,sha256=fNiHex1U11o_B0bfJDkpGARkEf99J-bd-wbzKkZ9mVM,314
84
- payi/types/budgets/tag_remove_response.py,sha256=v7ysGVZ-54dKurvMA-3ySKco4LgTz3MqwC2VcJ-veeE,270
85
- payi/types/budgets/tag_update_params.py,sha256=bWWeDqfySt7CZ6HDsZzENREOWGWGWFgnAtyleNMwUsE,314
86
- payi/types/budgets/tag_update_response.py,sha256=0L-0k2pGw9GndpwArjKhHwOOJgOTOTY4mM7ukUM3Pwc,270
87
77
  payi/types/categories/__init__.py,sha256=HQScxfK3F_J9HYbphrhG6bYb7S6vtrwafLViar5pHcM,285
88
78
  payi/types/categories/resource_create_params.py,sha256=jEXNx_FvWA9D5170Gwf_YUcuAOaDq0RIGaGgPSEsheA,725
89
79
  payi/types/categories/resource_list_response.py,sha256=ODMelDlXvYcwxBsJwTX8miofywUY_JB0OvsFVCKJunU,320
90
- payi/types/experiences/__init__.py,sha256=Gc4p-d906wf_ZiangTJlWZgLjdJt4lVOzTPTB--12MI,735
91
- payi/types/experiences/csat_create_params.py,sha256=YK2M8yuqkZ7p-Z5S_6nSOeALX0Ox6QI8xiA2AzZ9vJI,342
92
- payi/types/experiences/csat_response.py,sha256=tRJepzTgOPoeOEtm6leCCcbzwl8QJtL57mWlBk9ni3k,202
80
+ payi/types/experiences/__init__.py,sha256=-3_HQPYDVAP6g9e289iSBPU8kmEUt4WPNEbV1n4v5Ow,610
93
81
  payi/types/experiences/experience_type.py,sha256=1L08GHoLAfdBwE691RidkHIukpyqqO2_toL5CcWxE4k,315
94
82
  payi/types/experiences/properties_response.py,sha256=HpFNtxl_OjoMCs24xPVZLKe3FwCVcNkcRs0LsQKLrHM,259
95
- payi/types/experiences/property_create_params.py,sha256=ef4XiTAa03FO_RuRQ8WbDZhNqzcfhaysnDb1HtObbB4,348
83
+ payi/types/experiences/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
96
84
  payi/types/experiences/type_create_params.py,sha256=56vS9kTHex1eU9QQ-DWjBMqoHNhOukPZUY4jgGhnJnQ,376
97
85
  payi/types/experiences/type_list_params.py,sha256=VDZjHmK2tNAW_YLewcIzM-OG13iI2v-xCykokxkcgbs,286
98
86
  payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG12rZRU9w6kgQN28,280
99
87
  payi/types/experiences/type_update_params.py,sha256=izwlElQB-jeFFX3K6S2TqVUMmhU0KTmwScQ5aoHZH0M,361
88
+ payi/types/limits/__init__.py,sha256=yohSla0l53OaxH9WdwaU1crY1FvzM3H6IRg20LUr-MU,722
89
+ payi/types/limits/limit_tags.py,sha256=O9I9IC7IkFBYRbiUWb4XXmIuXoHUlRLjW_4fbEF50Aw,346
90
+ payi/types/limits/tag_create_params.py,sha256=MPN1rXRJKCV_mZX8ZwrZD4yHpME7jI_SwAusz7ruvaE,313
91
+ payi/types/limits/tag_create_response.py,sha256=ZBU5vjGQQnsz5twkAs102TwXaZgRv9Z1nmvPHVYDTAY,267
92
+ payi/types/limits/tag_delete_response.py,sha256=CzkcQxggdAjakAPC1JqjK2L6h6YGxwnWU3bKRjkAfeM,267
93
+ payi/types/limits/tag_list_response.py,sha256=64Au13HA8Woch4gAgMb-XEd7Q9InJy9xdo9xPZyGxY4,263
94
+ payi/types/limits/tag_remove_params.py,sha256=wqRc8Y9ZYqOcnIuuFVQfbPRtX0ycp-z5fl7o42NhVpA,313
95
+ payi/types/limits/tag_remove_response.py,sha256=R-e-um-W1aqq8sEmTtnPMCDLGVRUmm5pVAvLCkgDVHI,267
96
+ payi/types/limits/tag_update_params.py,sha256=8-gP8OEY7xpBPLfS2uU71ew2WkWZ-WpVOy9fRA07omY,313
97
+ payi/types/limits/tag_update_response.py,sha256=xLa4aU4eVhNmIaQTsCyEDjx1vatBACFiJCwZOWLfrig,267
100
98
  payi/types/requests/__init__.py,sha256=K4qfrWMIIg1-UNB0Vu5UdGEmf6TWoF-i3gPc_LT78D8,204
101
- payi/types/requests/property_create_params.py,sha256=ef4XiTAa03FO_RuRQ8WbDZhNqzcfhaysnDb1HtObbB4,348
102
- payi-0.1.0a33.dist-info/METADATA,sha256=YoVDkPE5Cjy3LLMsrIBiiYDv4wMAEcgx_N9dh-gbQUg,12605
103
- payi-0.1.0a33.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
104
- payi-0.1.0a33.dist-info/licenses/LICENSE,sha256=8vX1pjh3esb6D5DvXAf6NxiBcVyon8aHWNJCxmmHXeY,11334
105
- payi-0.1.0a33.dist-info/RECORD,,
99
+ payi/types/requests/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
100
+ payi/types/shared/__init__.py,sha256=zgBdtU5-a1ee8l5ABWyzuELwWRTKOCCcOx7gbCgdE4A,161
101
+ payi/types/shared/evaluation_response.py,sha256=V1HnUI1NeXdwZKJmlN_jhOC2nJPFTw1jjISWuqlIi0E,215
102
+ payi-0.1.0a35.dist-info/METADATA,sha256=Su5p29SlYpuL9XmgCb5NrlA1eX51godBmOdRCWi4_JQ,12565
103
+ payi-0.1.0a35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
104
+ payi-0.1.0a35.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
105
+ payi-0.1.0a35.dist-info/RECORD,,
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2024 Payi
189
+ Copyright 2025 Payi
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
@@ -1,188 +0,0 @@
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
-
7
- import httpx
8
-
9
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
- from ..._utils import (
11
- maybe_transform,
12
- async_maybe_transform,
13
- )
14
- from ..._compat import cached_property
15
- from ..._resource import SyncAPIResource, AsyncAPIResource
16
- from ..._response import (
17
- to_raw_response_wrapper,
18
- to_streamed_response_wrapper,
19
- async_to_raw_response_wrapper,
20
- async_to_streamed_response_wrapper,
21
- )
22
- from ..._base_client import make_request_options
23
- from ...types.experiences import csat_create_params
24
- from ...types.experiences.csat_response import CsatResponse
25
-
26
- __all__ = ["CsatResource", "AsyncCsatResource"]
27
-
28
-
29
- class CsatResource(SyncAPIResource):
30
- @cached_property
31
- def with_raw_response(self) -> CsatResourceWithRawResponse:
32
- """
33
- This property can be used as a prefix for any HTTP method call to return the
34
- the raw response object instead of the parsed content.
35
-
36
- For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
37
- """
38
- return CsatResourceWithRawResponse(self)
39
-
40
- @cached_property
41
- def with_streaming_response(self) -> CsatResourceWithStreamingResponse:
42
- """
43
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
44
-
45
- For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
46
- """
47
- return CsatResourceWithStreamingResponse(self)
48
-
49
- def create(
50
- self,
51
- experience_id: str,
52
- *,
53
- csat_rating: int,
54
- user_id: Optional[str] | NotGiven = NOT_GIVEN,
55
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
56
- # The extra values given here take precedence over values defined on the client or passed to this method.
57
- extra_headers: Headers | None = None,
58
- extra_query: Query | None = None,
59
- extra_body: Body | None = None,
60
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
61
- ) -> CsatResponse:
62
- """
63
- Update an Experience properties
64
-
65
- Args:
66
- extra_headers: Send extra headers
67
-
68
- extra_query: Add additional query parameters to the request
69
-
70
- extra_body: Add additional JSON properties to the request
71
-
72
- timeout: Override the client-level default timeout for this request, in seconds
73
- """
74
- if not experience_id:
75
- raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
76
- return self._post(
77
- f"/api/v1/experiences/instances/{experience_id}/csat",
78
- body=maybe_transform(
79
- {
80
- "csat_rating": csat_rating,
81
- "user_id": user_id,
82
- },
83
- csat_create_params.CsatCreateParams,
84
- ),
85
- options=make_request_options(
86
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
87
- ),
88
- cast_to=CsatResponse,
89
- )
90
-
91
-
92
- class AsyncCsatResource(AsyncAPIResource):
93
- @cached_property
94
- def with_raw_response(self) -> AsyncCsatResourceWithRawResponse:
95
- """
96
- This property can be used as a prefix for any HTTP method call to return the
97
- the raw response object instead of the parsed content.
98
-
99
- For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
100
- """
101
- return AsyncCsatResourceWithRawResponse(self)
102
-
103
- @cached_property
104
- def with_streaming_response(self) -> AsyncCsatResourceWithStreamingResponse:
105
- """
106
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
107
-
108
- For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
109
- """
110
- return AsyncCsatResourceWithStreamingResponse(self)
111
-
112
- async def create(
113
- self,
114
- experience_id: str,
115
- *,
116
- csat_rating: int,
117
- user_id: Optional[str] | NotGiven = NOT_GIVEN,
118
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
119
- # The extra values given here take precedence over values defined on the client or passed to this method.
120
- extra_headers: Headers | None = None,
121
- extra_query: Query | None = None,
122
- extra_body: Body | None = None,
123
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
124
- ) -> CsatResponse:
125
- """
126
- Update an Experience properties
127
-
128
- Args:
129
- extra_headers: Send extra headers
130
-
131
- extra_query: Add additional query parameters to the request
132
-
133
- extra_body: Add additional JSON properties to the request
134
-
135
- timeout: Override the client-level default timeout for this request, in seconds
136
- """
137
- if not experience_id:
138
- raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
139
- return await self._post(
140
- f"/api/v1/experiences/instances/{experience_id}/csat",
141
- body=await async_maybe_transform(
142
- {
143
- "csat_rating": csat_rating,
144
- "user_id": user_id,
145
- },
146
- csat_create_params.CsatCreateParams,
147
- ),
148
- options=make_request_options(
149
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
150
- ),
151
- cast_to=CsatResponse,
152
- )
153
-
154
-
155
- class CsatResourceWithRawResponse:
156
- def __init__(self, csat: CsatResource) -> None:
157
- self._csat = csat
158
-
159
- self.create = to_raw_response_wrapper(
160
- csat.create,
161
- )
162
-
163
-
164
- class AsyncCsatResourceWithRawResponse:
165
- def __init__(self, csat: AsyncCsatResource) -> None:
166
- self._csat = csat
167
-
168
- self.create = async_to_raw_response_wrapper(
169
- csat.create,
170
- )
171
-
172
-
173
- class CsatResourceWithStreamingResponse:
174
- def __init__(self, csat: CsatResource) -> None:
175
- self._csat = csat
176
-
177
- self.create = to_streamed_response_wrapper(
178
- csat.create,
179
- )
180
-
181
-
182
- class AsyncCsatResourceWithStreamingResponse:
183
- def __init__(self, csat: AsyncCsatResource) -> None:
184
- self._csat = csat
185
-
186
- self.create = async_to_streamed_response_wrapper(
187
- csat.create,
188
- )
@@ -1,38 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List, Optional
4
- from datetime import datetime
5
- from typing_extensions import Literal
6
-
7
- from .._models import BaseModel
8
- from .total_cost_data import TotalCostData
9
-
10
- __all__ = ["BudgetHistoryResponse", "BudgetHistory"]
11
-
12
-
13
- class BudgetHistory(BaseModel):
14
- budget_name: Optional[str] = None
15
-
16
- base_cost_estimate: Optional[Literal["max"]] = None
17
-
18
- budget_id: Optional[str] = None
19
-
20
- budget_reset_timestamp: Optional[datetime] = None
21
-
22
- budget_response_type: Optional[Literal["block", "allow"]] = None
23
-
24
- budget_tags: Optional[List[str]] = None
25
-
26
- budget_type: Optional[Literal["conservative", "liberal"]] = None
27
-
28
- max: Optional[float] = None
29
-
30
- totals: Optional[TotalCostData] = None
31
-
32
-
33
- class BudgetHistoryResponse(BaseModel):
34
- budget_history: BudgetHistory
35
-
36
- request_id: str
37
-
38
- message: Optional[str] = None
@@ -1,14 +0,0 @@
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 Required, TypedDict
7
-
8
- __all__ = ["CsatCreateParams"]
9
-
10
-
11
- class CsatCreateParams(TypedDict, total=False):
12
- csat_rating: Required[int]
13
-
14
- user_id: Optional[str]