@seamapi/types 1.1182.0 → 1.1184.0

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.
@@ -56527,6 +56527,12 @@ const openapi = {
56527
56527
  trial: {
56528
56528
  nullable: true,
56529
56529
  properties: {
56530
+ can_extend_trial: { type: 'boolean' },
56531
+ extended_trial_ends_at: {
56532
+ format: 'date-time',
56533
+ nullable: true,
56534
+ type: 'string',
56535
+ },
56530
56536
  is_active: { type: 'boolean' },
56531
56537
  is_credits_used_up: { type: 'boolean' },
56532
56538
  is_suspended: { type: 'boolean' },
@@ -56559,6 +56565,8 @@ const openapi = {
56559
56565
  'used_credits',
56560
56566
  'remaining_credits',
56561
56567
  'is_credits_used_up',
56568
+ 'can_extend_trial',
56569
+ 'extended_trial_ends_at',
56562
56570
  ],
56563
56571
  type: 'object',
56564
56572
  },
@@ -57814,6 +57822,94 @@ const openapi = {
57814
57822
  'x-undocumented': 'Internal endpoint for Console',
57815
57823
  },
57816
57824
  },
57825
+ '/seam/console/v1/credits/trial/extend': {
57826
+ post: {
57827
+ description: "Moves the end of the organization's credits trial 14 days later. The trial keeps the credits it already has. An organization can extend its trial once; Seam support can extend it further.",
57828
+ operationId: 'seamConsoleV1CreditsTrialExtendPost',
57829
+ requestBody: {
57830
+ content: {
57831
+ 'application/json': {
57832
+ schema: {
57833
+ properties: {
57834
+ organization_id: { format: 'uuid', type: 'string' },
57835
+ },
57836
+ required: ['organization_id'],
57837
+ type: 'object',
57838
+ },
57839
+ },
57840
+ },
57841
+ },
57842
+ responses: {
57843
+ '200': {
57844
+ content: {
57845
+ 'application/json': {
57846
+ schema: {
57847
+ properties: {
57848
+ ok: { type: 'boolean' },
57849
+ trial: {
57850
+ properties: {
57851
+ can_extend_trial: { type: 'boolean' },
57852
+ extended_trial_ends_at: {
57853
+ format: 'date-time',
57854
+ nullable: true,
57855
+ type: 'string',
57856
+ },
57857
+ is_active: { type: 'boolean' },
57858
+ is_credits_used_up: { type: 'boolean' },
57859
+ is_suspended: { type: 'boolean' },
57860
+ remaining_credits: {
57861
+ format: 'float',
57862
+ nullable: true,
57863
+ type: 'number',
57864
+ },
57865
+ trial_credits: { format: 'float', type: 'number' },
57866
+ trial_ends_at: { format: 'date-time', type: 'string' },
57867
+ trial_started_at: {
57868
+ format: 'date-time',
57869
+ type: 'string',
57870
+ },
57871
+ used_credits: {
57872
+ format: 'float',
57873
+ nullable: true,
57874
+ type: 'number',
57875
+ },
57876
+ },
57877
+ required: [
57878
+ 'trial_started_at',
57879
+ 'trial_ends_at',
57880
+ 'is_active',
57881
+ 'is_suspended',
57882
+ 'trial_credits',
57883
+ 'used_credits',
57884
+ 'remaining_credits',
57885
+ 'is_credits_used_up',
57886
+ 'can_extend_trial',
57887
+ 'extended_trial_ends_at',
57888
+ ],
57889
+ type: 'object',
57890
+ },
57891
+ },
57892
+ required: ['trial', 'ok'],
57893
+ type: 'object',
57894
+ },
57895
+ },
57896
+ },
57897
+ description: 'OK',
57898
+ },
57899
+ '400': { description: 'Bad Request' },
57900
+ '401': { description: 'Unauthorized' },
57901
+ },
57902
+ security: [{ console_session_without_workspace: [] }],
57903
+ summary: '/seam/console/v1/credits/trial/extend',
57904
+ tags: [],
57905
+ 'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'credits', 'trial'],
57906
+ 'x-fern-sdk-method-name': 'extend',
57907
+ 'x-fern-sdk-return-value': 'trial',
57908
+ 'x-response-key': 'trial',
57909
+ 'x-title': "Extend an Organization's Credits Trial",
57910
+ 'x-undocumented': 'Internal endpoint for Console',
57911
+ },
57912
+ },
57817
57913
  '/seam/console/v1/credits/usage/get': {
57818
57914
  post: {
57819
57915
  description: "Returns the organization's credit usage for the current subscription period (or the trailing 30 days without a subscription), broken down by workspace, by action and by day.",