dub 0.27.1__py3-none-any.whl → 0.27.3__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.
Files changed (38) hide show
  1. dub/_version.py +3 -3
  2. dub/models/components/__init__.py +41 -2
  3. dub/models/components/analyticstriggers.py +2 -0
  4. dub/models/components/clickevent.py +92 -47
  5. dub/models/components/commissioncreatedevent.py +281 -0
  6. dub/models/components/leadcreatedevent.py +66 -21
  7. dub/models/components/leadevent.py +126 -48
  8. dub/models/components/linkclickedevent.py +66 -21
  9. dub/models/components/linkschema.py +26 -20
  10. dub/models/components/linkwebhookevent.py +33 -21
  11. dub/models/components/partnerenrolledevent.py +207 -80
  12. dub/models/components/salecreatedevent.py +66 -21
  13. dub/models/components/saleevent.py +206 -122
  14. dub/models/components/webhookevent.py +6 -0
  15. dub/models/errors/__init__.py +3 -2
  16. dub/models/operations/__init__.py +71 -2
  17. dub/models/operations/bulkcreatelinks.py +25 -25
  18. dub/models/operations/bulkupdatelinks.py +25 -25
  19. dub/models/operations/createlink.py +25 -25
  20. dub/models/operations/createpartner.py +207 -80
  21. dub/models/operations/getlinks.py +2 -2
  22. dub/models/operations/getlinkscount.py +2 -2
  23. dub/models/operations/listcommissions.py +169 -8
  24. dub/models/operations/listevents.py +48 -20
  25. dub/models/operations/listpartners.py +516 -0
  26. dub/models/operations/retrieveanalytics.py +48 -20
  27. dub/models/operations/retrievelinks.py +6 -6
  28. dub/models/operations/tracksale.py +1 -0
  29. dub/models/operations/updatecommission.py +169 -8
  30. dub/models/operations/updatelink.py +25 -25
  31. dub/models/operations/upsertlink.py +25 -25
  32. dub/partners.py +262 -0
  33. dub/sdk.py +1 -1
  34. dub/utils/__init__.py +3 -2
  35. {dub-0.27.1.dist-info → dub-0.27.3.dist-info}/METADATA +3 -2
  36. {dub-0.27.1.dist-info → dub-0.27.3.dist-info}/RECORD +38 -36
  37. {dub-0.27.1.dist-info → dub-0.27.3.dist-info}/LICENSE +0 -0
  38. {dub-0.27.1.dist-info → dub-0.27.3.dist-info}/WHEEL +0 -0
dub/partners.py CHANGED
@@ -296,6 +296,268 @@ class Partners(BaseSDK):
296
296
 
297
297
  raise errors.SDKError("Unexpected response received", http_res)
298
298
 
