@inklok/api-spec 7.9.1 → 7.9.2
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.
- package/openapi.yaml +169 -3
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -8,7 +8,7 @@ info:
|
|
|
8
8
|
Authenticate using an API key or bearer token, then use the resources below to manage
|
|
9
9
|
templates, agreements, documents, and signing. For your first integration, start with
|
|
10
10
|
the Quick Start guide.
|
|
11
|
-
version: "7.9.
|
|
11
|
+
version: "7.9.2"
|
|
12
12
|
contact:
|
|
13
13
|
name: Inklok API Support
|
|
14
14
|
email: support@inklok.com
|
|
@@ -486,7 +486,7 @@ paths:
|
|
|
486
486
|
content:
|
|
487
487
|
application/json:
|
|
488
488
|
schema:
|
|
489
|
-
$ref: '#/components/schemas/
|
|
489
|
+
$ref: '#/components/schemas/MeBillingSeatsApplyRequest'
|
|
490
490
|
responses:
|
|
491
491
|
'200':
|
|
492
492
|
description: Successfully updated seats
|
|
@@ -528,6 +528,45 @@ paths:
|
|
|
528
528
|
'500':
|
|
529
529
|
$ref: '#/components/responses/InternalServerError'
|
|
530
530
|
|
|
531
|
+
/me/billing/seats/preview:
|
|
532
|
+
post:
|
|
533
|
+
operationId: previewMeBillingSeats
|
|
534
|
+
summary: Preview an additional-seat change for the current account
|
|
535
|
+
x-internal: true
|
|
536
|
+
x-visibility: internal
|
|
537
|
+
description: |
|
|
538
|
+
Previews the Paddle financial impact of changing the Additional Seat
|
|
539
|
+
subscription item quantity without applying the subscription mutation.
|
|
540
|
+
tags:
|
|
541
|
+
- Me
|
|
542
|
+
requestBody:
|
|
543
|
+
required: true
|
|
544
|
+
content:
|
|
545
|
+
application/json:
|
|
546
|
+
schema:
|
|
547
|
+
$ref: '#/components/schemas/MeBillingSeatsPreviewRequest'
|
|
548
|
+
responses:
|
|
549
|
+
'200':
|
|
550
|
+
description: Successfully previewed the seat change
|
|
551
|
+
content:
|
|
552
|
+
application/json:
|
|
553
|
+
schema:
|
|
554
|
+
$ref: '#/components/schemas/MeBillingSeatsPreviewResponse'
|
|
555
|
+
'400':
|
|
556
|
+
$ref: '#/components/responses/BadRequest'
|
|
557
|
+
'401':
|
|
558
|
+
$ref: '#/components/responses/Unauthorized'
|
|
559
|
+
'403':
|
|
560
|
+
$ref: '#/components/responses/Forbidden'
|
|
561
|
+
'409':
|
|
562
|
+
$ref: '#/components/responses/Conflict'
|
|
563
|
+
'502':
|
|
564
|
+
$ref: '#/components/responses/BadGateway'
|
|
565
|
+
'503':
|
|
566
|
+
$ref: '#/components/responses/ServiceUnavailable'
|
|
567
|
+
'500':
|
|
568
|
+
$ref: '#/components/responses/InternalServerError'
|
|
569
|
+
|
|
531
570
|
/platform/overview:
|
|
532
571
|
get:
|
|
533
572
|
operationId: getPlatformOverview
|
|
@@ -3982,15 +4021,142 @@ components:
|
|
|
3982
4021
|
nullable: true
|
|
3983
4022
|
minimum: 0
|
|
3984
4023
|
|
|
3985
|
-
|
|
4024
|
+
MeBillingSeatsPreviewRequest:
|
|
4025
|
+
type: object
|
|
4026
|
+
additionalProperties: false
|
|
4027
|
+
required:
|
|
4028
|
+
- additionalSeats
|
|
4029
|
+
properties:
|
|
4030
|
+
additionalSeats:
|
|
4031
|
+
type: integer
|
|
4032
|
+
minimum: 0
|
|
4033
|
+
|
|
4034
|
+
MeBillingSeatsApplyRequest:
|
|
3986
4035
|
type: object
|
|
3987
4036
|
additionalProperties: false
|
|
3988
4037
|
required:
|
|
3989
4038
|
- additionalSeats
|
|
4039
|
+
- previewToken
|
|
3990
4040
|
properties:
|
|
3991
4041
|
additionalSeats:
|
|
3992
4042
|
type: integer
|
|
3993
4043
|
minimum: 0
|
|
4044
|
+
previewToken:
|
|
4045
|
+
type: string
|
|
4046
|
+
description: Signed token returned by the seat-change preview endpoint.
|
|
4047
|
+
|
|
4048
|
+
MeBillingSeatsPreviewResponse:
|
|
4049
|
+
type: object
|
|
4050
|
+
additionalProperties: false
|
|
4051
|
+
required:
|
|
4052
|
+
- accountId
|
|
4053
|
+
- subscriptionId
|
|
4054
|
+
- currentAdditionalSeats
|
|
4055
|
+
- proposedAdditionalSeats
|
|
4056
|
+
- currentEffectiveSeatLimit
|
|
4057
|
+
- proposedEffectiveSeatLimit
|
|
4058
|
+
- direction
|
|
4059
|
+
- prorationBillingMode
|
|
4060
|
+
- memberLimitWarning
|
|
4061
|
+
- immediateAdjustment
|
|
4062
|
+
- nextRecurringAmount
|
|
4063
|
+
- nextBillingDate
|
|
4064
|
+
- billingCycle
|
|
4065
|
+
- previewToken
|
|
4066
|
+
properties:
|
|
4067
|
+
accountId:
|
|
4068
|
+
type: string
|
|
4069
|
+
subscriptionId:
|
|
4070
|
+
type: string
|
|
4071
|
+
currentAdditionalSeats:
|
|
4072
|
+
type: integer
|
|
4073
|
+
minimum: 0
|
|
4074
|
+
proposedAdditionalSeats:
|
|
4075
|
+
type: integer
|
|
4076
|
+
minimum: 0
|
|
4077
|
+
currentEffectiveSeatLimit:
|
|
4078
|
+
type: integer
|
|
4079
|
+
nullable: true
|
|
4080
|
+
minimum: 0
|
|
4081
|
+
proposedEffectiveSeatLimit:
|
|
4082
|
+
type: integer
|
|
4083
|
+
nullable: true
|
|
4084
|
+
minimum: 0
|
|
4085
|
+
direction:
|
|
4086
|
+
type: string
|
|
4087
|
+
enum: [increase, decrease, unchanged]
|
|
4088
|
+
prorationBillingMode:
|
|
4089
|
+
type: string
|
|
4090
|
+
enum: [prorated_immediately, prorated_next_billing_period]
|
|
4091
|
+
memberLimitWarning:
|
|
4092
|
+
type: object
|
|
4093
|
+
nullable: true
|
|
4094
|
+
additionalProperties: false
|
|
4095
|
+
required:
|
|
4096
|
+
- activeMembers
|
|
4097
|
+
- proposedEffectiveSeatLimit
|
|
4098
|
+
- overBy
|
|
4099
|
+
properties:
|
|
4100
|
+
activeMembers:
|
|
4101
|
+
type: integer
|
|
4102
|
+
minimum: 0
|
|
4103
|
+
proposedEffectiveSeatLimit:
|
|
4104
|
+
type: integer
|
|
4105
|
+
minimum: 0
|
|
4106
|
+
overBy:
|
|
4107
|
+
type: integer
|
|
4108
|
+
minimum: 1
|
|
4109
|
+
immediateAdjustment:
|
|
4110
|
+
type: object
|
|
4111
|
+
additionalProperties: false
|
|
4112
|
+
required:
|
|
4113
|
+
- amount
|
|
4114
|
+
- currencyCode
|
|
4115
|
+
- kind
|
|
4116
|
+
properties:
|
|
4117
|
+
amount:
|
|
4118
|
+
type: integer
|
|
4119
|
+
description: Signed minor-unit amount. Positive charges now; negative credits now; zero means no immediate payment.
|
|
4120
|
+
currencyCode:
|
|
4121
|
+
type: string
|
|
4122
|
+
nullable: true
|
|
4123
|
+
kind:
|
|
4124
|
+
type: string
|
|
4125
|
+
enum: [charge, credit, none]
|
|
4126
|
+
nextRecurringAmount:
|
|
4127
|
+
type: object
|
|
4128
|
+
additionalProperties: false
|
|
4129
|
+
required:
|
|
4130
|
+
- amount
|
|
4131
|
+
- currencyCode
|
|
4132
|
+
properties:
|
|
4133
|
+
amount:
|
|
4134
|
+
type: integer
|
|
4135
|
+
nullable: true
|
|
4136
|
+
description: Minor-unit recurring subscription total from Paddle preview.
|
|
4137
|
+
currencyCode:
|
|
4138
|
+
type: string
|
|
4139
|
+
nullable: true
|
|
4140
|
+
nextBillingDate:
|
|
4141
|
+
type: string
|
|
4142
|
+
format: date-time
|
|
4143
|
+
nullable: true
|
|
4144
|
+
billingCycle:
|
|
4145
|
+
type: object
|
|
4146
|
+
additionalProperties: false
|
|
4147
|
+
required:
|
|
4148
|
+
- interval
|
|
4149
|
+
- frequency
|
|
4150
|
+
properties:
|
|
4151
|
+
interval:
|
|
4152
|
+
type: string
|
|
4153
|
+
enum: [day, week, month, year, unknown]
|
|
4154
|
+
frequency:
|
|
4155
|
+
type: integer
|
|
4156
|
+
nullable: true
|
|
4157
|
+
minimum: 1
|
|
4158
|
+
previewToken:
|
|
4159
|
+
type: string
|
|
3994
4160
|
|
|
3995
4161
|
MeBillingResponse:
|
|
3996
4162
|
type: object
|