@appsemble/utils 0.34.21 → 0.35.3-test.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.
- package/README.md +3 -3
- package/api/components/parameters/index.d.ts +1 -0
- package/api/components/parameters/index.js +1 -0
- package/api/components/parameters/organizationSubscriptionId.d.ts +9 -0
- package/api/components/parameters/organizationSubscriptionId.js +8 -0
- package/api/components/responses/organizationSubscription.d.ts +2 -0
- package/api/components/responses/organizationSubscription.js +11 -0
- package/api/components/responses/organizationSubscriptionPrice.d.ts +2 -0
- package/api/components/responses/organizationSubscriptionPrice.js +11 -0
- package/api/components/schemas/AppPaymentSettings.d.ts +2 -0
- package/api/components/schemas/AppPaymentSettings.js +24 -0
- package/api/components/schemas/Organization.js +36 -0
- package/api/components/schemas/OrganizationSubscription.d.ts +2 -0
- package/api/components/schemas/OrganizationSubscription.js +42 -0
- package/api/components/schemas/OrganizationSubscriptionsPrice.d.ts +2 -0
- package/api/components/schemas/OrganizationSubscriptionsPrice.js +25 -0
- package/api/components/schemas/index.d.ts +1 -0
- package/api/components/schemas/index.js +1 -0
- package/api/paths/apps/appId/clonable-assets.js +20 -0
- package/api/paths/apps/appId/clonable-resources.js +20 -0
- package/api/paths/{group-invites → apps/appId/group-invites}/token/respond.js +1 -0
- package/api/paths/{group-invites → apps/appId/group-invites}/token.js +1 -0
- package/api/paths/{group-members → apps/appId/group-members}/groupMemberId/role.js +4 -1
- package/api/paths/{group-members → apps/appId/group-members}/groupMemberId.js +4 -1
- package/api/paths/{groups → apps/appId/groups}/groupId/invites/resend.js +4 -1
- package/api/paths/{groups → apps/appId/groups}/groupId/invites.js +1 -0
- package/api/paths/{groups → apps/appId/groups}/groupId/members.js +1 -0
- package/api/paths/{groups → apps/appId/groups}/groupId.js +1 -0
- package/api/paths/{app-invites → apps/appId/invites}/token/respond.js +1 -0
- package/api/paths/{app-invites → apps/appId/invites}/token.js +1 -0
- package/api/paths/{app-members → apps/appId/members}/appMemberId/picture.js +1 -0
- package/api/paths/apps/appId/members/appMemberId/properties.d.ts +2 -0
- package/api/paths/{app-members → apps/appId/members}/appMemberId/properties.js +1 -0
- package/api/paths/apps/appId/members/appMemberId/role.d.ts +2 -0
- package/api/paths/{app-members → apps/appId/members}/appMemberId/role.js +1 -0
- package/api/paths/{app-members → apps/appId/members}/appMemberId.js +1 -0
- package/api/paths/apps/appId/paymentSettings.d.ts +2 -0
- package/api/paths/apps/appId/paymentSettings.js +91 -0
- package/api/paths/apps/appId/payments/acceptPayment.d.ts +2 -0
- package/api/paths/apps/appId/payments/acceptPayment.js +340 -0
- package/api/paths/apps/appId/payments/createCheckout.d.ts +2 -0
- package/api/paths/apps/appId/payments/createCheckout.js +48 -0
- package/api/paths/apps/appId.js +16 -0
- package/api/paths/index.d.ts +24 -14
- package/api/paths/index.js +48 -28
- package/api/paths/organizationSubscriptions/organizationSubscriptionId.d.ts +2 -0
- package/api/paths/organizationSubscriptions/organizationSubscriptionId.js +39 -0
- package/api/paths/organizationSubscriptions.d.ts +2 -0
- package/api/paths/organizationSubscriptions.js +23 -0
- package/api/paths/organizations/organizationId/organizationSubscription.d.ts +2 -0
- package/api/paths/organizations/organizationId/organizationSubscription.js +13 -0
- package/api/paths/organizations/organizationId/organizationSubscriptionPrice.d.ts +2 -0
- package/api/paths/organizations/organizationId/organizationSubscriptionPrice.js +33 -0
- package/api/paths/organizations/organizationId/subscription.d.ts +2 -0
- package/api/paths/organizations/organizationId/subscription.js +13 -0
- package/api/paths/organizations/organizationId.js +24 -0
- package/api/paths/organizations.js +24 -0
- package/api/paths/payments/acceptPayment.d.ts +2 -0
- package/api/paths/payments/acceptPayment.js +340 -0
- package/api/paths/payments/payment.d.ts +2 -0
- package/api/paths/payments/payment.js +40 -0
- package/api/tags/index.js +4 -0
- package/package.json +3 -3
- /package/api/paths/{app-invites/token.d.ts → apps/appId/clonable-assets.d.ts} +0 -0
- /package/api/paths/{app-invites/token/respond.d.ts → apps/appId/clonable-resources.d.ts} +0 -0
- /package/api/paths/{group-invites → apps/appId/group-invites}/token/respond.d.ts +0 -0
- /package/api/paths/{group-invites → apps/appId/group-invites}/token.d.ts +0 -0
- /package/api/paths/{app-members/appMemberId → apps/appId/group-members/groupMemberId}/role.d.ts +0 -0
- /package/api/paths/{group-members → apps/appId/group-members}/groupMemberId.d.ts +0 -0
- /package/api/paths/{groups → apps/appId/groups}/groupId/invites/resend.d.ts +0 -0
- /package/api/paths/{groups → apps/appId/groups}/groupId/invites.d.ts +0 -0
- /package/api/paths/{groups → apps/appId/groups}/groupId/members.d.ts +0 -0
- /package/api/paths/{groups → apps/appId/groups}/groupId.d.ts +0 -0
- /package/api/paths/{app-members/appMemberId/picture.d.ts → apps/appId/invites/token/respond.d.ts} +0 -0
- /package/api/paths/{app-members/appMemberId.d.ts → apps/appId/invites/token.d.ts} +0 -0
- /package/api/paths/{group-members/groupMemberId/role.d.ts → apps/appId/members/appMemberId/picture.d.ts} +0 -0
- /package/api/paths/{app-members/appMemberId/properties.d.ts → apps/appId/members/appMemberId.d.ts} +0 -0
package/api/paths/index.js
CHANGED
|
@@ -4,12 +4,6 @@ import { pathItems as appCollectionsAppCollectionIdApps } from './app-collection
|
|
|
4
4
|
import { pathItems as appCollectionsAppCollectionIdExpertProfileImage } from './app-collections/appCollectionId/expert/profileImage.js';
|
|
5
5
|
import { pathItems as appCollectionsAppCollectionIdHeaderImage } from './app-collections/appCollectionId/headerImage.js';
|
|
6
6
|
import { pathItems as appCollectionsAppCollectionId } from './app-collections/appCollectionId.js';
|
|
7
|
-
import { pathItems as appInvitesTokenRespond } from './app-invites/token/respond.js';
|
|
8
|
-
import { pathItems as appInvitesToken } from './app-invites/token.js';
|
|
9
|
-
import { pathItems as appMembersAppMemberIdPicture } from './app-members/appMemberId/picture.js';
|
|
10
|
-
import { pathItems as appMembersAppMemberIdProperties } from './app-members/appMemberId/properties.js';
|
|
11
|
-
import { pathItems as appMembersAppMemberIdRole } from './app-members/appMemberId/role.js';
|
|
12
|
-
import { pathItems as appMembersAppMemberId } from './app-members/appMemberId.js';
|
|
13
7
|
import { pathItems as appCollections } from './appCollections.js';
|
|
14
8
|
import { pathItems as appsAppIdActionsPath } from './apps/appId/actions/path.js';
|
|
15
9
|
import { pathItems as appsAppIdAssetsAssetId } from './apps/appId/assets/assetId.js';
|
|
@@ -22,22 +16,41 @@ import { pathItems as appsAppIdAuthEmailResendVerification } from './apps/appId/
|
|
|
22
16
|
import { pathItems as appsAppIdAuthEmailResetPassword } from './apps/appId/auth/email/resetPassword.js';
|
|
23
17
|
import { pathItems as appsAppIdAuthEmailVerify } from './apps/appId/auth/email/verify.js';
|
|
24
18
|
import { pathItems as appsAppIdBroadcast } from './apps/appId/broadcast.js';
|
|
19
|
+
import { pathItems as appsAppIdClonableAssets } from './apps/appId/clonable-assets.js';
|
|
20
|
+
import { pathItems as appsAppIdClonableResources } from './apps/appId/clonable-resources.js';
|
|
25
21
|
import { pathItems as appsAppIdDemoGroups } from './apps/appId/demo-groups.js';
|
|
26
22
|
import { pathItems as appsAppIdDemoMembers } from './apps/appId/demo-members.js';
|
|
27
23
|
import { pathItems as appsAppIdEmail } from './apps/appId/email.js';
|
|
28
24
|
import { pathItems as appsAppIdExport } from './apps/appId/export.js';
|
|
25
|
+
import { pathItems as groupInvitesTokenRespond } from './apps/appId/group-invites/token/respond.js';
|
|
26
|
+
import { pathItems as groupInvitesToken } from './apps/appId/group-invites/token.js';
|
|
27
|
+
import { pathItems as groupsMembersGroupMemberIdRole } from './apps/appId/group-members/groupMemberId/role.js';
|
|
28
|
+
import { pathItems as groupsMembersGroupMemberId } from './apps/appId/group-members/groupMemberId.js';
|
|
29
|
+
import { pathItems as groupsGroupIdInvitesResend } from './apps/appId/groups/groupId/invites/resend.js';
|
|
30
|
+
import { pathItems as groupsGroupIdInvites } from './apps/appId/groups/groupId/invites.js';
|
|
31
|
+
import { pathItems as groupsGroupIdMembers } from './apps/appId/groups/groupId/members.js';
|
|
32
|
+
import { pathItems as groupsGroupId } from './apps/appId/groups/groupId.js';
|
|
29
33
|
import { pathItems as appsAppIdGroups } from './apps/appId/groups.js';
|
|
30
34
|
import { pathItems as appsAppIdIcon } from './apps/appId/icon.js';
|
|
31
35
|
import { pathItems as appsAppIdInvitesResend } from './apps/appId/invites/resend.js';
|
|
36
|
+
import { pathItems as appsAppIdAppInvitesTokenRespond } from './apps/appId/invites/token/respond.js';
|
|
37
|
+
import { pathItems as appsAppIdAppInvitesToken } from './apps/appId/invites/token.js';
|
|
32
38
|
import { pathItems as appsAppIdInvites } from './apps/appId/invites.js';
|
|
33
39
|
import { pathItems as appsAppIdLock } from './apps/appId/lock.js';
|
|
34
40
|
import { pathItems as appsAppIdMaskableIcon } from './apps/appId/maskableIcon.js';
|
|
41
|
+
import { pathItems as appsAppIdAppMembersAppMemberIdPicture } from './apps/appId/members/appMemberId/picture.js';
|
|
42
|
+
import { pathItems as appsAppIdAppMembersAppMemberIdProperties } from './apps/appId/members/appMemberId/properties.js';
|
|
43
|
+
import { pathItems as appsAppIdAppMembersAppMemberIdRole } from './apps/appId/members/appMemberId/role.js';
|
|
44
|
+
import { pathItems as appsAppIdAppMembersAppMemberId } from './apps/appId/members/appMemberId.js';
|
|
35
45
|
import { pathItems as appsAppIdMembersCurrentGroups } from './apps/appId/members/current/groups.js';
|
|
36
46
|
import { pathItems as appsAppIdMembersCurrentLink } from './apps/appId/members/current/link.js';
|
|
37
47
|
import { pathItems as appsAppIdMembersCurrent } from './apps/appId/members/current.js';
|
|
38
48
|
import { pathItems as appsAppIdMembers } from './apps/appId/members.js';
|
|
39
49
|
import { pathItems as appsAppIdMessagesLanguage } from './apps/appId/messages/language.js';
|
|
40
50
|
import { pathItems as appsAppIdMessages } from './apps/appId/messages.js';
|
|
51
|
+
import { pathItems as acceptAppPayment } from './apps/appId/payments/acceptPayment.js';
|
|
52
|
+
import { pathItems as createAppCheckout } from './apps/appId/payments/createCheckout.js';
|
|
53
|
+
import { pathItems as appsAppIdPayments } from './apps/appId/paymentSettings.js';
|
|
41
54
|
import { pathItems as appsAppIdQuotasEmail } from './apps/appId/quotas/emails.js';
|
|
42
55
|
import { pathItems as appsAppIdRatings } from './apps/appId/ratings.js';
|
|
43
56
|
import { pathItems as appsAppIdReadmesReadmeId } from './apps/appId/readmes/readmeId.js';
|
|
@@ -104,14 +117,6 @@ import { pathItems as blocksOrganizationIdBlockIdVersions } from './blocks/organ
|
|
|
104
117
|
import { pathItems as blocksOrganizationIdBlockId } from './blocks/organizationId/blockId.js';
|
|
105
118
|
import { pathItems as blocks } from './blocks.js';
|
|
106
119
|
import { pathItems as containersAppIdLogsContainer } from './containerLogs.js';
|
|
107
|
-
import { pathItems as groupInvitesTokenRespond } from './group-invites/token/respond.js';
|
|
108
|
-
import { pathItems as groupInvitesToken } from './group-invites/token.js';
|
|
109
|
-
import { pathItems as groupsMembersGroupMemberIdRole } from './group-members/groupMemberId/role.js';
|
|
110
|
-
import { pathItems as groupsMembersGroupMemberId } from './group-members/groupMemberId.js';
|
|
111
|
-
import { pathItems as groupsGroupIdInvitesResend } from './groups/groupId/invites/resend.js';
|
|
112
|
-
import { pathItems as groupsGroupIdInvites } from './groups/groupId/invites.js';
|
|
113
|
-
import { pathItems as groupsGroupIdMembers } from './groups/groupId/members.js';
|
|
114
|
-
import { pathItems as groupsGroupId } from './groups/groupId.js';
|
|
115
120
|
import { pathItems as health } from './health.js';
|
|
116
121
|
import { pathItems as messagesLanguage } from './messages/language.js';
|
|
117
122
|
import { pathItems as messages } from './messages.js';
|
|
@@ -127,8 +132,13 @@ import { pathItems as organizationsOrganizationIdInvites } from './organizations
|
|
|
127
132
|
import { pathItems as organizationsOrganizationIdMembersMemberIdRole } from './organizations/organizationId/members/memberId/role.js';
|
|
128
133
|
import { pathItems as organizationsOrganizationIdMembersMemberId } from './organizations/organizationId/members/memberId.js';
|
|
129
134
|
import { pathItems as organizationsOrganizationIdMembers } from './organizations/organizationId/members.js';
|
|
135
|
+
import { pathItems as organizationsOrganizationIdOrganizationSubscriptionPrice } from './organizations/organizationId/organizationSubscriptionPrice.js';
|
|
136
|
+
import { pathItems as organizationsOrganizationIdOrganizationSubscription } from './organizations/organizationId/subscription.js';
|
|
130
137
|
import { pathItems as organizationsOrganizationId } from './organizations/organizationId.js';
|
|
131
138
|
import { pathItems as organizations } from './organizations.js';
|
|
139
|
+
import { pathItems as organizationSubscriptionsOrganizationSubscriptionId } from './organizationSubscriptions/organizationSubscriptionId.js';
|
|
140
|
+
import { pathItems as acceptPayment } from './payments/acceptPayment.js';
|
|
141
|
+
import { pathItems as sendInvoice } from './payments/payment.js';
|
|
132
142
|
import { pathItems as ssl } from './ssl.js';
|
|
133
143
|
import { pathItems as timezones } from './timezones.js';
|
|
134
144
|
import { pathItems as completedTrainings } from './trainings/completedTrainings.js';
|
|
@@ -155,13 +165,15 @@ export const paths = {
|
|
|
155
165
|
'/api/app-collections/{appCollectionId}/header-image': appCollectionsAppCollectionIdHeaderImage,
|
|
156
166
|
'/api/app-collections/{appCollectionId}': appCollectionsAppCollectionId,
|
|
157
167
|
'/api/app-collections': appCollections,
|
|
158
|
-
'/api/app-invites/{token}/respond':
|
|
159
|
-
'/api/app-invites/{token}':
|
|
160
|
-
'/api/app-members/{appMemberId}/picture':
|
|
161
|
-
'/api/app-members/{appMemberId}/properties':
|
|
162
|
-
'/api/app-members/{appMemberId}/role':
|
|
163
|
-
'/api/app-members/{appMemberId}':
|
|
168
|
+
'/api/apps/{appId}/app-invites/{token}/respond': appsAppIdAppInvitesTokenRespond,
|
|
169
|
+
'/api/apps/{appId}/app-invites/{token}': appsAppIdAppInvitesToken,
|
|
170
|
+
'/api/apps/{appId}/app-members/{appMemberId}/picture': appsAppIdAppMembersAppMemberIdPicture,
|
|
171
|
+
'/api/apps/{appId}/app-members/{appMemberId}/properties': appsAppIdAppMembersAppMemberIdProperties,
|
|
172
|
+
'/api/apps/{appId}/app-members/{appMemberId}/role': appsAppIdAppMembersAppMemberIdRole,
|
|
173
|
+
'/api/apps/{appId}/app-members/{appMemberId}': appsAppIdAppMembersAppMemberId,
|
|
164
174
|
'/api/apps/{appId}/actions/{path}': appsAppIdActionsPath,
|
|
175
|
+
'/api/apps/{appId}/clonable-assets': appsAppIdClonableAssets,
|
|
176
|
+
'/api/apps/{appId}/clonable-resources': appsAppIdClonableResources,
|
|
165
177
|
// XXX: Temporary workaround until this is fixed in Koas
|
|
166
178
|
// See https://gitlab.com/remcohaszing/koas/-/issues/2
|
|
167
179
|
'/api/apps/{appId}/assets/\\$count': appsAppIdAssets$Count,
|
|
@@ -171,9 +183,12 @@ export const paths = {
|
|
|
171
183
|
'/api/apps/{appId}/demo-groups': appsAppIdDemoGroups,
|
|
172
184
|
'/api/apps/{appId}/demo-members': appsAppIdDemoMembers,
|
|
173
185
|
'/api/apps/{appId}/email': appsAppIdEmail,
|
|
186
|
+
'/api/apps/{appId}/payment': appsAppIdPayments,
|
|
187
|
+
'/api/apps/{appId}/accept-payment': acceptAppPayment,
|
|
174
188
|
'/api/apps/{appId}/export': appsAppIdExport,
|
|
175
189
|
'/api/apps/{appId}/groups': appsAppIdGroups,
|
|
176
190
|
'/api/apps/{appId}/icon': appsAppIdIcon,
|
|
191
|
+
'/api/apps/{appId}/create-checkout': createAppCheckout,
|
|
177
192
|
'/api/apps/{appId}/invites/resend': appsAppIdInvitesResend,
|
|
178
193
|
'/api/apps/{appId}/invites': appsAppIdInvites,
|
|
179
194
|
'/api/apps/{appId}/lock': appsAppIdLock,
|
|
@@ -259,6 +274,8 @@ export const paths = {
|
|
|
259
274
|
'/api/blocks': blocks,
|
|
260
275
|
'/api/containers/{appId}/logs/{container}': containersAppIdLogsContainer,
|
|
261
276
|
'/api/health': health,
|
|
277
|
+
'/api/payments/send-invoice': sendInvoice,
|
|
278
|
+
'/api/payments/accept-payment': acceptPayment,
|
|
262
279
|
'/api/messages/{language}': messagesLanguage,
|
|
263
280
|
'/api/messages': messages,
|
|
264
281
|
'/api/organization-invites/{token}/respond': organizationInvitesTokenRespond,
|
|
@@ -273,17 +290,20 @@ export const paths = {
|
|
|
273
290
|
'/api/organizations/{organizationId}/members/{organizationMemberId}/role': organizationsOrganizationIdMembersMemberIdRole,
|
|
274
291
|
'/api/organizations/{organizationId}/members/{organizationMemberId}': organizationsOrganizationIdMembersMemberId,
|
|
275
292
|
'/api/organizations/{organizationId}/members': organizationsOrganizationIdMembers,
|
|
293
|
+
'/api/organizations/{organizationId}/subscription': organizationsOrganizationIdOrganizationSubscription,
|
|
294
|
+
'/api/organizations/{organizationId}/subscription/price': organizationsOrganizationIdOrganizationSubscriptionPrice,
|
|
276
295
|
'/api/organizations/{organizationId}': organizationsOrganizationId,
|
|
277
296
|
'/api/organizations': organizations,
|
|
297
|
+
'/api/organization-subscriptions/{organizationSubscriptionId}': organizationSubscriptionsOrganizationSubscriptionId,
|
|
278
298
|
'/api/ssl': ssl,
|
|
279
|
-
'/api/group-invites/{token}/respond': groupInvitesTokenRespond,
|
|
280
|
-
'/api/group-invites/{token}': groupInvitesToken,
|
|
281
|
-
'/api/group-members/{groupMemberId}/role': groupsMembersGroupMemberIdRole,
|
|
282
|
-
'/api/group-members/{groupMemberId}': groupsMembersGroupMemberId,
|
|
283
|
-
'/api/groups/{groupId}/invites/resend': groupsGroupIdInvitesResend,
|
|
284
|
-
'/api/groups/{groupId}/invites': groupsGroupIdInvites,
|
|
285
|
-
'/api/groups/{groupId}/members': groupsGroupIdMembers,
|
|
286
|
-
'/api/groups/{groupId}': groupsGroupId,
|
|
299
|
+
'/api/apps/{appId}/group-invites/{token}/respond': groupInvitesTokenRespond,
|
|
300
|
+
'/api/apps/{appId}/group-invites/{token}': groupInvitesToken,
|
|
301
|
+
'/api/apps/{appId}/group-members/{groupMemberId}/role': groupsMembersGroupMemberIdRole,
|
|
302
|
+
'/api/apps/{appId}/group-members/{groupMemberId}': groupsMembersGroupMemberId,
|
|
303
|
+
'/api/apps/{appId}/groups/{groupId}/invites/resend': groupsGroupIdInvitesResend,
|
|
304
|
+
'/api/apps/{appId}/groups/{groupId}/invites': groupsGroupIdInvites,
|
|
305
|
+
'/api/apps/{appId}/groups/{groupId}/members': groupsGroupIdMembers,
|
|
306
|
+
'/api/apps/{appId}/groups/{groupId}': groupsGroupId,
|
|
287
307
|
'/api/timezones': timezones,
|
|
288
308
|
'/api/trainings/completed': completedTrainings,
|
|
289
309
|
'/api/trainings/completed/{trainingId}': completeTraining,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/organizationSubscriptionId' }],
|
|
3
|
+
patch: {
|
|
4
|
+
tags: ['main', 'organization-subscription'],
|
|
5
|
+
description: 'Patch a subscription',
|
|
6
|
+
operationId: 'patchOrganizationSubscription',
|
|
7
|
+
requestBody: {
|
|
8
|
+
content: {
|
|
9
|
+
'multipart/form-data': {
|
|
10
|
+
schema: {
|
|
11
|
+
type: 'object',
|
|
12
|
+
properties: {
|
|
13
|
+
cancelled: {
|
|
14
|
+
$ref: '#/components/schemas/OrganizationSubscription/properties/cancelled',
|
|
15
|
+
},
|
|
16
|
+
cancellationReason: {
|
|
17
|
+
$ref: '#/components/schemas/OrganizationSubscription/properties/cancellationReason',
|
|
18
|
+
},
|
|
19
|
+
expirationDate: {
|
|
20
|
+
$ref: '#/components/schemas/OrganizationSubscription/properties/expirationDate',
|
|
21
|
+
},
|
|
22
|
+
subscriptionPlan: {
|
|
23
|
+
$ref: '#/components/schemas/OrganizationSubscription/properties/subscriptionPlan',
|
|
24
|
+
},
|
|
25
|
+
renewalPeriod: {
|
|
26
|
+
$ref: '#/components/schemas/OrganizationSubscription/properties/renewalPeriod',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
responses: {
|
|
34
|
+
200: { $ref: '#/components/responses/organizationSubscription' },
|
|
35
|
+
},
|
|
36
|
+
security: [{ studio: [] }],
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=organizationSubscriptionId.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'organizationSubscription'],
|
|
4
|
+
description: 'Fetch the list of organizationSubscriptions.',
|
|
5
|
+
operationId: 'getOrganizationSubscriptions',
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
description: 'The list of of organizationSubscriptions',
|
|
9
|
+
content: {
|
|
10
|
+
'application/json': {
|
|
11
|
+
schema: {
|
|
12
|
+
type: 'array',
|
|
13
|
+
items: {
|
|
14
|
+
$ref: '#/components/schemas/Subscription',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=organizationSubscriptions.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
3
|
+
get: {
|
|
4
|
+
tags: ['main', 'organization', 'organizationSubscription'],
|
|
5
|
+
description: 'Get the organization subscription.',
|
|
6
|
+
operationId: 'getOrganizationOrganizationSubscription',
|
|
7
|
+
responses: {
|
|
8
|
+
200: { $ref: '#/components/responses/organizationSubscription' },
|
|
9
|
+
},
|
|
10
|
+
security: [{ studio: [] }],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=organizationSubscription.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
3
|
+
get: {
|
|
4
|
+
tags: ['main', 'organization-subscription'],
|
|
5
|
+
description: 'Fetch the price of a subscription.',
|
|
6
|
+
operationId: 'getOrganizationSubscriptionPrice',
|
|
7
|
+
parameters: [
|
|
8
|
+
{
|
|
9
|
+
in: 'query',
|
|
10
|
+
name: 'subscriptionPlan',
|
|
11
|
+
description: 'Subscription plan for which we need to calculate the price.',
|
|
12
|
+
schema: { type: 'string' },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
in: 'query',
|
|
16
|
+
name: 'period',
|
|
17
|
+
description: 'Renewal period for which we need to calculate the price.',
|
|
18
|
+
schema: { type: 'string' },
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
in: 'query',
|
|
22
|
+
name: 'couponCode',
|
|
23
|
+
description: 'Coupon code that will be applied to the subscription.',
|
|
24
|
+
schema: { type: 'string' },
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
responses: {
|
|
28
|
+
200: { $ref: '#/components/responses/organizationSubscriptionPrice' },
|
|
29
|
+
},
|
|
30
|
+
security: [{ studio: [] }],
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=organizationSubscriptionPrice.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
3
|
+
get: {
|
|
4
|
+
tags: ['main', 'organization', 'organization-subscription'],
|
|
5
|
+
description: 'Get the organization subscription.',
|
|
6
|
+
operationId: 'getOrganizationOrganizationSubscription',
|
|
7
|
+
responses: {
|
|
8
|
+
200: { $ref: '#/components/responses/organizationSubscription' },
|
|
9
|
+
},
|
|
10
|
+
security: [{ studio: [] }],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=subscription.js.map
|
|
@@ -32,6 +32,30 @@ export const pathItems = {
|
|
|
32
32
|
website: {
|
|
33
33
|
$ref: '#/components/schemas/Organization/properties/website',
|
|
34
34
|
},
|
|
35
|
+
preferredPaymentProvider: {
|
|
36
|
+
$ref: '#/components/schemas/Organization/properties/preferredPaymentProvider',
|
|
37
|
+
},
|
|
38
|
+
vatIdNumber: {
|
|
39
|
+
$ref: '#/components/schemas/Organization/properties/vatIdNumber',
|
|
40
|
+
},
|
|
41
|
+
streetName: {
|
|
42
|
+
$ref: '#/components/schemas/Organization/properties/streetName',
|
|
43
|
+
},
|
|
44
|
+
houseNumber: {
|
|
45
|
+
$ref: '#/components/schemas/Organization/properties/houseNumber',
|
|
46
|
+
},
|
|
47
|
+
city: {
|
|
48
|
+
$ref: '#/components/schemas/Organization/properties/city',
|
|
49
|
+
},
|
|
50
|
+
zipCode: {
|
|
51
|
+
$ref: '#/components/schemas/Organization/properties/zipCode',
|
|
52
|
+
},
|
|
53
|
+
countryCode: {
|
|
54
|
+
$ref: '#/components/schemas/Organization/properties/countryCode',
|
|
55
|
+
},
|
|
56
|
+
invoiceReference: {
|
|
57
|
+
$ref: '#/components/schemas/Organization/properties/invoiceReference',
|
|
58
|
+
},
|
|
35
59
|
icon: {
|
|
36
60
|
type: 'string',
|
|
37
61
|
format: 'binary',
|
|
@@ -46,6 +46,30 @@ export const pathItems = {
|
|
|
46
46
|
website: {
|
|
47
47
|
$ref: '#/components/schemas/Organization/properties/website',
|
|
48
48
|
},
|
|
49
|
+
preferredPaymentProvider: {
|
|
50
|
+
$ref: '#/components/schemas/Organization/properties/preferredPaymentProvider',
|
|
51
|
+
},
|
|
52
|
+
vatIdNumber: {
|
|
53
|
+
$ref: '#/components/schemas/Organization/properties/vatIdNumber',
|
|
54
|
+
},
|
|
55
|
+
streetName: {
|
|
56
|
+
$ref: '#/components/schemas/Organization/properties/streetName',
|
|
57
|
+
},
|
|
58
|
+
houseNumber: {
|
|
59
|
+
$ref: '#/components/schemas/Organization/properties/houseNumber',
|
|
60
|
+
},
|
|
61
|
+
city: {
|
|
62
|
+
$ref: '#/components/schemas/Organization/properties/city',
|
|
63
|
+
},
|
|
64
|
+
zipCode: {
|
|
65
|
+
$ref: '#/components/schemas/Organization/properties/zipCode',
|
|
66
|
+
},
|
|
67
|
+
countryCode: {
|
|
68
|
+
$ref: '#/components/schemas/Organization/properties/countryCode',
|
|
69
|
+
},
|
|
70
|
+
invoiceReference: {
|
|
71
|
+
$ref: '#/components/schemas/Organization/properties/invoiceReference',
|
|
72
|
+
},
|
|
49
73
|
icon: {
|
|
50
74
|
type: 'string',
|
|
51
75
|
format: 'binary',
|