dub 0.2.2.pre.alpha.6 → 0.2.2.pre.alpha.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be50dde1eb3beab6d0e936b1de774d702bb1db2b2b0479aac21b22f7b45fa76a
4
- data.tar.gz: 23925631768f7aa72dd8dd092438e84423d76b81fe152d152b8d18e5483c6031
3
+ metadata.gz: 8a40c5e5ff36b9335f4fde9afdc1d2a5bc89e10dfb951e403316b614720e1ec2
4
+ data.tar.gz: 0ab26ab5a260fd3018f514c25532eaee28c6ad24382f51db41cb0f1696ae6280
5
5
  SHA512:
6
- metadata.gz: d69a4896382a97fb9f19f2129e9f3eb1ada4e65f457da52505855e868f1ff49980494375cfeaaad73528759f39d95d43f004b85062b7df950680fe8c16257640
7
- data.tar.gz: 5145f41649037e7ca78582d661c1928e1c614c7642914eef72f7e2a8bb52972e4e105c6764ab6557975b4e6f5acf6233ccfa5eb993e9cfcc573709a188d971d5
6
+ metadata.gz: af247eb00403e77d8ed3ee7443f6e73e34e3757a8f66dc72d915443486ee8507ee5c48d747b91e5898de078d39da739a2a7a3e6fa1737671a7503e443f47a4e0
7
+ data.tar.gz: 2cc11b260e838c3ae2df78494973e393cd72c5a19ecbffb6c7734eec857ca0fdf5f8f44c67405c42e71fe00a475435bd3ae71e4d614913dfe1f76bc36e19ba99
@@ -61,6 +61,8 @@ module OpenApiSDK
61
61
  field :qr_code, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qrCode') } }
62
62
  # Whether the short link uses link cloaking.
63
63
  field :rewrite, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('rewrite') } }
64
+ # [BETA]: The total dollar amount of sales the short links has generated (in cents).
65
+ field :sale_amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('saleAmount') } }
64
66
  # [BETA]: The number of sales the short links has generated.
65
67
  field :sales, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sales') } }
66
68
  # The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
@@ -97,8 +99,8 @@ module OpenApiSDK
97
99
  field :workspace_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('workspaceId') } }
98
100
 
99
101
 
100
- sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, do_index: T::Boolean, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, track_conversion: T::Boolean, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, video: ::String, workspace_id: ::String).void }
101
- def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, track_conversion: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, workspace_id: nil)
102
+ sig { params(android: ::String, archived: T::Boolean, clicks: ::Float, comments: ::String, created_at: ::String, description: ::String, do_index: T::Boolean, domain: ::String, expired_url: ::String, expires_at: ::String, external_id: ::String, geo: ::OpenApiSDK::Shared::Geo, id: ::String, image: ::String, ios: ::String, key: ::String, last_clicked: ::String, leads: ::Float, password: ::String, project_id: ::String, proxy: T::Boolean, public_stats: T::Boolean, qr_code: ::String, rewrite: T::Boolean, sale_amount: ::Float, sales: ::Float, short_link: ::String, tag_id: ::String, tags: T::Array[::OpenApiSDK::Shared::TagSchema], title: ::String, track_conversion: T::Boolean, updated_at: ::String, url: ::String, user_id: ::String, utm_campaign: ::String, utm_content: ::String, utm_medium: ::String, utm_source: ::String, utm_term: ::String, video: ::String, workspace_id: ::String).void }
103
+ def initialize(android: nil, archived: nil, clicks: nil, comments: nil, created_at: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, id: nil, image: nil, ios: nil, key: nil, last_clicked: nil, leads: nil, password: nil, project_id: nil, proxy: nil, public_stats: nil, qr_code: nil, rewrite: nil, sale_amount: nil, sales: nil, short_link: nil, tag_id: nil, tags: nil, title: nil, track_conversion: nil, updated_at: nil, url: nil, user_id: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil, workspace_id: nil)
102
104
  @android = android
103
105
  @archived = archived
104
106
  @clicks = clicks
@@ -123,6 +125,7 @@ module OpenApiSDK
123
125
  @public_stats = public_stats
124
126
  @qr_code = qr_code
125
127
  @rewrite = rewrite
128
+ @sale_amount = sale_amount
126
129
  @sales = sales
127
130
  @short_link = short_link
128
131
  @tag_id = tag_id
@@ -11,8 +11,14 @@ module OpenApiSDK
11
11
  class WorkspaceSchema < ::OpenApiSDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # The AI limit of the workspace.
