@openmeter/sdk 1.0.0-beta.210 → 1.0.0-beta.211
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/dist/cjs/src/client/apps.d.cts +1 -0
- package/dist/cjs/src/client/customers.d.cts +3 -0
- package/dist/cjs/src/client/schemas.d.cts +256 -86
- package/dist/cjs/{tsconfig.1232d5e5.tsbuildinfo → tsconfig.341d9ef4.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.90ca0b5f.tsbuildinfo → tsconfig.523d9ac8.tsbuildinfo} +1 -1
- package/dist/src/client/apps.d.ts +1 -0
- package/dist/src/client/customers.d.ts +3 -0
- package/dist/src/client/schemas.d.ts +256 -86
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export declare class Customers {
|
|
|
30
30
|
currency?: import("./schemas.js").components["schemas"]["CurrencyCode"];
|
|
31
31
|
billingAddress?: import("./schemas.js").components["schemas"]["Address"];
|
|
32
32
|
readonly currentSubscriptionId?: string;
|
|
33
|
+
readonly subscriptions?: import("./schemas.js").components["schemas"]["Subscription"][];
|
|
33
34
|
}>;
|
|
34
35
|
/**
|
|
35
36
|
* Get a customer by ID
|
|
@@ -51,6 +52,7 @@ export declare class Customers {
|
|
|
51
52
|
currency?: import("./schemas.js").components["schemas"]["CurrencyCode"];
|
|
52
53
|
billingAddress?: import("./schemas.js").components["schemas"]["Address"];
|
|
53
54
|
readonly currentSubscriptionId?: string;
|
|
55
|
+
readonly subscriptions?: import("./schemas.js").components["schemas"]["Subscription"][];
|
|
54
56
|
}>;
|
|
55
57
|
/**
|
|
56
58
|
* Update a customer
|
|
@@ -73,6 +75,7 @@ export declare class Customers {
|
|
|
73
75
|
currency?: import("./schemas.js").components["schemas"]["CurrencyCode"];
|
|
74
76
|
billingAddress?: import("./schemas.js").components["schemas"]["Address"];
|
|
75
77
|
readonly currentSubscriptionId?: string;
|
|
78
|
+
readonly subscriptions?: import("./schemas.js").components["schemas"]["Subscription"][];
|
|
76
79
|
}>;
|
|
77
80
|
/**
|
|
78
81
|
* Delete a customer
|
|
@@ -956,6 +956,26 @@ export interface paths {
|
|
|
956
956
|
patch?: never;
|
|
957
957
|
trace?: never;
|
|
958
958
|
};
|
|
959
|
+
'/api/v1/marketplace/listings/{type}/install': {
|
|
960
|
+
parameters: {
|
|
961
|
+
query?: never;
|
|
962
|
+
header?: never;
|
|
963
|
+
path?: never;
|
|
964
|
+
cookie?: never;
|
|
965
|
+
};
|
|
966
|
+
get?: never;
|
|
967
|
+
put?: never;
|
|
968
|
+
/**
|
|
969
|
+
* Install app
|
|
970
|
+
* @description Install an app from the marketplace.
|
|
971
|
+
*/
|
|
972
|
+
post: operations['marketplaceAppInstall'];
|
|
973
|
+
delete?: never;
|
|
974
|
+
options?: never;
|
|
975
|
+
head?: never;
|
|
976
|
+
patch?: never;
|
|
977
|
+
trace?: never;
|
|
978
|
+
};
|
|
959
979
|
'/api/v1/marketplace/listings/{type}/install/apikey': {
|
|
960
980
|
parameters: {
|
|
961
981
|
query?: never;
|
|
@@ -967,7 +987,7 @@ export interface paths {
|
|
|
967
987
|
put?: never;
|
|
968
988
|
/**
|
|
969
989
|
* Install app via API key
|
|
970
|
-
* @description Install an marketplace via API Key.
|
|
990
|
+
* @description Install an marketplace app via API Key.
|
|
971
991
|
*/
|
|
972
992
|
post: operations['marketplaceAppAPIKeyInstall'];
|
|
973
993
|
delete?: never;
|
|
@@ -3246,6 +3266,12 @@ export interface components {
|
|
|
3246
3266
|
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
3247
3267
|
*/
|
|
3248
3268
|
readonly currentSubscriptionId?: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* Subscriptions
|
|
3271
|
+
* @description The subscriptions of the customer.
|
|
3272
|
+
* Only with the `subscriptions` expand option.
|
|
3273
|
+
*/
|
|
3274
|
+
readonly subscriptions?: components['schemas']['Subscription'][];
|
|
3249
3275
|
};
|
|
3250
3276
|
/** @description CustomerAccess describes what features the customer has access to. */
|
|
3251
3277
|
CustomerAccess: {
|
|
@@ -3326,6 +3352,11 @@ export interface components {
|
|
|
3326
3352
|
*/
|
|
3327
3353
|
billingAddress?: components['schemas']['Address'];
|
|
3328
3354
|
};
|
|
3355
|
+
/**
|
|
3356
|
+
* @description CustomerExpand specifies the parts of the customer to expand in the list output.
|
|
3357
|
+
* @enum {string}
|
|
3358
|
+
*/
|
|
3359
|
+
CustomerExpand: 'subscriptions';
|
|
3329
3360
|
/** @description Create Stripe checkout session with customer ID. */
|
|
3330
3361
|
CustomerId: {
|
|
3331
3362
|
/**
|
|
@@ -4742,6 +4773,11 @@ export interface components {
|
|
|
4742
4773
|
/** @description The cursor of the last item in the list. */
|
|
4743
4774
|
nextCursor?: string;
|
|
4744
4775
|
};
|
|
4776
|
+
/**
|
|
4777
|
+
* @description Install method of the application.
|
|
4778
|
+
* @enum {string}
|
|
4779
|
+
*/
|
|
4780
|
+
InstallMethod: 'with_oauth2' | 'with_api_key' | 'no_credentials_required';
|
|
4745
4781
|
/** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
|
|
4746
4782
|
InternalServerErrorProblemResponse: components['schemas']['UnexpectedProblemResponse'];
|
|
4747
4783
|
/** @description Invoice represents an invoice in the system. */
|
|
@@ -6024,6 +6060,10 @@ export interface components {
|
|
|
6024
6060
|
* "name": "Collect Payments",
|
|
6025
6061
|
* "description": "Stripe payments collects outstanding revenue with Stripe customer's default payment method."
|
|
6026
6062
|
* }
|
|
6063
|
+
* ],
|
|
6064
|
+
* "installMethods": [
|
|
6065
|
+
* "with_oauth2",
|
|
6066
|
+
* "with_api_key"
|
|
6027
6067
|
* ]
|
|
6028
6068
|
* }
|
|
6029
6069
|
*/
|
|
@@ -6036,6 +6076,10 @@ export interface components {
|
|
|
6036
6076
|
description: string;
|
|
6037
6077
|
/** @description The app's capabilities. */
|
|
6038
6078
|
capabilities: components['schemas']['AppCapability'][];
|
|
6079
|
+
/** @description Install methods.
|
|
6080
|
+
*
|
|
6081
|
+
* List of methods to install the app. */
|
|
6082
|
+
installMethods: components['schemas']['InstallMethod'][];
|
|
6039
6083
|
};
|
|
6040
6084
|
/** @description Paginated response */
|
|
6041
6085
|
MarketplaceListingPaginatedResponse: {
|
|
@@ -7079,6 +7123,16 @@ export interface components {
|
|
|
7079
7123
|
* @example 2024-01-01T01:01:01.001Z
|
|
7080
7124
|
*/
|
|
7081
7125
|
readonly deletedAt?: Date;
|
|
7126
|
+
/**
|
|
7127
|
+
* Annotations
|
|
7128
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
7129
|
+
*/
|
|
7130
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
7131
|
+
/**
|
|
7132
|
+
* Metadata
|
|
7133
|
+
* @description Additional metadata for the resource.
|
|
7134
|
+
*/
|
|
7135
|
+
metadata?: components['schemas']['Metadata'];
|
|
7082
7136
|
/**
|
|
7083
7137
|
* Addon
|
|
7084
7138
|
* @description Partially populated add-on properties.
|
|
@@ -7119,36 +7173,13 @@ export interface components {
|
|
|
7119
7173
|
*/
|
|
7120
7174
|
maxQuantity?: number;
|
|
7121
7175
|
};
|
|
7122
|
-
/** @description
|
|
7176
|
+
/** @description A plan add-on assignment create request. */
|
|
7123
7177
|
PlanAddonCreate: {
|
|
7124
7178
|
/**
|
|
7125
|
-
*
|
|
7126
|
-
* @description
|
|
7179
|
+
* Metadata
|
|
7180
|
+
* @description Additional metadata for the resource.
|
|
7127
7181
|
*/
|
|
7128
|
-
|
|
7129
|
-
/**
|
|
7130
|
-
* ID
|
|
7131
|
-
* @description The ID of the add-on.
|
|
7132
|
-
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
7133
|
-
*/
|
|
7134
|
-
id: string;
|
|
7135
|
-
/**
|
|
7136
|
-
* Key
|
|
7137
|
-
* @description A semi-unique identifier for the resource.
|
|
7138
|
-
*/
|
|
7139
|
-
readonly key: string;
|
|
7140
|
-
/**
|
|
7141
|
-
* Version
|
|
7142
|
-
* @description The version of the Add-on which templates this instance.
|
|
7143
|
-
* @default 1
|
|
7144
|
-
*/
|
|
7145
|
-
readonly version: number;
|
|
7146
|
-
/**
|
|
7147
|
-
* InstanceType
|
|
7148
|
-
* @description The instance type of the add-on.
|
|
7149
|
-
*/
|
|
7150
|
-
readonly instanceType: components['schemas']['AddonInstanceType'];
|
|
7151
|
-
};
|
|
7182
|
+
metadata?: components['schemas']['Metadata'];
|
|
7152
7183
|
/**
|
|
7153
7184
|
* The plan phase from the add-on becomes purchasable
|
|
7154
7185
|
* @description The key of the plan phase from the add-on becomes available for purchase.
|
|
@@ -7160,37 +7191,50 @@ export interface components {
|
|
|
7160
7191
|
* It is not applicable for add-ons with single instance type.
|
|
7161
7192
|
*/
|
|
7162
7193
|
maxQuantity?: number;
|
|
7163
|
-
};
|
|
7164
|
-
/** @description Resource update operation model. */
|
|
7165
|
-
PlanAddonReplaceUpdate: {
|
|
7166
7194
|
/**
|
|
7167
7195
|
* Addon
|
|
7168
|
-
* @description
|
|
7196
|
+
* @description The add-on to create.
|
|
7169
7197
|
*/
|
|
7170
7198
|
addon: {
|
|
7171
7199
|
/**
|
|
7172
|
-
* ID
|
|
7173
7200
|
* @description The ID of the add-on.
|
|
7174
7201
|
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
7175
7202
|
*/
|
|
7176
7203
|
id: string;
|
|
7177
|
-
/**
|
|
7178
|
-
* Key
|
|
7179
|
-
* @description A semi-unique identifier for the resource.
|
|
7180
|
-
*/
|
|
7181
|
-
readonly key: string;
|
|
7182
|
-
/**
|
|
7183
|
-
* Version
|
|
7184
|
-
* @description The version of the Add-on which templates this instance.
|
|
7185
|
-
* @default 1
|
|
7186
|
-
*/
|
|
7187
|
-
readonly version: number;
|
|
7188
|
-
/**
|
|
7189
|
-
* InstanceType
|
|
7190
|
-
* @description The instance type of the add-on.
|
|
7191
|
-
*/
|
|
7192
|
-
readonly instanceType: components['schemas']['AddonInstanceType'];
|
|
7193
7204
|
};
|
|
7205
|
+
};
|
|
7206
|
+
/**
|
|
7207
|
+
* @description Order by options for plan add-on assignments.
|
|
7208
|
+
* @enum {string}
|
|
7209
|
+
*/
|
|
7210
|
+
PlanAddonOrderBy: 'id' | 'key' | 'version' | 'created_at' | 'updated_at';
|
|
7211
|
+
/** @description Paginated response */
|
|
7212
|
+
PlanAddonPaginatedResponse: {
|
|
7213
|
+
/**
|
|
7214
|
+
* @description The total number of items.
|
|
7215
|
+
* @example 500
|
|
7216
|
+
*/
|
|
7217
|
+
totalCount: number;
|
|
7218
|
+
/**
|
|
7219
|
+
* @description The page index.
|
|
7220
|
+
* @example 1
|
|
7221
|
+
*/
|
|
7222
|
+
page: number;
|
|
7223
|
+
/**
|
|
7224
|
+
* @description The maximum number of items per page.
|
|
7225
|
+
* @example 100
|
|
7226
|
+
*/
|
|
7227
|
+
pageSize: number;
|
|
7228
|
+
/** @description The items in the current page. */
|
|
7229
|
+
items: components['schemas']['PlanAddon'][];
|
|
7230
|
+
};
|
|
7231
|
+
/** @description Resource update operation model. */
|
|
7232
|
+
PlanAddonReplaceUpdate: {
|
|
7233
|
+
/**
|
|
7234
|
+
* Metadata
|
|
7235
|
+
* @description Additional metadata for the resource.
|
|
7236
|
+
*/
|
|
7237
|
+
metadata?: components['schemas']['Metadata'];
|
|
7194
7238
|
/**
|
|
7195
7239
|
* The plan phase from the add-on becomes purchasable
|
|
7196
7240
|
* @description The key of the plan phase from the add-on becomes available for purchase.
|
|
@@ -7882,6 +7926,10 @@ export interface components {
|
|
|
7882
7926
|
* "name": "Collect Payments",
|
|
7883
7927
|
* "description": "Stripe payments collects outstanding revenue with Stripe customer's default payment method."
|
|
7884
7928
|
* }
|
|
7929
|
+
* ],
|
|
7930
|
+
* "installMethods": [
|
|
7931
|
+
* "with_oauth2",
|
|
7932
|
+
* "with_api_key"
|
|
7885
7933
|
* ]
|
|
7886
7934
|
* },
|
|
7887
7935
|
* "createdAt": "2024-01-01T01:01:01.001Z",
|
|
@@ -8335,7 +8383,7 @@ export interface components {
|
|
|
8335
8383
|
*/
|
|
8336
8384
|
readonly rateCards: components['schemas']['SubscriptionAddonRateCard'][];
|
|
8337
8385
|
};
|
|
8338
|
-
/** @description
|
|
8386
|
+
/** @description A subscription add-on create body. */
|
|
8339
8387
|
SubscriptionAddonCreate: {
|
|
8340
8388
|
/**
|
|
8341
8389
|
* Display name
|
|
@@ -8364,34 +8412,6 @@ export interface components {
|
|
|
8364
8412
|
* @example 2023-01-01T01:01:01.001Z
|
|
8365
8413
|
*/
|
|
8366
8414
|
activeTo?: Date;
|
|
8367
|
-
/**
|
|
8368
|
-
* Addon
|
|
8369
|
-
* @description Partially populated add-on properties.
|
|
8370
|
-
*/
|
|
8371
|
-
addon: {
|
|
8372
|
-
/**
|
|
8373
|
-
* ID
|
|
8374
|
-
* @description The ID of the add-on.
|
|
8375
|
-
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
8376
|
-
*/
|
|
8377
|
-
id: string;
|
|
8378
|
-
/**
|
|
8379
|
-
* Key
|
|
8380
|
-
* @description A semi-unique identifier for the resource.
|
|
8381
|
-
*/
|
|
8382
|
-
readonly key: string;
|
|
8383
|
-
/**
|
|
8384
|
-
* Version
|
|
8385
|
-
* @description The version of the Add-on which templates this instance.
|
|
8386
|
-
* @default 1
|
|
8387
|
-
*/
|
|
8388
|
-
readonly version: number;
|
|
8389
|
-
/**
|
|
8390
|
-
* InstanceType
|
|
8391
|
-
* @description The instance type of the add-on.
|
|
8392
|
-
*/
|
|
8393
|
-
readonly instanceType: components['schemas']['AddonInstanceType'];
|
|
8394
|
-
};
|
|
8395
8415
|
/**
|
|
8396
8416
|
* Quantity
|
|
8397
8417
|
* @description The quantity of the add-on. Always 1 for single instance add-ons.
|
|
@@ -8403,6 +8423,17 @@ export interface components {
|
|
|
8403
8423
|
* @description The timing of the operation. After the create or update, a new entry will be created in the timeline.
|
|
8404
8424
|
*/
|
|
8405
8425
|
timing: components['schemas']['SubscriptionTiming'];
|
|
8426
|
+
/**
|
|
8427
|
+
* Addon
|
|
8428
|
+
* @description The add-on to create.
|
|
8429
|
+
*/
|
|
8430
|
+
addon: {
|
|
8431
|
+
/**
|
|
8432
|
+
* @description The ID of the add-on.
|
|
8433
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
8434
|
+
*/
|
|
8435
|
+
id: string;
|
|
8436
|
+
};
|
|
8406
8437
|
};
|
|
8407
8438
|
/** @description A rate card for a subscription add-on. */
|
|
8408
8439
|
SubscriptionAddonRateCard: {
|
|
@@ -8467,11 +8498,6 @@ export interface components {
|
|
|
8467
8498
|
* @example 2023-01-01T01:01:01.001Z
|
|
8468
8499
|
*/
|
|
8469
8500
|
activeTo?: Date;
|
|
8470
|
-
/**
|
|
8471
|
-
* Addon
|
|
8472
|
-
* @description Partially populated add-on properties.
|
|
8473
|
-
*/
|
|
8474
|
-
addon?: Record<string, never>;
|
|
8475
8501
|
/**
|
|
8476
8502
|
* Quantity
|
|
8477
8503
|
* @description The quantity of the add-on. Always 1 for single instance add-ons.
|
|
@@ -9209,6 +9235,8 @@ export interface components {
|
|
|
9209
9235
|
/** @description The type of the app to install. */
|
|
9210
9236
|
'MarketplaceApiKeyInstallRequest.type': components['schemas']['AppType'];
|
|
9211
9237
|
/** @description The type of the app to install. */
|
|
9238
|
+
'MarketplaceInstallRequest.type': components['schemas']['AppType'];
|
|
9239
|
+
/** @description The type of the app to install. */
|
|
9212
9240
|
'MarketplaceOAuth2InstallAuthorizeRequest.type': components['schemas']['AppType'];
|
|
9213
9241
|
/** @description The order direction. */
|
|
9214
9242
|
'MeterOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
@@ -9293,9 +9321,17 @@ export interface components {
|
|
|
9293
9321
|
* Default is 100. */
|
|
9294
9322
|
'Pagination.pageSize': number;
|
|
9295
9323
|
/** @description The order direction. */
|
|
9324
|
+
'PlanAddonOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
9325
|
+
/** @description The order by field. */
|
|
9326
|
+
'PlanAddonOrderByOrdering.orderBy': components['schemas']['PlanAddonOrderBy'];
|
|
9327
|
+
/** @description The order direction. */
|
|
9296
9328
|
'PlanOrderByOrdering.order': components['schemas']['SortOrder'];
|
|
9297
9329
|
/** @description The order by field. */
|
|
9298
9330
|
'PlanOrderByOrdering.orderBy': components['schemas']['PlanOrderBy'];
|
|
9331
|
+
/** @description What parts of the customer output to expand */
|
|
9332
|
+
queryCustomerGet: components['schemas']['CustomerExpand'][];
|
|
9333
|
+
/** @description What parts of the list output to expand in listings */
|
|
9334
|
+
'queryCustomerList.expand': components['schemas']['CustomerExpand'][];
|
|
9299
9335
|
/** @description Include deleted customers. */
|
|
9300
9336
|
'queryCustomerList.includeDeleted': boolean;
|
|
9301
9337
|
/** @description Filter customers by key.
|
|
@@ -9404,6 +9440,7 @@ export type CustomerAccess = components['schemas']['CustomerAccess'];
|
|
|
9404
9440
|
export type CustomerAppData = components['schemas']['CustomerAppData'];
|
|
9405
9441
|
export type CustomerAppDataPaginatedResponse = components['schemas']['CustomerAppDataPaginatedResponse'];
|
|
9406
9442
|
export type CustomerCreate = components['schemas']['CustomerCreate'];
|
|
9443
|
+
export type CustomerExpand = components['schemas']['CustomerExpand'];
|
|
9407
9444
|
export type CustomerId = components['schemas']['CustomerId'];
|
|
9408
9445
|
export type CustomerKey = components['schemas']['CustomerKey'];
|
|
9409
9446
|
export type CustomerOrderBy = components['schemas']['CustomerOrderBy'];
|
|
@@ -9460,6 +9497,7 @@ export type IdResource = components['schemas']['IDResource'];
|
|
|
9460
9497
|
export type IngestEventsBody = components['schemas']['IngestEventsBody'];
|
|
9461
9498
|
export type IngestedEvent = components['schemas']['IngestedEvent'];
|
|
9462
9499
|
export type IngestedEventCursorPaginatedResponse = components['schemas']['IngestedEventCursorPaginatedResponse'];
|
|
9500
|
+
export type InstallMethod = components['schemas']['InstallMethod'];
|
|
9463
9501
|
export type InternalServerErrorProblemResponse = components['schemas']['InternalServerErrorProblemResponse'];
|
|
9464
9502
|
export type Invoice = components['schemas']['Invoice'];
|
|
9465
9503
|
export type InvoiceAppExternalIds = components['schemas']['InvoiceAppExternalIds'];
|
|
@@ -9566,6 +9604,8 @@ export type Period = components['schemas']['Period'];
|
|
|
9566
9604
|
export type Plan = components['schemas']['Plan'];
|
|
9567
9605
|
export type PlanAddon = components['schemas']['PlanAddon'];
|
|
9568
9606
|
export type PlanAddonCreate = components['schemas']['PlanAddonCreate'];
|
|
9607
|
+
export type PlanAddonOrderBy = components['schemas']['PlanAddonOrderBy'];
|
|
9608
|
+
export type PlanAddonPaginatedResponse = components['schemas']['PlanAddonPaginatedResponse'];
|
|
9569
9609
|
export type PlanAddonReplaceUpdate = components['schemas']['PlanAddonReplaceUpdate'];
|
|
9570
9610
|
export type PlanCreate = components['schemas']['PlanCreate'];
|
|
9571
9611
|
export type PlanOrderBy = components['schemas']['PlanOrderBy'];
|
|
@@ -9687,6 +9727,7 @@ export type ParameterInvoiceOrderByOrderingOrderBy = components['parameters']['I
|
|
|
9687
9727
|
export type ParameterLimitOffsetLimit = components['parameters']['LimitOffset.limit'];
|
|
9688
9728
|
export type ParameterLimitOffsetOffset = components['parameters']['LimitOffset.offset'];
|
|
9689
9729
|
export type ParameterMarketplaceApiKeyInstallRequestType = components['parameters']['MarketplaceApiKeyInstallRequest.type'];
|
|
9730
|
+
export type ParameterMarketplaceInstallRequestType = components['parameters']['MarketplaceInstallRequest.type'];
|
|
9690
9731
|
export type ParameterMarketplaceOAuth2InstallAuthorizeRequestType = components['parameters']['MarketplaceOAuth2InstallAuthorizeRequest.type'];
|
|
9691
9732
|
export type ParameterMeterOrderByOrderingOrder = components['parameters']['MeterOrderByOrdering.order'];
|
|
9692
9733
|
export type ParameterMeterOrderByOrderingOrderBy = components['parameters']['MeterOrderByOrdering.orderBy'];
|
|
@@ -9711,8 +9752,12 @@ export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsCode = components[
|
|
|
9711
9752
|
export type ParameterOAuth2AuthorizationCodeGrantSuccessParamsState = components['parameters']['OAuth2AuthorizationCodeGrantSuccessParams.state'];
|
|
9712
9753
|
export type ParameterPaginationPage = components['parameters']['Pagination.page'];
|
|
9713
9754
|
export type ParameterPaginationPageSize = components['parameters']['Pagination.pageSize'];
|
|
9755
|
+
export type ParameterPlanAddonOrderByOrderingOrder = components['parameters']['PlanAddonOrderByOrdering.order'];
|
|
9756
|
+
export type ParameterPlanAddonOrderByOrderingOrderBy = components['parameters']['PlanAddonOrderByOrdering.orderBy'];
|
|
9714
9757
|
export type ParameterPlanOrderByOrderingOrder = components['parameters']['PlanOrderByOrdering.order'];
|
|
9715
9758
|
export type ParameterPlanOrderByOrderingOrderBy = components['parameters']['PlanOrderByOrdering.orderBy'];
|
|
9759
|
+
export type ParameterQueryCustomerGet = components['parameters']['queryCustomerGet'];
|
|
9760
|
+
export type ParameterQueryCustomerListExpand = components['parameters']['queryCustomerList.expand'];
|
|
9716
9761
|
export type ParameterQueryCustomerListIncludeDeleted = components['parameters']['queryCustomerList.includeDeleted'];
|
|
9717
9762
|
export type ParameterQueryCustomerListKey = components['parameters']['queryCustomerList.key'];
|
|
9718
9763
|
export type ParameterQueryCustomerListName = components['parameters']['queryCustomerList.name'];
|
|
@@ -13001,6 +13046,8 @@ export interface operations {
|
|
|
13001
13046
|
subject?: components['parameters']['queryCustomerList.subject'];
|
|
13002
13047
|
/** @description Filter customers by the plan key of their susbcription. */
|
|
13003
13048
|
planKey?: components['parameters']['queryCustomerList.planKey'];
|
|
13049
|
+
/** @description What parts of the list output to expand in listings */
|
|
13050
|
+
expand?: components['parameters']['queryCustomerList.expand'];
|
|
13004
13051
|
};
|
|
13005
13052
|
header?: never;
|
|
13006
13053
|
path?: never;
|
|
@@ -13171,7 +13218,10 @@ export interface operations {
|
|
|
13171
13218
|
};
|
|
13172
13219
|
getCustomer: {
|
|
13173
13220
|
parameters: {
|
|
13174
|
-
query?:
|
|
13221
|
+
query?: {
|
|
13222
|
+
/** @description What parts of the customer output to expand */
|
|
13223
|
+
expand?: components['parameters']['queryCustomerGet'];
|
|
13224
|
+
};
|
|
13175
13225
|
header?: never;
|
|
13176
13226
|
path: {
|
|
13177
13227
|
customerIdOrKey: string;
|
|
@@ -15488,6 +15538,101 @@ export interface operations {
|
|
|
15488
15538
|
};
|
|
15489
15539
|
};
|
|
15490
15540
|
};
|
|
15541
|
+
marketplaceAppInstall: {
|
|
15542
|
+
parameters: {
|
|
15543
|
+
query?: never;
|
|
15544
|
+
header?: never;
|
|
15545
|
+
path: {
|
|
15546
|
+
/** @description The type of the app to install. */
|
|
15547
|
+
type: components['parameters']['MarketplaceInstallRequest.type'];
|
|
15548
|
+
};
|
|
15549
|
+
cookie?: never;
|
|
15550
|
+
};
|
|
15551
|
+
requestBody: {
|
|
15552
|
+
content: {
|
|
15553
|
+
'application/json': {
|
|
15554
|
+
/** @description Name of the application to install.
|
|
15555
|
+
*
|
|
15556
|
+
* If not set defaults to the marketplace item's description. */
|
|
15557
|
+
name?: string;
|
|
15558
|
+
};
|
|
15559
|
+
};
|
|
15560
|
+
};
|
|
15561
|
+
responses: {
|
|
15562
|
+
/** @description The request has succeeded. */
|
|
15563
|
+
200: {
|
|
15564
|
+
headers: {
|
|
15565
|
+
[name: string]: unknown;
|
|
15566
|
+
};
|
|
15567
|
+
content: {
|
|
15568
|
+
'application/json': components['schemas']['MarketplaceInstallResponse'];
|
|
15569
|
+
};
|
|
15570
|
+
};
|
|
15571
|
+
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|
|
15572
|
+
400: {
|
|
15573
|
+
headers: {
|
|
15574
|
+
[name: string]: unknown;
|
|
15575
|
+
};
|
|
15576
|
+
content: {
|
|
15577
|
+
'application/problem+json': components['schemas']['BadRequestProblemResponse'];
|
|
15578
|
+
};
|
|
15579
|
+
};
|
|
15580
|
+
/** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
|
|
15581
|
+
401: {
|
|
15582
|
+
headers: {
|
|
15583
|
+
[name: string]: unknown;
|
|
15584
|
+
};
|
|
15585
|
+
content: {
|
|
15586
|
+
'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
|
|
15587
|
+
};
|
|
15588
|
+
};
|
|
15589
|
+
/** @description The server understood the request but refuses to authorize it. */
|
|
15590
|
+
403: {
|
|
15591
|
+
headers: {
|
|
15592
|
+
[name: string]: unknown;
|
|
15593
|
+
};
|
|
15594
|
+
content: {
|
|
15595
|
+
'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
|
|
15596
|
+
};
|
|
15597
|
+
};
|
|
15598
|
+
/** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
|
|
15599
|
+
412: {
|
|
15600
|
+
headers: {
|
|
15601
|
+
[name: string]: unknown;
|
|
15602
|
+
};
|
|
15603
|
+
content: {
|
|
15604
|
+
'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
|
|
15605
|
+
};
|
|
15606
|
+
};
|
|
15607
|
+
/** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
|
|
15608
|
+
500: {
|
|
15609
|
+
headers: {
|
|
15610
|
+
[name: string]: unknown;
|
|
15611
|
+
};
|
|
15612
|
+
content: {
|
|
15613
|
+
'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
|
|
15614
|
+
};
|
|
15615
|
+
};
|
|
15616
|
+
/** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
|
|
15617
|
+
503: {
|
|
15618
|
+
headers: {
|
|
15619
|
+
[name: string]: unknown;
|
|
15620
|
+
};
|
|
15621
|
+
content: {
|
|
15622
|
+
'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
|
|
15623
|
+
};
|
|
15624
|
+
};
|
|
15625
|
+
/** @description An unexpected error response. */
|
|
15626
|
+
default: {
|
|
15627
|
+
headers: {
|
|
15628
|
+
[name: string]: unknown;
|
|
15629
|
+
};
|
|
15630
|
+
content: {
|
|
15631
|
+
'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
|
|
15632
|
+
};
|
|
15633
|
+
};
|
|
15634
|
+
};
|
|
15635
|
+
};
|
|
15491
15636
|
marketplaceAppAPIKeyInstall: {
|
|
15492
15637
|
parameters: {
|
|
15493
15638
|
query?: never;
|
|
@@ -18382,7 +18527,32 @@ export interface operations {
|
|
|
18382
18527
|
};
|
|
18383
18528
|
listPlanAddons: {
|
|
18384
18529
|
parameters: {
|
|
18385
|
-
query?:
|
|
18530
|
+
query?: {
|
|
18531
|
+
/** @description Include deleted plan add-on assignments.
|
|
18532
|
+
*
|
|
18533
|
+
* Usage: `?includeDeleted=true` */
|
|
18534
|
+
includeDeleted?: boolean;
|
|
18535
|
+
/** @description Filter by addon.id attribute. */
|
|
18536
|
+
id?: string[];
|
|
18537
|
+
/** @description Filter by addon.key attribute. */
|
|
18538
|
+
key?: string[];
|
|
18539
|
+
/** @description Filter by addon.key and addon.version attributes. */
|
|
18540
|
+
keyVersion?: {
|
|
18541
|
+
[key: string]: number[];
|
|
18542
|
+
};
|
|
18543
|
+
/** @description Page index.
|
|
18544
|
+
*
|
|
18545
|
+
* Default is 1. */
|
|
18546
|
+
page?: components['parameters']['Pagination.page'];
|
|
18547
|
+
/** @description The maximum number of items per page.
|
|
18548
|
+
*
|
|
18549
|
+
* Default is 100. */
|
|
18550
|
+
pageSize?: components['parameters']['Pagination.pageSize'];
|
|
18551
|
+
/** @description The order direction. */
|
|
18552
|
+
order?: components['parameters']['PlanAddonOrderByOrdering.order'];
|
|
18553
|
+
/** @description The order by field. */
|
|
18554
|
+
orderBy?: components['parameters']['PlanAddonOrderByOrdering.orderBy'];
|
|
18555
|
+
};
|
|
18386
18556
|
header?: never;
|
|
18387
18557
|
path: {
|
|
18388
18558
|
planId: string;
|
|
@@ -18397,7 +18567,7 @@ export interface operations {
|
|
|
18397
18567
|
[name: string]: unknown;
|
|
18398
18568
|
};
|
|
18399
18569
|
content: {
|
|
18400
|
-
'application/json': components['schemas']['
|
|
18570
|
+
'application/json': components['schemas']['PlanAddonPaginatedResponse'];
|
|
18401
18571
|
};
|
|
18402
18572
|
};
|
|
18403
18573
|
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
|