299
+ def list(
300
+ self,
301
+ *,
302
+ request: Union[
303
+ operations.ListPartnersRequest, operations.ListPartnersRequestTypedDict
304
+ ],
305
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
306
+ server_url: Optional[str] = None,
307
+ timeout_ms: Optional[int] = None,
308
+ http_headers: Optional[Mapping[str, str]] = None,
309
+ ) -> Optional[List[operations.ListPartnersResponseBody]]:
310
+ r"""List all partners
311
+
312
+ List all partners for a partner program.
313
+
314
+ :param request: The request object to send.
315
+ :param retries: Override the default retry configuration for this method
316
+ :param server_url: Override the default server URL for this method
317
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
318
+ :param http_headers: Additional headers to set or replace on requests.
319
+ """
320
+ base_url = None
321
+ url_variables = None
322
+ if timeout_ms is None:
323
+ timeout_ms = self.sdk_configuration.timeout_ms
324
+
325
+ if server_url is not None:
326
+ base_url = server_url
327
+ else:
328
+ base_url = self._get_url(base_url, url_variables)
329
+
330
+ if not isinstance(request, BaseModel):
331
+ request = utils.unmarshal(request, operations.ListPartnersRequest)
332
+ request = cast(operations.ListPartnersRequest, request)
333
+
334
+ req = self._build_request(
335
+ method="GET",
336
+ path="/partners",
337
+ base_url=base_url,
338
+ url_variables=url_variables,
339
+ request=request,
340
+ request_body_required=False,
341
+ request_has_path_params=False,
342
+ request_has_query_params=True,
343
+ user_agent_header="user-agent",
344
+ accept_header_value="application/json",
345
+ http_headers=http_headers,
346
+ security=self.sdk_configuration.security,
347
+ timeout_ms=timeout_ms,
348
+ )
349
+
350
+ if retries == UNSET:
351
+ if self.sdk_configuration.retry_config is not UNSET:
352
+ retries = self.sdk_configuration.retry_config
353
+
354
+ retry_config = None
355
+ if isinstance(retries, utils.RetryConfig):
356
+ retry_config = (retries, ["429", "500", "502", "503", "504"])
357
+
358
+ http_res = self.do_request(
359
+ hook_ctx=HookContext(
360
+ config=self.sdk_configuration,
361
+ base_url=base_url or "",
362
+ operation_id="listPartners",
363
+ oauth2_scopes=[],
364
+ security_source=self.sdk_configuration.security,
365
+ ),
366
+ request=req,
367
+ error_status_codes=[
368
+ "400",
369
+ "401",
370
+ "403",
371
+ "404",
372
+ "409",
373
+ "410",
374
+ "422",
375
+ "429",
376
+ "4XX",
377
+ "500",
378
+ "5XX",
379
+ ],
380
+ retry_config=retry_config,
381
+ )
382
+
383
+ response_data: Any = None
384
+ if utils.match_response(http_res, "200", "application/json"):
385
+ return unmarshal_json_response(
386
+ Optional[List[operations.ListPartnersResponseBody]], http_res
387
+ )
388
+ if utils.match_response(http_res, "400", "application/json"):
389
+ response_data = unmarshal_json_response(errors.BadRequestData, http_res)
390
+ raise errors.BadRequest(response_data, http_res)
391
+ if utils.match_response(http_res, "401", "application/json"):
392
+ response_data = unmarshal_json_response(errors.UnauthorizedData, http_res)
393
+ raise errors.Unauthorized(response_data, http_res)
394
+ if utils.match_response(http_res, "403", "application/json"):
395
+ response_data = unmarshal_json_response(errors.ForbiddenData, http_res)
396
+ raise errors.Forbidden(response_data, http_res)
397
+ if utils.match_response(http_res, "404", "application/json"):
398
+ response_data = unmarshal_json_response(errors.NotFoundData, http_res)
399
+ raise errors.NotFound(response_data, http_res)
400
+ if utils.match_response(http_res, "409", "application/json"):
401
+ response_data = unmarshal_json_response(errors.ConflictData, http_res)
402
+ raise errors.Conflict(response_data, http_res)
403
+ if utils.match_response(http_res, "410", "application/json"):
404
+ response_data = unmarshal_json_response(errors.InviteExpiredData, http_res)
405
+ raise errors.InviteExpired(response_data, http_res)
406
+ if utils.match_response(http_res, "422", "application/json"):
407
+ response_data = unmarshal_json_response(
408
+ errors.UnprocessableEntityData, http_res
409
+ )
410
+ raise errors.UnprocessableEntity(response_data, http_res)
411
+ if utils.match_response(http_res, "429", "application/json"):
412
+ response_data = unmarshal_json_response(
413
+ errors.RateLimitExceededData, http_res
414
+ )
415
+ raise errors.RateLimitExceeded(response_data, http_res)
416
+ if utils.match_response(http_res, "500", "application/json"):
417
+ response_data = unmarshal_json_response(
418
+ errors.InternalServerErrorData, http_res
419
+ )
420
+ raise errors.InternalServerError(response_data, http_res)
421
+ if utils.match_response(http_res, "4XX", "*"):
422
+ http_res_text = utils.stream_to_text(http_res)
423
+ raise errors.SDKError("API error occurred", http_res, http_res_text)
424
+ if utils.match_response(http_res, "5XX", "*"):
425
+ http_res_text = utils.stream_to_text(http_res)
426
+ raise errors.SDKError("API error occurred", http_res, http_res_text)
427
+
428
+ raise errors.SDKError("Unexpected response received", http_res)
429
+
430
+ async def list_async(
431
+ self,
432
+ *,
433
+ request: Union[
434
+ operations.ListPartnersRequest, operations.ListPartnersRequestTypedDict
435
+ ],
436
+ retries: OptionalNullable[utils.RetryConfig] = UNSET,
437
+ server_url: Optional[str] = None,
438
+ timeout_ms: Optional[int] = None,
439
+ http_headers: Optional[Mapping[str, str]] = None,
440
+ ) -> Optional[List[operations.ListPartnersResponseBody]]:
441
+ r"""List all partners
442
+
443
+ List all partners for a partner program.
444
+
445
+ :param request: The request object to send.
446
+ :param retries: Override the default retry configuration for this method
447
+ :param server_url: Override the default server URL for this method
448
+ :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
449
+ :param http_headers: Additional headers to set or replace on requests.
450
+ """
451
+ base_url = None
452
+ url_variables = None
453
+ if timeout_ms is None:
454
+ timeout_ms = self.sdk_configuration.timeout_ms
455
+
456
+ if server_url is not None:
457
+ base_url = server_url
458
+ else:
459
+ base_url = self._get_url(base_url, url_variables)
460
+
461
+ if not isinstance(request, BaseModel):
462
+ request = utils.unmarshal(request, operations.ListPartnersRequest)
463
+ request = cast(operations.ListPartnersRequest, request)
464
+
465
+ req = self._build_request_async(
466
+ method="GET",
467
+ path="/partners",
468
+ base_url=base_url,
469
+ url_variables=url_variables,
470
+ request=request,
471
+ request_body_required=False,
472
+ request_has_path_params=False,
473
+ request_has_query_params=True,
474
+ user_agent_header="user-agent",
475
+ accept_header_value="application/json",
476
+ http_headers=http_headers,
477
+ security=self.sdk_configuration.security,
478
+ timeout_ms=timeout_ms,
479
+ )
480
+
481
+ if retries == UNSET:
482
+ if self.sdk_configuration.retry_config is not UNSET:
483
+ retries = self.sdk_configuration.retry_config
484
+
485
+ retry_config = None
486
+ if isinstance(retries, utils.RetryConfig):
487
+ retry_config = (retries, ["429", "500", "502", "503", "504"])
488
+
489
+ http_res = await self.do_request_async(
490
+ hook_ctx=HookContext(
491
+ config=self.sdk_configuration,
492
+ base_url=base_url or "",
493
+ operation_id="listPartners",
494
+ oauth2_scopes=[],
495
+ security_source=self.sdk_configuration.security,
496
+ ),
497
+ request=req,
498
+ error_status_codes=[
499
+ "400",
500
+ "401",
501
+ "403",
502
+ "404",
503
+ "409",
504
+ "410",
505
+ "422",
506
+ "429",
507
+ "4XX",
508
+ "500",
509
+ "5XX",
510
+ ],
511
+ retry_config=retry_config,
512
+ )
513
+
514
+ response_data: Any = None
515
+ if utils.match_response(http_res, "200", "application/json"):
516
+ return unmarshal_json_response(
517
+ Optional[List[operations.ListPartnersResponseBody]], http_res
518
+ )
519
+ if utils.match_response(http_res, "400", "application/json"):
520
+ response_data = unmarshal_json_response(errors.BadRequestData, http_res)
521
+ raise errors.BadRequest(response_data, http_res)
522
+ if utils.match_response(http_res, "401", "application/json"):
523
+ response_data = unmarshal_json_response(errors.UnauthorizedData, http_res)
524
+ raise errors.Unauthorized(response_data, http_res)
525
+ if utils.match_response(http_res, "403", "application/json"):
526
+ response_data = unmarshal_json_response(errors.ForbiddenData, http_res)
527
+ raise errors.Forbidden(response_data, http_res)
528
+ if utils.match_response(http_res, "404", "application/json"):
529
+ response_data = unmarshal_json_response(errors.NotFoundData, http_res)
530
+ raise errors.NotFound(response_data, http_res)
531
+ if utils.match_response(http_res, "409", "application/json"):
532
+ response_data = unmarshal_json_response(errors.ConflictData, http_res)
533
+ raise errors.Conflict(response_data, http_res)
534
+ if utils.match_response(http_res, "410", "application/json"):
535
+ response_data = unmarshal_json_response(errors.InviteExpiredData, http_res)
536
+ raise errors.InviteExpired(response_data, http_res)
537
+ if utils.match_response(http_res, "422", "application/json"):
538
+ response_data = unmarshal_json_response(
539
+ errors.UnprocessableEntityData, http_res
540
+ )
541
+ raise errors.UnprocessableEntity(response_data, http_res)
542
+ if utils.match_response(http_res, "429", "application/json"):
543
+ response_data = unmarshal_json_response(
544
+ errors.RateLimitExceededData, http_res
545
+ )
546
+ raise errors.RateLimitExceeded(response_data, http_res)
547
+ if utils.match_response(http_res, "500", "application/json"):
548
+ response_data = unmarshal_json_response(
549
+ errors.InternalServerErrorData, http_res
550
+ )
551
+ raise errors.InternalServerError(response_data, http_res)
552
+ if utils.match_response(http_res, "4XX", "*"):
553
+ http_res_text = await utils.stream_to_text_async(http_res)
554
+ raise errors.SDKError("API error occurred", http_res, http_res_text)
555
+ if utils.match_response(http_res, "5XX", "*"):
556
+ http_res_text = await utils.stream_to_text_async(http_res)
557
+ raise errors.SDKError("API error occurred", http_res, http_res_text)
558
+
559
+ raise errors.SDKError("Unexpected response received", http_res)
560
+
299
561
  def create_link(
300
562
  self,
301
563
  *,
dub/sdk.py CHANGED
@@ -31,7 +31,7 @@ if TYPE_CHECKING:
31
31
 
32
32
 
33
33
  class Dub(BaseSDK):
34
- r"""Dub API: Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs."""
34
+ r"""Dub API: Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs."""
35
35
 
36
36
  links: "Links"
37
37
  analytics: "Analytics"
dub/utils/__init__.py CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  from typing import TYPE_CHECKING
4
4
  from importlib import import_module
5
+ import builtins
5
6
 
6
7
  if TYPE_CHECKING:
7
8
  from .annotations import get_discriminator
@@ -180,5 +181,5 @@ def __getattr__(attr_name: str) -> object:
180
181
 
181
182
 
182
183
  def __dir__():
183
- lazy_attrs = list(_dynamic_imports.keys())
184
- return sorted(lazy_attrs)
184
+ lazy_attrs = builtins.list(_dynamic_imports.keys())
185
+ return builtins.sorted(lazy_attrs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dub
3
- Version: 0.27.1
3
+ Version: 0.27.3
4
4
  Summary: Python Client SDK Generated by Speakeasy
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -32,7 +32,7 @@ Learn more about the Dub.co Python SDK in the [official documentation](https://d
32
32
  <!-- Start Summary [summary] -->
33
33
  ## Summary
34
34
 
35
- Dub API: Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs.
35
+ Dub API: Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.
36
36
  <!-- End Summary [summary] -->
37
37
 
38
38
  <!-- Start Table of Contents [toc] -->
@@ -331,6 +331,7 @@ asyncio.run(main())
331
331
  ### [partners](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md)
332
332
 
333
333
  * [create](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md#create) - Create a partner
334
+ * [list](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md#list) - List all partners
334
335
  * [create_link](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md#create_link) - Create a link for a partner
335
336
  * [retrieve_links](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md#retrieve_links) - Retrieve a partner's links.
336
337
  * [upsert_link](https://github.com/dubinc/dub-python/blob/master/docs/sdks/partners/README.md#upsert_link) - Upsert a link for a partner
@@ -3,7 +3,7 @@ dub/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
3
3
  dub/_hooks/registration.py,sha256=tT-1Cjp5ax1DL-84HBNWPy4wAwgP-0aI4-asLfnkIlw,625
4
4
  dub/_hooks/sdkhooks.py,sha256=2rLEjSz1xFGWabNs1voFn0lXSCqkS38bdKVFdnBJufE,2553
5
5
  dub/_hooks/types.py,sha256=5vcNbFBNpCxqI7ZebiBtut7T_Gz2i36L5MjTqGvxV7Y,3035
6
- dub/_version.py,sha256=0VceBGaq_3K8CWbOD87M7pGqJIoIcD2E149T1rosPvY,450
6
+ dub/_version.py,sha256=CUoN7Z0hKnqjWjstiGOanEz4-JP3C74Rjit6NEZvHzI,450
7
7
  dub/analytics.py,sha256=D4s6aPCiCVxwbG2bIvanBiaDtYZgN1xMwu5DOnuRrVg,12342
8
8
  dub/basesdk.py,sha256=6hqUvjS1s4AdIw3STtyBxJwgjqRYCK3ieGqPJVpjBh8,11813
9
9
  dub/commissions.py,sha256=OzDAs372f4VszeKJNkR4pR7q5SNI4JiCwz-bzny0YMc,24346
@@ -15,7 +15,7 @@ dub/folders.py,sha256=6hlJheqGnEu8noq3A-iahury-TxtLJ3e_YiIPr8NDl8,47602
15
15
  dub/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
16
16
  dub/links.py,sha256=vnP7Uu41PtsOr2mqzROSNxQB3InnOoxq4_zNw3_q5L8,121880
17
17
  dub/models/__init__.py,sha256=wIW9sbvSKlrGyoPY4mXvHqw-_Inpl6zqpN6U6j-w6SU,83
18
- dub/models/components/__init__.py,sha256=3j1H3UR5EvQBfyoP05DWcG6n6HQqUj6gXCtepj9IGFk,20735
18
+ dub/models/components/__init__.py,sha256=HzQC8XPE760LsSff1lkj2QzwJV8SupKRO3T93E4I4ZI,22348
19
19
  dub/models/components/analyticsbrowsers.py,sha256=f6qMrkPFf38u3_PIovvdIc0hsX1YpYEaPxNwbXzkoeY,1172
20
20
  dub/models/components/analyticscities.py,sha256=zef22QucFtrOCkPDrpvpNlrbX465_0dFHyZ5va_LRRI,1666
21
21
  dub/models/components/analyticscontinents.py,sha256=D_SQTm1Xp_pOt7qZTLJVo2B3RQUP8k3MQmsYRQYbjlI,1616
@@ -29,30 +29,31 @@ dub/models/components/analyticsregions.py,sha256=--tqwuWSWUYswV_OkQFAbI1PIFala7t
29
29
  dub/models/components/analyticstimeseries.py,sha256=ZEZpE6oX0FPeiy5snz-kwYhXE9pwGBwzXY0Rq3u9XPI,1186
30
30
  dub/models/components/analyticstoplinks.py,sha256=RvhyKQcmDT47F-4sPojhhDgvFYRZCA5k257JrndHSp8,3649
31
31
  dub/models/components/analyticstopurls.py,sha256=WN4oF32SSXUlFPpWvx7jKype0SfdBsX1BvrkaKjClRM,1122
32
- dub/models/components/analyticstriggers.py,sha256=diQ_m3dJDa576H3oxEfkoy2xs1OdB3f5lrwn7vbsOVI,1432
33
- dub/models/components/clickevent.py,sha256=umzsHdZcvkdaQ2TdbsbpY4a4rMgjvfnxEPk66cCIZ_Y,41254
32
+ dub/models/components/analyticstriggers.py,sha256=reWQ1cQDNgPc_cDhGrMv5EplFviiyWZ0nYTvU7bm3C0,1484
33
+ dub/models/components/clickevent.py,sha256=rU74Rmh2IikQNR7COpqBr83OMLqj4AgK_QwhrMb02xA,42540
34
+ dub/models/components/commissioncreatedevent.py,sha256=BOhnoO1CFd40suVoEsKlFsZUTRbmVTdEOy6Oq-jmqjo,8573
34
35
  dub/models/components/continentcode.py,sha256=YFw3_x0w7CxCQijsbfiiOoS9FbNATeHyGLcw-LEsXYw,315
35
36
  dub/models/components/countrycode.py,sha256=NcNDmnQ0TiXuO9JBZQ4tscUIVXld5dyuNcTCa2rtzUA,3796
36
37
  dub/models/components/domainschema.py,sha256=MBaPJhQDSQtMTQYVsV8khaQGpY5BXa6IpwYP7qaWnzQ,5328
37
38
  dub/models/components/folderschema.py,sha256=tfVy46SHPHMKl-_bOTr6_j5KHtx6aOJiFniYntBOVe4,2415
38
- dub/models/components/leadcreatedevent.py,sha256=IjKCnsOj-TVbuuJorQACW4e7S2j-9einzaGJhQMSTLc,40616
39
- dub/models/components/leadevent.py,sha256=bHr5xSlQbhH4LFvolWz0nQCfkUDonvJYgMqtXQ6_NaA,44491
40
- dub/models/components/linkclickedevent.py,sha256=VqK15gXm41ZRXHThh79f1GTTAV8eXpqrwMbpAwHayTU,37419
39
+ dub/models/components/leadcreatedevent.py,sha256=otdKaZ7EDPupAzi0sVXpgqCMLxmCk72MIvKNBPXAYUg,41902
40
+ dub/models/components/leadevent.py,sha256=zs9y9RpQLVpvI-NDuwf1GxfmTRV4MvQGjjp49AxL5EI,46780
41
+ dub/models/components/linkclickedevent.py,sha256=8_jkDheBZk9CZpHftonDHxc7nq0WKLUu7vNAtlzv3mo,38705
41
42
  dub/models/components/linkerrorschema.py,sha256=BHHLHZv1ojPYUO78d8kCKIjgq68uuMMhW7LbyLMbzqo,1114
42
43
  dub/models/components/linkgeotargeting.py,sha256=F0jUhoTXU2goK_4F0dLonIKu3y93fRQiwbdrgWP4itA,24054
43
- dub/models/components/linkschema.py,sha256=oe2kpNbTmFod35_i7B3E04iQXQo2twIjXBYyr3JGOig,38602
44
- dub/models/components/linkwebhookevent.py,sha256=MRKTT3SoAo_M6TbZuWj_tTAH-3Wo5w9PC-PRYgM2x4c,37031
44
+ dub/models/components/linkschema.py,sha256=NkG3cDyOwCm9iaGnjDte2W0jic8ds2I5v-y6s5guqp4,38823
45
+ dub/models/components/linkwebhookevent.py,sha256=d2IBQ56zIs8EFUpuyVQ88vaZ6v81S8QgcqEuHz3GDF0,37323
45
46
  dub/models/components/partneranalyticscount.py,sha256=hJOuFVUTFOuXWviLxExwXDZVgPLBcgmqt8VxeHv7JAw,1035
46
47
  dub/models/components/partneranalyticstimeseries.py,sha256=Bh431YfEd8v6TD9o9DPCAwGCDo5Rrf1xR1pccm7q5aw,1268
47
48
  dub/models/components/partneranalyticstoplinks.py,sha256=xy1F1vueaBX93Gj2AYqqa7jbEueJy-FAVD5GdnjPva8,3755
48
- dub/models/components/partnerenrolledevent.py,sha256=O1TDMZc1qT-FFg_BBM457xbkxAsv2lMd1CclNvxtjbQ,10718
49
- dub/models/components/salecreatedevent.py,sha256=MXY73Oek_E-g3q1MrYjnjM4k-RCboHm08aLu9gkSmd4,41970
50
- dub/models/components/saleevent.py,sha256=3Ae2N35PpuFDpXDaWW2rXHRRURer7XyVHqtPpMDrk3o,47802
49
+ dub/models/components/partnerenrolledevent.py,sha256=dji04XhqDTtkd0ddJ01IxJsScDoiaehsaKNubpqPF2o,15879
50
+ dub/models/components/salecreatedevent.py,sha256=z7mXm1vojyVK91_bBAC8cUOvpuOKdh5JWm6F74hJdpc,43256
51
+ dub/models/components/saleevent.py,sha256=ObCZP0XEqmsMkqC57RUDp0cp0JbWV-RjQCw1M9eJMx4,50326
51
52
  dub/models/components/security.py,sha256=be_cng1n5ULto_xGGPBKH1ZE5LrtmBTg6kX2uPJqJOw,599
52
53
  dub/models/components/tagschema.py,sha256=9aymPZgSYT_OUsr4AtHAt4GLej9v89yuS5X1YSZ72sE,759
53
- dub/models/components/webhookevent.py,sha256=oDE16DmD_gDcnzqXSDKsSSXzItXdl_O4qY_rjxPo3EE,1090
54
+ dub/models/components/webhookevent.py,sha256=12SgBns1nVcb0Efs8JR9JO8vmvK25bXMROCT-s0Ue5c,1268
54
55
  dub/models/components/workspaceschema.py,sha256=sF5cVYWBXZ-dnPPDJbKDz74lVwPJxGrSiL6fK7M-1XU,10934
55
- dub/models/errors/__init__.py,sha256=4gkoLx40NaI80l_RqU_PhSyo5b8DRtO9fORjlJ0kHNM,6046
56
+ dub/models/errors/__init__.py,sha256=w8JoPdvBrD8PeIN7mpvBSLG9FPgK4oAT6oWLfu1yK3Y,6080
56
57
  dub/models/errors/badrequest.py,sha256=G5UFXCXOZy5raqCb_UpY409hSNT0V8lCiQxZs5iCri8,1646
57
58
  dub/models/errors/conflict.py,sha256=tDqlH_1HgU17AgVE2RNH3vnFo1XY03ptSanRtvx3qK0,1562
58
59
  dub/models/errors/duberror.py,sha256=wD61h62qi9-hdtxHDO6w7cbWIEoqgO0x32ZovrP8dsQ,710
@@ -66,16 +67,16 @@ dub/models/errors/responsevalidationerror.py,sha256=SRWiFq2Ip-M7luHULq3POe4JSWzO
66
67
  dub/models/errors/sdkerror.py,sha256=iWxT-KvUgOlqID84qtbl7jG88f3xF9bxVCnMrtshtA0,1216
67
68
  dub/models/errors/unauthorized.py,sha256=gTybq5vCh3nFKAnERxwMwETlQZ3T3SR01RKooIreVdo,1710
68
69
  dub/models/errors/unprocessableentity.py,sha256=EkqNdp5lZQHA8hJgNdA3gviqMmyjcFx02cTxl3yhyrs,1693
69
- dub/models/operations/__init__.py,sha256=qQXnwHCbeVw_tQxL3vIkJrD5QPLwPwdLhX94nFQxjYc,39411
70
- dub/models/operations/bulkcreatelinks.py,sha256=aY5XyysI5g-6owMgXx_i1rFN4DPM8S7N1y0MzAJgvzU,17896
70
+ dub/models/operations/__init__.py,sha256=E8UXRctw5YzmQ5MxGAUMSiMSeulyw4ASb2MR-mx_35I,42057
71
+ dub/models/operations/bulkcreatelinks.py,sha256=CthcQ1paZzMxWV8VoPkK9fHNiFYoesZghbai9eSeTAI,17862
71
72
  dub/models/operations/bulkdeletelinks.py,sha256=u_hEFC9TZ1UnGGgLhQ-Mf3HNDO98Ur49MtdBnNVIRsE,1151
72
- dub/models/operations/bulkupdatelinks.py,sha256=qo5t0RnwzxpdQnz5IivH9plgjMaJAX0i7gXJHmCck_M,15972
73
+ dub/models/operations/bulkupdatelinks.py,sha256=icuSxTWuNE5b6haPyjQuh4uZAj-BIbEBV3FUMWsQrcI,15938
73
74
  dub/models/operations/checkdomainstatus.py,sha256=W085WT-gUgU73qDi4LlXppdiPVC0Pm1CpPXTqTM56sI,2538
74
75
  dub/models/operations/createcustomer.py,sha256=Fvp70GKEVqqAckvFO7h0dkjcNnFQUY7C3OLLMyPsgO4,12043
75
76
  dub/models/operations/createdomain.py,sha256=dHRvCzE6knsndN4FTFjfijHVmTi8NXKpURz8cM_C-bk,3900
76
77
  dub/models/operations/createfolder.py,sha256=j9z0CIsc22VsWAwlCGNwxo6a3VsetD6t4T2LdCELYGE,1884
77
- dub/models/operations/createlink.py,sha256=Fy934a9A1vWA_GLI-FQ7FQDlMskV-EElvtvFQKd_vmU,17263
78
- dub/models/operations/createpartner.py,sha256=wsxEBFoASBvGAs6Z-3yKbHJZKVVD4WXAxHqtCdAdR_g,31529
78
+ dub/models/operations/createlink.py,sha256=JteGTcS-2oboXo7Y5AD6pp33t8TWHTAHJSAw9-fXhGQ,17229
79
+ dub/models/operations/createpartner.py,sha256=SOzzP33DjfVdRZw4170nA_YwcKqzR8gX25qRGPaaWpM,36690
79
80
  dub/models/operations/createpartnerlink.py,sha256=rOlnyEQdBk2jb5T3ryzvboWney3cRXIG9rCxuwQO58I,17091
80
81
  dub/models/operations/createreferralsembedtoken.py,sha256=5FrDNmx68MyArVnQ0-s3MoySTo5DdMk7yUwWfLiUC_0,22792
81
82
  dub/models/operations/createtag.py,sha256=XUKuFcLoenYk1oxdeou-gI_s3A4YxtIJKgRiXtLfOpQ,1497
@@ -87,40 +88,41 @@ dub/models/operations/deletetag.py,sha256=UJz-O6oTuvOdzuUXUQktw699hEv0cs1eJW9C3w
87
88
  dub/models/operations/getcustomer.py,sha256=iJNVJulLMJ5eJb3LRmlRHh86fb_CkZou0szk21hiP70,11234
88
89
  dub/models/operations/getcustomers.py,sha256=KQ7JV3GYMEpvDMG720vaF82Rkr7ewiLCXZk04SLEQF0,14426
89
90
  dub/models/operations/getlinkinfo.py,sha256=I4bhM6HeW7IFg1J-68Uou5-OHA7XdQcM8I_lRBtXAJI,1530
90
- dub/models/operations/getlinks.py,sha256=9BPKj--6Zt9HvFPEIPU-a2aheaOvtIvHGc8PHTMkkbg,7472
91
- dub/models/operations/getlinkscount.py,sha256=KvD0gh-Imn1WmiiRAIYUXHBoNNGEnmfBQXqdbLXU7EQ,5851
91
+ dub/models/operations/getlinks.py,sha256=zO_sZyl2REBpy9VlCkgDd9gfq8GiIyDfkcmS2JVnv3w,7472
92
+ dub/models/operations/getlinkscount.py,sha256=PR5EPwhjTTpnlPnWqZX42U7HIT7wtygtIFVQeDhtlWE,5851
92
93
  dub/models/operations/getqrcode.py,sha256=ynCPJc8vy_QEt5FP8OU2s-u6UIt1BhmFSNZC-XPmO4I,3848
93
94
  dub/models/operations/gettags.py,sha256=c9p_JrHFnTDJURyR5iiKFKpXFHlzJDt3R5X1U-anyYg,2664
94
95
  dub/models/operations/getworkspace.py,sha256=V4-NfsEg3M1BTeoE13sDyazefb2_kI4yFxnzgvHPv4s,625
95
- dub/models/operations/listcommissions.py,sha256=9gFR2iunDb08rhNYNYKY4KjlyZeaUN6t-OQWoXM_qyQ,8161
96
+ dub/models/operations/listcommissions.py,sha256=dAazZ_vEaQRmaF6YbQyprCtKySG3-DMWPP8EwMOAOCE,13576
96
97
  dub/models/operations/listdomains.py,sha256=gbQrJyBIvTGKSeqJo0Jb08iE44Xu39NS9zbfetx4p-s,1936
97
- dub/models/operations/listevents.py,sha256=fNiTbrtsHuyVwAf7uoD_w2ESfMwTaEdoS4TII84mOXs,18109
98
+ dub/models/operations/listevents.py,sha256=qsFWy72ffF37tlOIqE5LI4zGVKQdeTuw_LcNe6v3Zuo,19260
98
99
  dub/models/operations/listfolders.py,sha256=5FGf62ZTjquVXjq5axlzQgYGfEnrEwDn8QLlgGH_7jQ,1209
100
+ dub/models/operations/listpartners.py,sha256=NsEouxt-2KRcS6UmkUtlIzZdKR76t-JzxTvuI8ONVQw,19762
99
101
  dub/models/operations/registerdomain.py,sha256=fjozn1tFU-cNarHdAqN_flQoGAE498ob-f4A2bIAiOc,2058
100
- dub/models/operations/retrieveanalytics.py,sha256=7K4UqTSIlo1PCdVqEnp-e7FrjFgJJVZ2LPPxemD5_ew,19377
101
- dub/models/operations/retrievelinks.py,sha256=22oIJQnrwI3euUnSWJR21LjfADLTkrpou9o558gTLc8,2801
102
+ dub/models/operations/retrieveanalytics.py,sha256=jhyWlnQCsDUQgcchdniC-zuZjlKFPR2yssCEq1sQE-Y,20498
103
+ dub/models/operations/retrievelinks.py,sha256=rMp0VPEdwLT5ekQ3g2eAHwlr8-4EaEw699yLzDqTXzk,2855
102
104
  dub/models/operations/retrievepartneranalytics.py,sha256=9aldT3YxBAwQtNPu0Mat5Uxrmz6zMGnri5cqaxUDHdk,4968
103
105
  dub/models/operations/tracklead.py,sha256=_c1iIlWtZCJjwg6Hbfiphj4rFVCThFE2UnRuXsDEYKE,6881
104
- dub/models/operations/tracksale.py,sha256=LGbWJC-F5AZ3Njcc1qKqXv99KmSYtU1l1Zq1ydLhvx8,8991
105
- dub/models/operations/updatecommission.py,sha256=vA5tD32Xq1-3QObjxrg1fIUwZaxJK1tJOaRc6GJMEbI,5596
106
+ dub/models/operations/tracksale.py,sha256=GDt1G0nAeelTlI7QxP3iCVmBYa9PMhLbJRChCLgvOeE,9021
107
+ dub/models/operations/updatecommission.py,sha256=N_okp7jc6jqI4CnGRvTEKTw-QPb5DEwGVGfKmOSRQrY,11019
106
108
  dub/models/operations/updatecustomer.py,sha256=1IqNatrmNmDVtMH-47uR1NXq4Zr_ASc4Wvt1yssl_gk,13554
107
109
  dub/models/operations/updatedomain.py,sha256=rexCga7uNxgBZLPiCMcaudc2cQGB0E_qX2HI0DgG_3M,4519
108
110
  dub/models/operations/updatefolder.py,sha256=dNvSPY67g58SWynB8ic5rcgT-h7THRmyxuzuFdO42GQ,2581
109
- dub/models/operations/updatelink.py,sha256=QBKRmZ_Pw9_halLBeXxZ4cn0RQiCHumQE2NtxHH2W5g,17070
111
+ dub/models/operations/updatelink.py,sha256=RlKYnsW8I9k1lFhaZ-Xldx5VxdX6yfJeWiwe9nYNaf0,17036
110
112
  dub/models/operations/updatetag.py,sha256=0nGAU6if5BsetDArXCIn8YvlDgG17N1Cp8q1o9F6ff4,2101
111
113
  dub/models/operations/updateworkspace.py,sha256=qdlmA-Rz8_fC3iQs7bzmcn0qL9Lu3a04ziEIYfX3Ugo,2690
112
- dub/models/operations/upsertlink.py,sha256=V5vzhu4GwEszHVmq6U7ZookZW7ty7xIH0zWIzgTZUHA,17386
114
+ dub/models/operations/upsertlink.py,sha256=eMTe32hLKg5rScnZNTuL2ZGjLMYTGOezOM7iiamMr3g,17352
113
115
  dub/models/operations/upsertpartnerlink.py,sha256=Z0xtZHGzePne4wM2XaouR8f_pJrHA6avCmczxEo-9p0,17091
114
- dub/partners.py,sha256=GwcqBB_hfun-6f-vI9ofPqVdm12JSbKGAReYKXSUZuY,61103
116
+ dub/partners.py,sha256=y-lObDvW0e7UMFkmF2bjrikimU0zb1Lf2U-KSANCvnU,72639
115
117
  dub/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
116
118
  dub/qr_codes.py,sha256=r1kxjwW54UDxdVZ74l5U1bxbkvMcrSC9nlPUHDZYBsI,11572
117
- dub/sdk.py,sha256=HpmndHemBNHJc01BpabuqN_CCCwRbgy_Jltb9ndB8nI,7597
119
+ dub/sdk.py,sha256=KmuXn91unkqEF1nZmAghluuW-GqNoix4aLj39B-h_kE,7574
118
120
  dub/sdkconfiguration.py,sha256=2aIgzM94TIYQe5zkQmHhDsdlxJdV6cfhWX0pspYMHow,1605
119
121
  dub/tags.py,sha256=qpa2kajz07L6MiaEKlrGAOE55wF1M3eSWAx2J6X04l4,47163
120
122
  dub/track.py,sha256=y42M2SOOiM0fboywGCEvkcZJDrZp0x9Ck4GInfx-5zw,24510
121
123
  dub/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
122
124
  dub/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
123
- dub/utils/__init__.py,sha256=811KKdkxMaWDfz2lMohUWqrR4JnIWxqeNQ1lRGQU4DM,5341
125
+ dub/utils/__init__.py,sha256=P-h5S4lIx8Z9m_o-bZ1fiMWW7N7RuU0KI1WSWimXqQk,5375
124
126
  dub/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
125
127
  dub/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
126
128
  dub/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
@@ -138,7 +140,7 @@ dub/utils/unmarshal_json_response.py,sha256=FcgE-IWPMAHWDdw6QEZeLeD5G_rflScZbT10
138
140
  dub/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
139
141
  dub/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
140
142
  dub/workspaces.py,sha256=qqg3JuPFsC14D9OqUeMxYvXHOoIJOJ9To1faAG7x8kM,24373
141
- dub-0.27.1.dist-info/LICENSE,sha256=kc_aZ6YHHcdSsRy-mGsT0Ehji0ZgR_zevXiUt05V2KY,1079
142
- dub-0.27.1.dist-info/METADATA,sha256=RjtRXq_uXq1eG8BYdDvkxzjzrnMh0V6iJgjsq1ut_uQ,30362
143
- dub-0.27.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
144
- dub-0.27.1.dist-info/RECORD,,
143
+ dub-0.27.3.dist-info/LICENSE,sha256=kc_aZ6YHHcdSsRy-mGsT0Ehji0ZgR_zevXiUt05V2KY,1079
144
+ dub-0.27.3.dist-info/METADATA,sha256=TGD21Iiy6n8mpTTGKPibMa0EZBsADJCTU-CtIQsg1gY,30452
145
+ dub-0.27.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
146
+ dub-0.27.3.dist-info/RECORD,,
File without changes
File without changes