15
+ field :ai_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiLimit') } }
16
+ # The AI usage of the workspace.
17
+ field :ai_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('aiUsage') } }
14
18
  # The date and time when the billing cycle starts for the workspace.
15
19
  field :billing_cycle_start, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('billingCycleStart') } }
20
+ # Whether the workspace has conversion tracking enabled (d.to/conversions).
21
+ field :conversion_enabled, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('conversionEnabled') } }
16
22
  # The date and time when the workspace was created.
17
23
  field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
18
24
  # The domains of the workspace.
@@ -33,6 +39,14 @@ module OpenApiSDK
33
39
  field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
34
40
  # The plan of the workspace.
35
41
  field :plan, ::OpenApiSDK::Shared::Plan, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('plan'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Plan, false) } }
42
+ # The ID of the referral link of the workspace.
43
+ field :referral_link_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('referralLinkId') } }
44
+ # The number of signups referred by the workspace.
45
+ field :referred_signups, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('referredSignups') } }
46
+ # The limit of tracked revenue in the current billing cycle (in cents).
47
+ field :sales_limit, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('salesLimit') } }
48
+ # The dollar amount of tracked revenue in the current billing cycle (in cents).
49
+ field :sales_usage, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('salesUsage') } }
36
50
  # The slug of the workspace.
37
51
  field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
38
52
  # [BETA]: The Stripe Connect ID of the workspace.
@@ -53,9 +67,12 @@ module OpenApiSDK
53
67
  field :flags, T.nilable(T::Hash[Symbol, T::Boolean]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('flags') } }
54
68
 
55
69
 
56
- sig { params(billing_cycle_start: ::Float, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, plan: ::OpenApiSDK::Shared::Plan, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
57
- def initialize(billing_cycle_start: nil, created_at: nil, domains: nil, domains_limit: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, plan: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
70
+ sig { params(ai_limit: ::Float, ai_usage: ::Float, billing_cycle_start: ::Float, conversion_enabled: T::Boolean, created_at: ::String, domains: T::Array[::OpenApiSDK::Shared::Domains], domains_limit: ::Float, id: ::String, invite_code: ::String, links_limit: ::Float, links_usage: ::Float, logo: ::String, name: ::String, plan: ::OpenApiSDK::Shared::Plan, referral_link_id: ::String, referred_signups: ::Float, sales_limit: ::Float, sales_usage: ::Float, slug: ::String, stripe_connect_id: ::String, stripe_id: ::String, tags_limit: ::Float, usage: ::Float, usage_limit: ::Float, users: T::Array[::OpenApiSDK::Shared::Users], users_limit: ::Float, flags: T.nilable(T::Hash[Symbol, T::Boolean])).void }
71
+ def initialize(ai_limit: nil, ai_usage: nil, billing_cycle_start: nil, conversion_enabled: nil, created_at: nil, domains: nil, domains_limit: nil, id: nil, invite_code: nil, links_limit: nil, links_usage: nil, logo: nil, name: nil, plan: nil, referral_link_id: nil, referred_signups: nil, sales_limit: nil, sales_usage: nil, slug: nil, stripe_connect_id: nil, stripe_id: nil, tags_limit: nil, usage: nil, usage_limit: nil, users: nil, users_limit: nil, flags: nil)
72
+ @ai_limit = ai_limit
73
+ @ai_usage = ai_usage
58
74
  @billing_cycle_start = billing_cycle_start
75
+ @conversion_enabled = conversion_enabled
59
76
  @created_at = created_at
60
77
  @domains = domains
61
78
  @domains_limit = domains_limit
@@ -66,6 +83,10 @@ module OpenApiSDK
66
83
  @logo = logo
67
84
  @name = name
68
85
  @plan = plan
86
+ @referral_link_id = referral_link_id
87
+ @referred_signups = referred_signups
88
+ @sales_limit = sales_limit
89
+ @sales_usage = sales_usage
69
90
  @slug = slug
70
91
  @stripe_connect_id = stripe_connect_id
71
92
  @stripe_id = stripe_id
@@ -38,9 +38,9 @@ module OpenApiSDK
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '0.0.1'
41
- @sdk_version = '0.2.2-alpha.6'
42
- @gen_version = '2.402.5'
43
- @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.6 2.402.5 0.0.1 dub'
41
+ @sdk_version = '0.2.2-alpha.8'
42
+ @gen_version = '2.404.3'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.8 2.404.3 0.0.1 dub'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.pre.alpha.6
4
+ version: 0.2.2.pre.alpha.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-20 00:00:00.000000000 Z
11
+ date: 2024-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday