@usethrottle/api-client 2.0.0 → 2.1.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/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -0
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/EnvironmentIdHeader.d.ts +5 -0
- package/dist/generated/models/EnvironmentIdHeader.d.ts.map +1 -0
- package/dist/generated/models/EnvironmentIdHeader.js +2 -0
- package/dist/generated/models/EnvironmentIdHeader.js.map +1 -0
- package/dist/generated/services/AffiliatesService.d.ts +8 -4
- package/dist/generated/services/AffiliatesService.d.ts.map +1 -1
- package/dist/generated/services/AffiliatesService.js +20 -4
- package/dist/generated/services/AffiliatesService.js.map +1 -1
- package/dist/generated/services/ApiKeysService.d.ts +6 -3
- package/dist/generated/services/ApiKeysService.d.ts.map +1 -1
- package/dist/generated/services/ApiKeysService.js +15 -3
- package/dist/generated/services/ApiKeysService.js.map +1 -1
- package/dist/generated/services/ApplicationEmailSettingsService.d.ts +12 -6
- package/dist/generated/services/ApplicationEmailSettingsService.d.ts.map +1 -1
- package/dist/generated/services/ApplicationEmailSettingsService.js +30 -6
- package/dist/generated/services/ApplicationEmailSettingsService.js.map +1 -1
- package/dist/generated/services/ApplicationEmailTemplatesService.d.ts +14 -7
- package/dist/generated/services/ApplicationEmailTemplatesService.d.ts.map +1 -1
- package/dist/generated/services/ApplicationEmailTemplatesService.js +35 -7
- package/dist/generated/services/ApplicationEmailTemplatesService.js.map +1 -1
- package/dist/generated/services/ApplicationsService.d.ts +14 -7
- package/dist/generated/services/ApplicationsService.d.ts.map +1 -1
- package/dist/generated/services/ApplicationsService.js +35 -7
- package/dist/generated/services/ApplicationsService.js.map +1 -1
- package/dist/generated/services/AuditService.d.ts +2 -1
- package/dist/generated/services/AuditService.d.ts.map +1 -1
- package/dist/generated/services/AuditService.js +5 -1
- package/dist/generated/services/AuditService.js.map +1 -1
- package/dist/generated/services/AuthService.d.ts +2 -1
- package/dist/generated/services/AuthService.d.ts.map +1 -1
- package/dist/generated/services/AuthService.js +5 -1
- package/dist/generated/services/AuthService.js.map +1 -1
- package/dist/generated/services/BigCommerceService.d.ts +8 -4
- package/dist/generated/services/BigCommerceService.d.ts.map +1 -1
- package/dist/generated/services/BigCommerceService.js +20 -4
- package/dist/generated/services/BigCommerceService.js.map +1 -1
- package/dist/generated/services/CartsService.d.ts +30 -15
- package/dist/generated/services/CartsService.d.ts.map +1 -1
- package/dist/generated/services/CartsService.js +75 -15
- package/dist/generated/services/CartsService.js.map +1 -1
- package/dist/generated/services/CheckoutSessionsService.d.ts +24 -12
- package/dist/generated/services/CheckoutSessionsService.d.ts.map +1 -1
- package/dist/generated/services/CheckoutSessionsService.js +60 -12
- package/dist/generated/services/CheckoutSessionsService.js.map +1 -1
- package/dist/generated/services/ConnectorsService.d.ts +26 -13
- package/dist/generated/services/ConnectorsService.d.ts.map +1 -1
- package/dist/generated/services/ConnectorsService.js +65 -13
- package/dist/generated/services/ConnectorsService.js.map +1 -1
- package/dist/generated/services/CustomersService.d.ts +34 -17
- package/dist/generated/services/CustomersService.d.ts.map +1 -1
- package/dist/generated/services/CustomersService.js +85 -17
- package/dist/generated/services/CustomersService.js.map +1 -1
- package/dist/generated/services/DefaultService.d.ts +98 -49
- package/dist/generated/services/DefaultService.d.ts.map +1 -1
- package/dist/generated/services/DefaultService.js +245 -49
- package/dist/generated/services/DefaultService.js.map +1 -1
- package/dist/generated/services/DiscountsService.d.ts +14 -7
- package/dist/generated/services/DiscountsService.d.ts.map +1 -1
- package/dist/generated/services/DiscountsService.js +35 -7
- package/dist/generated/services/DiscountsService.js.map +1 -1
- package/dist/generated/services/EmailSettingsService.d.ts +12 -6
- package/dist/generated/services/EmailSettingsService.d.ts.map +1 -1
- package/dist/generated/services/EmailSettingsService.js +30 -6
- package/dist/generated/services/EmailSettingsService.js.map +1 -1
- package/dist/generated/services/EmailTemplatesService.d.ts +16 -8
- package/dist/generated/services/EmailTemplatesService.d.ts.map +1 -1
- package/dist/generated/services/EmailTemplatesService.js +40 -8
- package/dist/generated/services/EmailTemplatesService.js.map +1 -1
- package/dist/generated/services/EmbedService.d.ts +4 -2
- package/dist/generated/services/EmbedService.d.ts.map +1 -1
- package/dist/generated/services/EmbedService.js +10 -2
- package/dist/generated/services/EmbedService.js.map +1 -1
- package/dist/generated/services/EventsService.d.ts +4 -2
- package/dist/generated/services/EventsService.d.ts.map +1 -1
- package/dist/generated/services/EventsService.js +10 -2
- package/dist/generated/services/EventsService.js.map +1 -1
- package/dist/generated/services/ExtensionsService.d.ts +28 -10
- package/dist/generated/services/ExtensionsService.d.ts.map +1 -1
- package/dist/generated/services/ExtensionsService.js +50 -10
- package/dist/generated/services/ExtensionsService.js.map +1 -1
- package/dist/generated/services/FulfillmentsService.d.ts +20 -10
- package/dist/generated/services/FulfillmentsService.d.ts.map +1 -1
- package/dist/generated/services/FulfillmentsService.js +50 -10
- package/dist/generated/services/FulfillmentsService.js.map +1 -1
- package/dist/generated/services/MerchantService.d.ts +10 -5
- package/dist/generated/services/MerchantService.d.ts.map +1 -1
- package/dist/generated/services/MerchantService.js +25 -5
- package/dist/generated/services/MerchantService.js.map +1 -1
- package/dist/generated/services/MerchantsService.d.ts +2 -1
- package/dist/generated/services/MerchantsService.d.ts.map +1 -1
- package/dist/generated/services/MerchantsService.js +5 -1
- package/dist/generated/services/MerchantsService.js.map +1 -1
- package/dist/generated/services/OrdersService.d.ts +22 -11
- package/dist/generated/services/OrdersService.d.ts.map +1 -1
- package/dist/generated/services/OrdersService.js +55 -11
- package/dist/generated/services/OrdersService.js.map +1 -1
- package/dist/generated/services/OrganizationsService.d.ts +8 -4
- package/dist/generated/services/OrganizationsService.d.ts.map +1 -1
- package/dist/generated/services/OrganizationsService.js +20 -4
- package/dist/generated/services/OrganizationsService.js.map +1 -1
- package/dist/generated/services/PartnerSeatsService.d.ts +6 -3
- package/dist/generated/services/PartnerSeatsService.d.ts.map +1 -1
- package/dist/generated/services/PartnerSeatsService.js +15 -3
- package/dist/generated/services/PartnerSeatsService.js.map +1 -1
- package/dist/generated/services/PartnersService.d.ts +16 -8
- package/dist/generated/services/PartnersService.d.ts.map +1 -1
- package/dist/generated/services/PartnersService.js +40 -8
- package/dist/generated/services/PartnersService.js.map +1 -1
- package/dist/generated/services/PaymentMethodsService.d.ts +4 -2
- package/dist/generated/services/PaymentMethodsService.d.ts.map +1 -1
- package/dist/generated/services/PaymentMethodsService.js +10 -2
- package/dist/generated/services/PaymentMethodsService.js.map +1 -1
- package/dist/generated/services/PaymentsService.d.ts +38 -19
- package/dist/generated/services/PaymentsService.d.ts.map +1 -1
- package/dist/generated/services/PaymentsService.js +95 -19
- package/dist/generated/services/PaymentsService.js.map +1 -1
- package/dist/generated/services/StoresService.d.ts +8 -4
- package/dist/generated/services/StoresService.d.ts.map +1 -1
- package/dist/generated/services/StoresService.js +20 -4
- package/dist/generated/services/StoresService.js.map +1 -1
- package/dist/generated/services/SubscriptionsService.d.ts +16 -8
- package/dist/generated/services/SubscriptionsService.d.ts.map +1 -1
- package/dist/generated/services/SubscriptionsService.js +40 -8
- package/dist/generated/services/SubscriptionsService.js.map +1 -1
- package/dist/generated/services/TeamService.d.ts +30 -15
- package/dist/generated/services/TeamService.d.ts.map +1 -1
- package/dist/generated/services/TeamService.js +75 -15
- package/dist/generated/services/TeamService.js.map +1 -1
- package/dist/generated/services/WebhooksInboundService.d.ts +2 -1
- package/dist/generated/services/WebhooksInboundService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksInboundService.js +5 -1
- package/dist/generated/services/WebhooksInboundService.js.map +1 -1
- package/dist/generated/services/WebhooksOutboundService.d.ts +14 -7
- package/dist/generated/services/WebhooksOutboundService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksOutboundService.js +35 -7
- package/dist/generated/services/WebhooksOutboundService.js.map +1 -1
- package/dist/generated/services/WebhooksService.d.ts +20 -7
- package/dist/generated/services/WebhooksService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksService.js +35 -7
- package/dist/generated/services/WebhooksService.js.map +1 -1
- package/dist/generated/services/WorkspaceEnvironmentsService.d.ts +97 -0
- package/dist/generated/services/WorkspaceEnvironmentsService.d.ts.map +1 -0
- package/dist/generated/services/WorkspaceEnvironmentsService.js +86 -0
- package/dist/generated/services/WorkspaceEnvironmentsService.js.map +1 -0
- package/dist/generated/services/WorkspaceService.d.ts +2 -1
- package/dist/generated/services/WorkspaceService.d.ts.map +1 -1
- package/dist/generated/services/WorkspaceService.js +5 -1
- package/dist/generated/services/WorkspaceService.js.map +1 -1
- package/dist/generated/services/WorkspacesService.d.ts +10 -5
- package/dist/generated/services/WorkspacesService.d.ts.map +1 -1
- package/dist/generated/services/WorkspacesService.js +25 -5
- package/dist/generated/services/WorkspacesService.js.map +1 -1
- package/package.json +10 -10
|
@@ -4,106 +4,135 @@ export class TeamService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Update per-member email preferences
|
|
6
6
|
* @param id
|
|
7
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
7
8
|
* @returns any Default Response
|
|
8
9
|
* @throws ApiError
|
|
9
10
|
*/
|
|
10
|
-
static patchApiV1MerchantsMeMembersPreferences(id) {
|
|
11
|
+
static patchApiV1MerchantsMeMembersPreferences(id, xThrottleEnvironmentId) {
|
|
11
12
|
return __request(OpenAPI, {
|
|
12
13
|
method: 'PATCH',
|
|
13
14
|
url: '/api/v1/merchants/me/members/{id}/preferences',
|
|
14
15
|
path: {
|
|
15
16
|
'id': id,
|
|
16
17
|
},
|
|
18
|
+
headers: {
|
|
19
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
20
|
+
},
|
|
17
21
|
});
|
|
18
22
|
}
|
|
19
23
|
/**
|
|
20
24
|
* [legacy] Invite a team member (delegates to team-service)
|
|
25
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
21
26
|
* @returns any Default Response
|
|
22
27
|
* @throws ApiError
|
|
23
28
|
*/
|
|
24
|
-
static postApiV1MerchantsMeInvites() {
|
|
29
|
+
static postApiV1MerchantsMeInvites(xThrottleEnvironmentId) {
|
|
25
30
|
return __request(OpenAPI, {
|
|
26
31
|
method: 'POST',
|
|
27
32
|
url: '/api/v1/merchants/me/invites',
|
|
33
|
+
headers: {
|
|
34
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
35
|
+
},
|
|
28
36
|
});
|
|
29
37
|
}
|
|
30
38
|
/**
|
|
31
39
|
* [legacy] List merchant team members
|
|
40
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
32
41
|
* @returns any Default Response
|
|
33
42
|
* @throws ApiError
|
|
34
43
|
*/
|
|
35
|
-
static getApiV1MerchantsMeInvites() {
|
|
44
|
+
static getApiV1MerchantsMeInvites(xThrottleEnvironmentId) {
|
|
36
45
|
return __request(OpenAPI, {
|
|
37
46
|
method: 'GET',
|
|
38
47
|
url: '/api/v1/merchants/me/invites',
|
|
48
|
+
headers: {
|
|
49
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
50
|
+
},
|
|
39
51
|
});
|
|
40
52
|
}
|
|
41
53
|
/**
|
|
42
54
|
* [legacy] Resend an invite
|
|
43
55
|
* @param id
|
|
56
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
44
57
|
* @returns any Default Response
|
|
45
58
|
* @throws ApiError
|
|
46
59
|
*/
|
|
47
|
-
static postApiV1MerchantsMeInvitesResend(id) {
|
|
60
|
+
static postApiV1MerchantsMeInvitesResend(id, xThrottleEnvironmentId) {
|
|
48
61
|
return __request(OpenAPI, {
|
|
49
62
|
method: 'POST',
|
|
50
63
|
url: '/api/v1/merchants/me/invites/{id}/resend',
|
|
51
64
|
path: {
|
|
52
65
|
'id': id,
|
|
53
66
|
},
|
|
67
|
+
headers: {
|
|
68
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
69
|
+
},
|
|
54
70
|
});
|
|
55
71
|
}
|
|
56
72
|
/**
|
|
57
73
|
* [legacy] Revoke an invite or remove a member
|
|
58
74
|
* @param id
|
|
75
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
59
76
|
* @returns any Default Response
|
|
60
77
|
* @throws ApiError
|
|
61
78
|
*/
|
|
62
|
-
static postApiV1MerchantsMeInvitesRevoke(id) {
|
|
79
|
+
static postApiV1MerchantsMeInvitesRevoke(id, xThrottleEnvironmentId) {
|
|
63
80
|
return __request(OpenAPI, {
|
|
64
81
|
method: 'POST',
|
|
65
82
|
url: '/api/v1/merchants/me/invites/{id}/revoke',
|
|
66
83
|
path: {
|
|
67
84
|
'id': id,
|
|
68
85
|
},
|
|
86
|
+
headers: {
|
|
87
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
88
|
+
},
|
|
69
89
|
});
|
|
70
90
|
}
|
|
71
91
|
/**
|
|
72
92
|
* Create a team invite
|
|
73
93
|
* @param workspaceId
|
|
94
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
74
95
|
* @returns any Default Response
|
|
75
96
|
* @throws ApiError
|
|
76
97
|
*/
|
|
77
|
-
static postApiV1WorkspacesInvites(workspaceId) {
|
|
98
|
+
static postApiV1WorkspacesInvites(workspaceId, xThrottleEnvironmentId) {
|
|
78
99
|
return __request(OpenAPI, {
|
|
79
100
|
method: 'POST',
|
|
80
101
|
url: '/api/v1/workspaces/{workspaceId}/invites',
|
|
81
102
|
path: {
|
|
82
103
|
'workspaceId': workspaceId,
|
|
83
104
|
},
|
|
105
|
+
headers: {
|
|
106
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
107
|
+
},
|
|
84
108
|
});
|
|
85
109
|
}
|
|
86
110
|
/**
|
|
87
111
|
* @param workspaceId
|
|
112
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
88
113
|
* @returns any Default Response
|
|
89
114
|
* @throws ApiError
|
|
90
115
|
*/
|
|
91
|
-
static getApiV1WorkspacesInvites(workspaceId) {
|
|
116
|
+
static getApiV1WorkspacesInvites(workspaceId, xThrottleEnvironmentId) {
|
|
92
117
|
return __request(OpenAPI, {
|
|
93
118
|
method: 'GET',
|
|
94
119
|
url: '/api/v1/workspaces/{workspaceId}/invites',
|
|
95
120
|
path: {
|
|
96
121
|
'workspaceId': workspaceId,
|
|
97
122
|
},
|
|
123
|
+
headers: {
|
|
124
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
125
|
+
},
|
|
98
126
|
});
|
|
99
127
|
}
|
|
100
128
|
/**
|
|
101
129
|
* @param workspaceId
|
|
102
130
|
* @param id
|
|
131
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
103
132
|
* @returns any Default Response
|
|
104
133
|
* @throws ApiError
|
|
105
134
|
*/
|
|
106
|
-
static postApiV1WorkspacesInvitesResend(workspaceId, id) {
|
|
135
|
+
static postApiV1WorkspacesInvitesResend(workspaceId, id, xThrottleEnvironmentId) {
|
|
107
136
|
return __request(OpenAPI, {
|
|
108
137
|
method: 'POST',
|
|
109
138
|
url: '/api/v1/workspaces/{workspaceId}/invites/{id}/resend',
|
|
@@ -111,15 +140,19 @@ export class TeamService {
|
|
|
111
140
|
'workspaceId': workspaceId,
|
|
112
141
|
'id': id,
|
|
113
142
|
},
|
|
143
|
+
headers: {
|
|
144
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
145
|
+
},
|
|
114
146
|
});
|
|
115
147
|
}
|
|
116
148
|
/**
|
|
117
149
|
* @param workspaceId
|
|
118
150
|
* @param id
|
|
151
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
119
152
|
* @returns any Default Response
|
|
120
153
|
* @throws ApiError
|
|
121
154
|
*/
|
|
122
|
-
static postApiV1WorkspacesInvitesRevoke(workspaceId, id) {
|
|
155
|
+
static postApiV1WorkspacesInvitesRevoke(workspaceId, id, xThrottleEnvironmentId) {
|
|
123
156
|
return __request(OpenAPI, {
|
|
124
157
|
method: 'POST',
|
|
125
158
|
url: '/api/v1/workspaces/{workspaceId}/invites/{id}/revoke',
|
|
@@ -127,53 +160,69 @@ export class TeamService {
|
|
|
127
160
|
'workspaceId': workspaceId,
|
|
128
161
|
'id': id,
|
|
129
162
|
},
|
|
163
|
+
headers: {
|
|
164
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
165
|
+
},
|
|
130
166
|
});
|
|
131
167
|
}
|
|
132
168
|
/**
|
|
169
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
133
170
|
* @returns any Default Response
|
|
134
171
|
* @throws ApiError
|
|
135
172
|
*/
|
|
136
|
-
static postApiV1InvitesAccept() {
|
|
173
|
+
static postApiV1InvitesAccept(xThrottleEnvironmentId) {
|
|
137
174
|
return __request(OpenAPI, {
|
|
138
175
|
method: 'POST',
|
|
139
176
|
url: '/api/v1/invites/accept',
|
|
177
|
+
headers: {
|
|
178
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
179
|
+
},
|
|
140
180
|
});
|
|
141
181
|
}
|
|
142
182
|
/**
|
|
143
183
|
* @param workspaceId
|
|
184
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
144
185
|
* @returns any Default Response
|
|
145
186
|
* @throws ApiError
|
|
146
187
|
*/
|
|
147
|
-
static getApiV1WorkspacesMembers(workspaceId) {
|
|
188
|
+
static getApiV1WorkspacesMembers(workspaceId, xThrottleEnvironmentId) {
|
|
148
189
|
return __request(OpenAPI, {
|
|
149
190
|
method: 'GET',
|
|
150
191
|
url: '/api/v1/workspaces/{workspaceId}/members',
|
|
151
192
|
path: {
|
|
152
193
|
'workspaceId': workspaceId,
|
|
153
194
|
},
|
|
195
|
+
headers: {
|
|
196
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
197
|
+
},
|
|
154
198
|
});
|
|
155
199
|
}
|
|
156
200
|
/**
|
|
157
201
|
* @param workspaceId
|
|
202
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
158
203
|
* @returns any Default Response
|
|
159
204
|
* @throws ApiError
|
|
160
205
|
*/
|
|
161
|
-
static getApiV1WorkspacesMembersMe(workspaceId) {
|
|
206
|
+
static getApiV1WorkspacesMembersMe(workspaceId, xThrottleEnvironmentId) {
|
|
162
207
|
return __request(OpenAPI, {
|
|
163
208
|
method: 'GET',
|
|
164
209
|
url: '/api/v1/workspaces/{workspaceId}/members/me',
|
|
165
210
|
path: {
|
|
166
211
|
'workspaceId': workspaceId,
|
|
167
212
|
},
|
|
213
|
+
headers: {
|
|
214
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
215
|
+
},
|
|
168
216
|
});
|
|
169
217
|
}
|
|
170
218
|
/**
|
|
171
219
|
* @param workspaceId
|
|
172
220
|
* @param memberId
|
|
221
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
173
222
|
* @returns any Default Response
|
|
174
223
|
* @throws ApiError
|
|
175
224
|
*/
|
|
176
|
-
static patchApiV1WorkspacesMembers(workspaceId, memberId) {
|
|
225
|
+
static patchApiV1WorkspacesMembers(workspaceId, memberId, xThrottleEnvironmentId) {
|
|
177
226
|
return __request(OpenAPI, {
|
|
178
227
|
method: 'PATCH',
|
|
179
228
|
url: '/api/v1/workspaces/{workspaceId}/members/{memberId}',
|
|
@@ -181,15 +230,19 @@ export class TeamService {
|
|
|
181
230
|
'workspaceId': workspaceId,
|
|
182
231
|
'memberId': memberId,
|
|
183
232
|
},
|
|
233
|
+
headers: {
|
|
234
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
235
|
+
},
|
|
184
236
|
});
|
|
185
237
|
}
|
|
186
238
|
/**
|
|
187
239
|
* @param workspaceId
|
|
188
240
|
* @param memberId
|
|
241
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
189
242
|
* @returns any Default Response
|
|
190
243
|
* @throws ApiError
|
|
191
244
|
*/
|
|
192
|
-
static deleteApiV1WorkspacesMembers(workspaceId, memberId) {
|
|
245
|
+
static deleteApiV1WorkspacesMembers(workspaceId, memberId, xThrottleEnvironmentId) {
|
|
193
246
|
return __request(OpenAPI, {
|
|
194
247
|
method: 'DELETE',
|
|
195
248
|
url: '/api/v1/workspaces/{workspaceId}/members/{memberId}',
|
|
@@ -197,16 +250,20 @@ export class TeamService {
|
|
|
197
250
|
'workspaceId': workspaceId,
|
|
198
251
|
'memberId': memberId,
|
|
199
252
|
},
|
|
253
|
+
headers: {
|
|
254
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
255
|
+
},
|
|
200
256
|
});
|
|
201
257
|
}
|
|
202
258
|
/**
|
|
203
259
|
* @param workspaceId
|
|
204
260
|
* @param memberId
|
|
205
261
|
* @param applicationId
|
|
262
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
206
263
|
* @returns any Default Response
|
|
207
264
|
* @throws ApiError
|
|
208
265
|
*/
|
|
209
|
-
static deleteApiV1WorkspacesMembersApplications(workspaceId, memberId, applicationId) {
|
|
266
|
+
static deleteApiV1WorkspacesMembersApplications(workspaceId, memberId, applicationId, xThrottleEnvironmentId) {
|
|
210
267
|
return __request(OpenAPI, {
|
|
211
268
|
method: 'DELETE',
|
|
212
269
|
url: '/api/v1/workspaces/{workspaceId}/members/{memberId}/applications/{applicationId}',
|
|
@@ -215,6 +272,9 @@ export class TeamService {
|
|
|
215
272
|
'memberId': memberId,
|
|
216
273
|
'applicationId': applicationId,
|
|
217
274
|
},
|
|
275
|
+
headers: {
|
|
276
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
277
|
+
},
|
|
218
278
|
});
|
|
219
279
|
}
|
|
220
280
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeamService.js","sourceRoot":"","sources":["../../../src/generated/services/TeamService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,WAAW;IACpB
|
|
1
|
+
{"version":3,"file":"TeamService.js","sourceRoot":"","sources":["../../../src/generated/services/TeamService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,WAAW;IACpB;;;;;;OAMG;IACI,MAAM,CAAC,uCAAuC,CACjD,EAAU,EACV,sBAA+B;QAE/B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,OAAO;YACf,GAAG,EAAE,+CAA+C;YACpD,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,OAAO,EAAE;gBACL,2BAA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E,sBAAsB;aACtD;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,wCAAwC,CAClD,WAAmB,EACnB,QAAgB,EAChB,aAAqB,EACrB,sBAA+B;QAE/B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,kFAAkF;YACvF,IAAI,EAAE;gBACF,aAAa,EAAE,WAAW;gBAC1B,UAAU,EAAE,QAAQ;gBACpB,eAAe,EAAE,aAAa;aACjC;YACD,OAAO,EAAE;gBACL,2BAA2B,EAAE,sBAAsB;aACtD;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -2,9 +2,10 @@ import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
|
2
2
|
export declare class WebhooksInboundService {
|
|
3
3
|
/**
|
|
4
4
|
* Clerk user.created webhook (Svix-verified)
|
|
5
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
5
6
|
* @returns any Default Response
|
|
6
7
|
* @throws ApiError
|
|
7
8
|
*/
|
|
8
|
-
static postV1ClerkWebhooksUserCreated(): CancelablePromise<any>;
|
|
9
|
+
static postV1ClerkWebhooksUserCreated(xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=WebhooksInboundService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhooksInboundService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/WebhooksInboundService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,sBAAsB;IAC/B
|
|
1
|
+
{"version":3,"file":"WebhooksInboundService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/WebhooksInboundService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,sBAAsB;IAC/B;;;;;OAKG;WACW,8BAA8B,CACxC,sBAAsB,CAAC,EAAE,MAAM,GAChC,iBAAiB,CAAC,GAAG,CAAC;CAS5B"}
|
|
@@ -3,13 +3,17 @@ import { request as __request } from '../core/request.js';
|
|
|
3
3
|
export class WebhooksInboundService {
|
|
4
4
|
/**
|
|
5
5
|
* Clerk user.created webhook (Svix-verified)
|
|
6
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
6
7
|
* @returns any Default Response
|
|
7
8
|
* @throws ApiError
|
|
8
9
|
*/
|
|
9
|
-
static postV1ClerkWebhooksUserCreated() {
|
|
10
|
+
static postV1ClerkWebhooksUserCreated(xThrottleEnvironmentId) {
|
|
10
11
|
return __request(OpenAPI, {
|
|
11
12
|
method: 'POST',
|
|
12
13
|
url: '/v1/clerk/webhooks/user-created',
|
|
14
|
+
headers: {
|
|
15
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
16
|
+
},
|
|
13
17
|
});
|
|
14
18
|
}
|
|
15
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhooksInboundService.js","sourceRoot":"","sources":["../../../src/generated/services/WebhooksInboundService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,sBAAsB;IAC/B
|
|
1
|
+
{"version":3,"file":"WebhooksInboundService.js","sourceRoot":"","sources":["../../../src/generated/services/WebhooksInboundService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,sBAAsB;IAC/B;;;;;OAKG;IACI,MAAM,CAAC,8BAA8B,CACxC,sBAA+B;QAE/B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,iCAAiC;YACtC,OAAO,EAAE;gBACL,2BAA2B,EAAE,sBAAsB;aACtD;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -2,24 +2,27 @@ import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
|
2
2
|
export declare class WebhooksOutboundService {
|
|
3
3
|
/**
|
|
4
4
|
* List configured outbound webhook endpoints
|
|
5
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
5
6
|
* @returns any Default Response
|
|
6
7
|
* @throws ApiError
|
|
7
8
|
*/
|
|
8
|
-
static getApiV1WebhookEndpoints(): CancelablePromise<any>;
|
|
9
|
+
static getApiV1WebhookEndpoints(xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
9
10
|
/**
|
|
10
11
|
* Create an outbound webhook endpoint
|
|
11
12
|
* @param requestBody
|
|
13
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
12
14
|
* @returns any Default Response
|
|
13
15
|
* @throws ApiError
|
|
14
16
|
*/
|
|
15
17
|
static postApiV1WebhookEndpoints(requestBody: {
|
|
16
18
|
url: string;
|
|
17
19
|
enabledEvents: Array<'cart.created' | 'cart.updated' | 'cart.item_added' | 'cart.item_updated' | 'cart.item_removed' | 'cart.shipping_selected' | 'cart.shipping_cleared' | 'cart.discount_applied' | 'cart.discount_removed' | 'cart.tax_recomputed' | 'cart.checkout_started' | 'cart.converted' | 'cart.abandoned' | 'cart.expired' | 'cart.merged' | 'order.created' | 'order.updated' | 'order.completed' | 'order.cancelled' | 'order.closed' | 'order.sync_failed' | 'order.sync_conflict' | 'payment.pending' | 'payment.authorized' | 'payment.authorization_failed' | 'payment.captured' | 'payment.capture_failed' | 'payment.failed' | 'payment.voided' | 'payment.void_failed' | 'payment.refunded' | 'payment.partially_refunded' | 'payment.refund_failed' | 'payment.vaulted' | 'payment.disputed' | 'payment.dispute_cleared' | 'fulfillment.created' | 'fulfillment.completed' | 'fulfillment.cancelled' | 'fulfillment.shipment.shipped' | 'fulfillment.shipment.delivered' | 'subscription.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.resumed' | 'subscription.cancelled' | 'subscription.renewed' | 'subscription.past_due' | 'subscription.payment_failed' | 'subscription.create_failed' | 'subscription.trial_blocked' | 'discount.applied' | 'discount.removed' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'customer.payment_method_added' | 'customer.payment_method_removed' | 'invoice.past_due' | 'shipping_tax.provider_connection.unhealthy' | 'workspace.payment_method.added' | 'workspace.payment_method.removed' | 'workspace.payment_method.default_changed' | 'workspace.payment_method.backup_set' | 'workspace.payment_method.backup_used' | 'workspace.platform_charge.succeeded' | 'workspace.platform_charge.failed' | 'workspace.trial_expired'>;
|
|
18
|
-
}): CancelablePromise<any>;
|
|
20
|
+
}, xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
19
21
|
/**
|
|
20
22
|
* Update a webhook endpoint (URL, events, or active flag)
|
|
21
23
|
* @param id
|
|
22
24
|
* @param requestBody
|
|
25
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
23
26
|
* @returns any Default Response
|
|
24
27
|
* @throws ApiError
|
|
25
28
|
*/
|
|
@@ -27,16 +30,18 @@ export declare class WebhooksOutboundService {
|
|
|
27
30
|
url?: string;
|
|
28
31
|
enabledEvents?: Array<'cart.created' | 'cart.updated' | 'cart.item_added' | 'cart.item_updated' | 'cart.item_removed' | 'cart.shipping_selected' | 'cart.shipping_cleared' | 'cart.discount_applied' | 'cart.discount_removed' | 'cart.tax_recomputed' | 'cart.checkout_started' | 'cart.converted' | 'cart.abandoned' | 'cart.expired' | 'cart.merged' | 'order.created' | 'order.updated' | 'order.completed' | 'order.cancelled' | 'order.closed' | 'order.sync_failed' | 'order.sync_conflict' | 'payment.pending' | 'payment.authorized' | 'payment.authorization_failed' | 'payment.captured' | 'payment.capture_failed' | 'payment.failed' | 'payment.voided' | 'payment.void_failed' | 'payment.refunded' | 'payment.partially_refunded' | 'payment.refund_failed' | 'payment.vaulted' | 'payment.disputed' | 'payment.dispute_cleared' | 'fulfillment.created' | 'fulfillment.completed' | 'fulfillment.cancelled' | 'fulfillment.shipment.shipped' | 'fulfillment.shipment.delivered' | 'subscription.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.resumed' | 'subscription.cancelled' | 'subscription.renewed' | 'subscription.past_due' | 'subscription.payment_failed' | 'subscription.create_failed' | 'subscription.trial_blocked' | 'discount.applied' | 'discount.removed' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'customer.payment_method_added' | 'customer.payment_method_removed' | 'invoice.past_due' | 'shipping_tax.provider_connection.unhealthy' | 'workspace.payment_method.added' | 'workspace.payment_method.removed' | 'workspace.payment_method.default_changed' | 'workspace.payment_method.backup_set' | 'workspace.payment_method.backup_used' | 'workspace.platform_charge.succeeded' | 'workspace.platform_charge.failed' | 'workspace.trial_expired'>;
|
|
29
32
|
isActive?: boolean;
|
|
30
|
-
}): CancelablePromise<any>;
|
|
33
|
+
}, xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
31
34
|
/**
|
|
32
35
|
* Soft-delete a webhook endpoint (sets deletedAt; excludes from list and dispatch)
|
|
33
36
|
* @param id
|
|
37
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
34
38
|
* @returns any Default Response
|
|
35
39
|
* @throws ApiError
|
|
36
40
|
*/
|
|
37
|
-
static deleteApiV1WebhookEndpoints(id: string): CancelablePromise<any>;
|
|
41
|
+
static deleteApiV1WebhookEndpoints(id: string, xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
38
42
|
/**
|
|
39
43
|
* Recent webhook delivery attempts (debug / audit log). Paginated via limit + offset.
|
|
44
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
40
45
|
* @param endpointId
|
|
41
46
|
* @param orderId
|
|
42
47
|
* @param limit
|
|
@@ -44,23 +49,25 @@ export declare class WebhooksOutboundService {
|
|
|
44
49
|
* @returns any Default Response
|
|
45
50
|
* @throws ApiError
|
|
46
51
|
*/
|
|
47
|
-
static getApiV1WebhookDeliveries(endpointId?: string, orderId?: string, limit?: number, offset?: number): CancelablePromise<any>;
|
|
52
|
+
static getApiV1WebhookDeliveries(xThrottleEnvironmentId?: string, endpointId?: string, orderId?: string, limit?: number, offset?: number): CancelablePromise<any>;
|
|
48
53
|
/**
|
|
49
54
|
* Send a synthetic, signed test delivery to this endpoint.
|
|
50
55
|
* @param id
|
|
51
56
|
* @param requestBody
|
|
57
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
52
58
|
* @returns any Default Response
|
|
53
59
|
* @throws ApiError
|
|
54
60
|
*/
|
|
55
61
|
static postApiV1WebhookEndpointsTest(id: string, requestBody: {
|
|
56
62
|
eventType?: 'cart.created' | 'cart.updated' | 'cart.item_added' | 'cart.item_updated' | 'cart.item_removed' | 'cart.shipping_selected' | 'cart.shipping_cleared' | 'cart.discount_applied' | 'cart.discount_removed' | 'cart.tax_recomputed' | 'cart.checkout_started' | 'cart.converted' | 'cart.abandoned' | 'cart.expired' | 'cart.merged' | 'order.created' | 'order.updated' | 'order.completed' | 'order.cancelled' | 'order.closed' | 'order.sync_failed' | 'order.sync_conflict' | 'payment.pending' | 'payment.authorized' | 'payment.authorization_failed' | 'payment.captured' | 'payment.capture_failed' | 'payment.failed' | 'payment.voided' | 'payment.void_failed' | 'payment.refunded' | 'payment.partially_refunded' | 'payment.refund_failed' | 'payment.vaulted' | 'payment.disputed' | 'payment.dispute_cleared' | 'fulfillment.created' | 'fulfillment.completed' | 'fulfillment.cancelled' | 'fulfillment.shipment.shipped' | 'fulfillment.shipment.delivered' | 'subscription.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.resumed' | 'subscription.cancelled' | 'subscription.renewed' | 'subscription.past_due' | 'subscription.payment_failed' | 'subscription.create_failed' | 'subscription.trial_blocked' | 'discount.applied' | 'discount.removed' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'customer.payment_method_added' | 'customer.payment_method_removed' | 'invoice.past_due' | 'shipping_tax.provider_connection.unhealthy' | 'workspace.payment_method.added' | 'workspace.payment_method.removed' | 'workspace.payment_method.default_changed' | 'workspace.payment_method.backup_set' | 'workspace.payment_method.backup_used' | 'workspace.platform_charge.succeeded' | 'workspace.platform_charge.failed' | 'workspace.trial_expired';
|
|
57
|
-
}): CancelablePromise<any>;
|
|
63
|
+
}, xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
58
64
|
/**
|
|
59
65
|
* Replay a delivery (re-fires same payload with new signature).
|
|
60
66
|
* @param id
|
|
67
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
61
68
|
* @returns any Default Response
|
|
62
69
|
* @throws ApiError
|
|
63
70
|
*/
|
|
64
|
-
static postApiV1WebhookDeliveriesReplay(id: string): CancelablePromise<any>;
|
|
71
|
+
static postApiV1WebhookDeliveriesReplay(id: string, xThrottleEnvironmentId?: string): CancelablePromise<any>;
|
|
65
72
|
}
|
|
66
73
|
//# sourceMappingURL=WebhooksOutboundService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhooksOutboundService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/WebhooksOutboundService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,uBAAuB;IAChC
|
|
1
|
+
{"version":3,"file":"WebhooksOutboundService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/WebhooksOutboundService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGtE,qBAAa,uBAAuB;IAChC;;;;;OAKG;WACW,wBAAwB,CAClC,sBAAsB,CAAC,EAAE,MAAM,GAChC,iBAAiB,CAAC,GAAG,CAAC;IASzB;;;;;;OAMG;WACW,yBAAyB,CACnC,WAAW,EAAE;QACT,GAAG,EAAE,MAAM,CAAC;QACZ,aAAa,EAAE,KAAK,CAAC,cAAc,GAAG,cAAc,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,wBAAwB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,qBAAqB,GAAG,uBAAuB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,cAAc,GAAG,aAAa,GAAG,eAAe,GAAG,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,cAAc,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,iBAAiB,GAAG,oBAAoB,GAAG,8BAA8B,GAAG,kBAAkB,GAAG,wBAAwB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,qBAAqB,GAAG,kBAAkB,GAAG,4BAA4B,GAAG,uBAAuB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,yBAAyB,GAAG,qBAAqB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,8BAA8B,GAAG,gCAAgC,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,uBAAuB,GAAG,6BAA6B,GAAG,4BAA4B,GAAG,4BAA4B,GAAG,kBAA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BAAkB,GAAG,yBAAyB,GAAG,qBAAqB,GAAG,uBAAuB,GAAG,uBAAuB,GAAG,8BAA8B,GAAG,gCAAgC,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,sBAAsB,GAAG,uBAAuB,GAAG,6BAA6B,GAAG,4BAA4B,GAAG,4BAA4B,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,+BAA+B,GAAG,iCAAiC,GAAG,kBAAkB,GAAG,4CAA4C,GAAG,gCAAgC,GAAG,kCAAkC,GAAG,0CAA0C,GAAG,qCAAqC,GAAG,sCAAsC,GAAG,qCAAqC,GAAG,kCAAkC,GAAG,yBAAyB,CAAC;KACrwD,EACD,sBAAsB,CAAC,EAAE,MAAM,GAChC,iBAAiB,CAAC,GAAG,CAAC;IAczB;;;;;;OAMG;WACW,gCAAgC,CAC1C,EAAE,EAAE,MAAM,EACV,sBAAsB,CAAC,EAAE,MAAM,GAChC,iBAAiB,CAAC,GAAG,CAAC;CAY5B"}
|
|
@@ -3,25 +3,33 @@ import { request as __request } from '../core/request.js';
|
|
|
3
3
|
export class WebhooksOutboundService {
|
|
4
4
|
/**
|
|
5
5
|
* List configured outbound webhook endpoints
|
|
6
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
6
7
|
* @returns any Default Response
|
|
7
8
|
* @throws ApiError
|
|
8
9
|
*/
|
|
9
|
-
static getApiV1WebhookEndpoints() {
|
|
10
|
+
static getApiV1WebhookEndpoints(xThrottleEnvironmentId) {
|
|
10
11
|
return __request(OpenAPI, {
|
|
11
12
|
method: 'GET',
|
|
12
13
|
url: '/api/v1/webhook-endpoints',
|
|
14
|
+
headers: {
|
|
15
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
16
|
+
},
|
|
13
17
|
});
|
|
14
18
|
}
|
|
15
19
|
/**
|
|
16
20
|
* Create an outbound webhook endpoint
|
|
17
21
|
* @param requestBody
|
|
22
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
18
23
|
* @returns any Default Response
|
|
19
24
|
* @throws ApiError
|
|
20
25
|
*/
|
|
21
|
-
static postApiV1WebhookEndpoints(requestBody) {
|
|
26
|
+
static postApiV1WebhookEndpoints(requestBody, xThrottleEnvironmentId) {
|
|
22
27
|
return __request(OpenAPI, {
|
|
23
28
|
method: 'POST',
|
|
24
29
|
url: '/api/v1/webhook-endpoints',
|
|
30
|
+
headers: {
|
|
31
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
32
|
+
},
|
|
25
33
|
body: requestBody,
|
|
26
34
|
mediaType: 'application/json',
|
|
27
35
|
});
|
|
@@ -30,16 +38,20 @@ export class WebhooksOutboundService {
|
|
|
30
38
|
* Update a webhook endpoint (URL, events, or active flag)
|
|
31
39
|
* @param id
|
|
32
40
|
* @param requestBody
|
|
41
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
33
42
|
* @returns any Default Response
|
|
34
43
|
* @throws ApiError
|
|
35
44
|
*/
|
|
36
|
-
static patchApiV1WebhookEndpoints(id, requestBody) {
|
|
45
|
+
static patchApiV1WebhookEndpoints(id, requestBody, xThrottleEnvironmentId) {
|
|
37
46
|
return __request(OpenAPI, {
|
|
38
47
|
method: 'PATCH',
|
|
39
48
|
url: '/api/v1/webhook-endpoints/{id}',
|
|
40
49
|
path: {
|
|
41
50
|
'id': id,
|
|
42
51
|
},
|
|
52
|
+
headers: {
|
|
53
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
54
|
+
},
|
|
43
55
|
body: requestBody,
|
|
44
56
|
mediaType: 'application/json',
|
|
45
57
|
});
|
|
@@ -47,20 +59,25 @@ export class WebhooksOutboundService {
|
|
|
47
59
|
/**
|
|
48
60
|
* Soft-delete a webhook endpoint (sets deletedAt; excludes from list and dispatch)
|
|
49
61
|
* @param id
|
|
62
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
50
63
|
* @returns any Default Response
|
|
51
64
|
* @throws ApiError
|
|
52
65
|
*/
|
|
53
|
-
static deleteApiV1WebhookEndpoints(id) {
|
|
66
|
+
static deleteApiV1WebhookEndpoints(id, xThrottleEnvironmentId) {
|
|
54
67
|
return __request(OpenAPI, {
|
|
55
68
|
method: 'DELETE',
|
|
56
69
|
url: '/api/v1/webhook-endpoints/{id}',
|
|
57
70
|
path: {
|
|
58
71
|
'id': id,
|
|
59
72
|
},
|
|
73
|
+
headers: {
|
|
74
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
75
|
+
},
|
|
60
76
|
});
|
|
61
77
|
}
|
|
62
78
|
/**
|
|
63
79
|
* Recent webhook delivery attempts (debug / audit log). Paginated via limit + offset.
|
|
80
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
64
81
|
* @param endpointId
|
|
65
82
|
* @param orderId
|
|
66
83
|
* @param limit
|
|
@@ -68,10 +85,13 @@ export class WebhooksOutboundService {
|
|
|
68
85
|
* @returns any Default Response
|
|
69
86
|
* @throws ApiError
|
|
70
87
|
*/
|
|
71
|
-
static getApiV1WebhookDeliveries(endpointId, orderId, limit = 50, offset) {
|
|
88
|
+
static getApiV1WebhookDeliveries(xThrottleEnvironmentId, endpointId, orderId, limit = 50, offset) {
|
|
72
89
|
return __request(OpenAPI, {
|
|
73
90
|
method: 'GET',
|
|
74
91
|
url: '/api/v1/webhook-deliveries',
|
|
92
|
+
headers: {
|
|
93
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
94
|
+
},
|
|
75
95
|
query: {
|
|
76
96
|
'endpointId': endpointId,
|
|
77
97
|
'orderId': orderId,
|
|
@@ -84,16 +104,20 @@ export class WebhooksOutboundService {
|
|
|
84
104
|
* Send a synthetic, signed test delivery to this endpoint.
|
|
85
105
|
* @param id
|
|
86
106
|
* @param requestBody
|
|
107
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
87
108
|
* @returns any Default Response
|
|
88
109
|
* @throws ApiError
|
|
89
110
|
*/
|
|
90
|
-
static postApiV1WebhookEndpointsTest(id, requestBody) {
|
|
111
|
+
static postApiV1WebhookEndpointsTest(id, requestBody, xThrottleEnvironmentId) {
|
|
91
112
|
return __request(OpenAPI, {
|
|
92
113
|
method: 'POST',
|
|
93
114
|
url: '/api/v1/webhook-endpoints/{id}/test',
|
|
94
115
|
path: {
|
|
95
116
|
'id': id,
|
|
96
117
|
},
|
|
118
|
+
headers: {
|
|
119
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
120
|
+
},
|
|
97
121
|
body: requestBody,
|
|
98
122
|
mediaType: 'application/json',
|
|
99
123
|
});
|
|
@@ -101,16 +125,20 @@ export class WebhooksOutboundService {
|
|
|
101
125
|
/**
|
|
102
126
|
* Replay a delivery (re-fires same payload with new signature).
|
|
103
127
|
* @param id
|
|
128
|
+
* @param xThrottleEnvironmentId Optional workspace environment id for dashboard-session, Clerk JWT, and extension-session requests. API keys are already pinned to one workspace environment.
|
|
104
129
|
* @returns any Default Response
|
|
105
130
|
* @throws ApiError
|
|
106
131
|
*/
|
|
107
|
-
static postApiV1WebhookDeliveriesReplay(id) {
|
|
132
|
+
static postApiV1WebhookDeliveriesReplay(id, xThrottleEnvironmentId) {
|
|
108
133
|
return __request(OpenAPI, {
|
|
109
134
|
method: 'POST',
|
|
110
135
|
url: '/api/v1/webhook-deliveries/{id}/replay',
|
|
111
136
|
path: {
|
|
112
137
|
'id': id,
|
|
113
138
|
},
|
|
139
|
+
headers: {
|
|
140
|
+
'X-Throttle-Environment-Id': xThrottleEnvironmentId,
|
|
141
|
+
},
|
|
114
142
|
});
|
|
115
143
|
}
|
|
116
144
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhooksOutboundService.js","sourceRoot":"","sources":["../../../src/generated/services/WebhooksOutboundService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,uBAAuB;IAChC
|
|
1
|
+
{"version":3,"file":"WebhooksOutboundService.js","sourceRoot":"","sources":["../../../src/generated/services/WebhooksOutboundService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,OAAO,uBAAuB;IAChC;;;;;OAKG;IACI,MAAM,CAAC,wBAAwB,CAClC,sBAA+B;QAE/B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAA2B;YAChC,OAAO,EAAE;gBACL,2BAA2B,EAAE,sBAAsB;aACtD;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,yBAAyB,CACnC,WAGC,EACD,sBAA+B;QAE/B,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B;YAChC,OAAO,EAAE;gBACL,2BAA2B,EAAE,sBAAsB;aACtD;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,0BAA0B,CACpC,EAAU,EACV,WAIC,EACD,sBAA+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