@openmeter/sdk 1.0.0-beta-66e8d41117ad → 1.0.0-beta-bc75ed2093d3
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 +2 -2
- package/dist/cjs/src/client/apps.js.map +1 -1
- package/dist/cjs/src/client/customers.d.cts +5 -0
- package/dist/cjs/src/client/schemas.d.cts +243 -31
- package/dist/cjs/{tsconfig.8841d8cb.tsbuildinfo → tsconfig.b4e56eab.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.c3c7d7e4.tsbuildinfo → tsconfig.df1d6991.tsbuildinfo} +1 -1
- package/dist/src/client/apps.d.ts +2 -2
- package/dist/src/client/apps.js.map +1 -1
- package/dist/src/client/customers.d.ts +5 -0
- package/dist/src/client/schemas.d.ts +243 -31
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RequestOptions } from './common.cjs';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AppReplaceUpdate, CreateStripeCheckoutSessionRequest, operations, paths } from './schemas.cjs';
|
|
3
3
|
import type { Client } from 'openapi-fetch';
|
|
4
4
|
/**
|
|
5
5
|
* Apps
|
|
@@ -109,7 +109,7 @@ export declare class Apps {
|
|
|
109
109
|
* @param signal - An optional abort signal
|
|
110
110
|
* @returns The app
|
|
111
111
|
*/
|
|
112
|
-
update(id: operations['updateApp']['parameters']['path']['id'], body:
|
|
112
|
+
update(id: operations['updateApp']['parameters']['path']['id'], body: AppReplaceUpdate, options?: RequestOptions): Promise<import("openapi-typescript-helpers").SuccessResponse<{
|
|
113
113
|
200: {
|
|
114
114
|
headers: {
|
|
115
115
|
[name: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../../src/client/apps.ts"],"names":[],"mappings":";;;AAAA,yCAA8C;AAU9C;;;GAGG;AAC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1B,GAAG,OAAO;SACX,CACF,CAAA;QAED,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,iBAAiB,CAC5B,IAA6E,EAC7E,IAA6F,EAC7F,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CACjC,oDAAoD,EACpD;YACE,IAAI;YACJ,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,EAAE;YAC1B,GAAG,OAAO;SACX,CACF,CAAA;QAED,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;CACF;AAvGD,wCAuGC;AAED;;GAEG;AACH,MAAa,SAAS;IACA;IAApB,YAAoB,MAA4C;QAA5C,WAAM,GAAN,MAAM,CAAsC;IAAI,CAAC;IAErE;;;;;OAKG;IACI,KAAK,CAAC,qBAAqB,CAChC,IAAwC,EACxC,OAAwB;QAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE;YACtE,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAA;QAEF,OAAO,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;IAChC,CAAC;CACF;AApBD,8BAoBC"}
|
|
@@ -111,6 +111,11 @@ export declare class CustomerApps {
|
|
|
111
111
|
* @returns The upserted app data
|
|
112
112
|
*/
|
|
113
113
|
upsert(customerIdOrKey: operations['upsertCustomerAppData']['parameters']['path']['customerIdOrKey'], appData: CustomerAppData[], options?: RequestOptions): Promise<({
|
|
114
|
+
readonly app?: import("./schemas.cjs").components["schemas"]["CustomInvoicingApp"];
|
|
115
|
+
id?: string;
|
|
116
|
+
type: "custom_invoicing";
|
|
117
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"];
|
|
118
|
+
} | {
|
|
114
119
|
id?: string;
|
|
115
120
|
type: "stripe";
|
|
116
121
|
readonly app?: import("./schemas.cjs").components["schemas"]["StripeApp"];
|
|
@@ -151,6 +151,7 @@ export interface paths {
|
|
|
151
151
|
get?: never;
|
|
152
152
|
/**
|
|
153
153
|
* Update Stripe API key
|
|
154
|
+
* @deprecated
|
|
154
155
|
* @description Update the Stripe API key.
|
|
155
156
|
*/
|
|
156
157
|
put: operations['updateStripeAPIKey'];
|
|
@@ -2261,28 +2262,7 @@ export interface components {
|
|
|
2261
2262
|
};
|
|
2262
2263
|
/** @description App.
|
|
2263
2264
|
* One of: stripe */
|
|
2264
|
-
App: components['schemas']['StripeApp'] | components['schemas']['SandboxApp'];
|
|
2265
|
-
/** @description Resource update operation model. */
|
|
2266
|
-
AppBaseReplaceUpdate: {
|
|
2267
|
-
/**
|
|
2268
|
-
* Display name
|
|
2269
|
-
* @description Human-readable name for the resource. Between 1 and 256 characters.
|
|
2270
|
-
*/
|
|
2271
|
-
name: string;
|
|
2272
|
-
/**
|
|
2273
|
-
* Description
|
|
2274
|
-
* @description Optional description of the resource. Maximum 1024 characters.
|
|
2275
|
-
*/
|
|
2276
|
-
description?: string;
|
|
2277
|
-
/**
|
|
2278
|
-
* Metadata
|
|
2279
|
-
* @description Additional metadata for the resource.
|
|
2280
|
-
*/
|
|
2281
|
-
metadata?: components['schemas']['Metadata'] | null;
|
|
2282
|
-
/** @description Default for the app type
|
|
2283
|
-
* Only one app of each type can be default. */
|
|
2284
|
-
default: boolean;
|
|
2285
|
-
};
|
|
2265
|
+
App: components['schemas']['StripeApp'] | components['schemas']['SandboxApp'] | components['schemas']['CustomInvoicingApp'];
|
|
2286
2266
|
/**
|
|
2287
2267
|
* @description App capability.
|
|
2288
2268
|
*
|
|
@@ -2339,6 +2319,8 @@ export interface components {
|
|
|
2339
2319
|
*/
|
|
2340
2320
|
id: string;
|
|
2341
2321
|
};
|
|
2322
|
+
/** @description App ReplaceUpdate Model */
|
|
2323
|
+
AppReplaceUpdate: components['schemas']['StripeAppReplaceUpdate'] | components['schemas']['SandboxAppReplaceUpdate'] | components['schemas']['CustomInvoicingAppReplaceUpdate'];
|
|
2342
2324
|
/**
|
|
2343
2325
|
* @description App installed status.
|
|
2344
2326
|
* @enum {string}
|
|
@@ -2348,7 +2330,7 @@ export interface components {
|
|
|
2348
2330
|
* @description Type of the app.
|
|
2349
2331
|
* @enum {string}
|
|
2350
2332
|
*/
|
|
2351
|
-
AppType: 'stripe' | 'sandbox';
|
|
2333
|
+
AppType: 'stripe' | 'sandbox' | 'custom_invoicing';
|
|
2352
2334
|
/** @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). */
|
|
2353
2335
|
BadRequestProblemResponse: components['schemas']['UnexpectedProblemResponse'];
|
|
2354
2336
|
/** @description The balance history window. */
|
|
@@ -3116,6 +3098,137 @@ export interface components {
|
|
|
3116
3098
|
* @example USD
|
|
3117
3099
|
*/
|
|
3118
3100
|
CurrencyCode: string;
|
|
3101
|
+
/** @description Custom Invoicing app can be used for interface with any invoicing or payment system.
|
|
3102
|
+
*
|
|
3103
|
+
* This app provides ways to manipulate invoices and payments, however the integration
|
|
3104
|
+
* must rely on Notifications API to get notified about invoice changes. */
|
|
3105
|
+
CustomInvoicingApp: {
|
|
3106
|
+
/**
|
|
3107
|
+
* ID
|
|
3108
|
+
* @description A unique identifier for the resource.
|
|
3109
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
3110
|
+
*/
|
|
3111
|
+
readonly id: string;
|
|
3112
|
+
/**
|
|
3113
|
+
* Display name
|
|
3114
|
+
* @description Human-readable name for the resource. Between 1 and 256 characters.
|
|
3115
|
+
*/
|
|
3116
|
+
name: string;
|
|
3117
|
+
/**
|
|
3118
|
+
* Description
|
|
3119
|
+
* @description Optional description of the resource. Maximum 1024 characters.
|
|
3120
|
+
*/
|
|
3121
|
+
description?: string;
|
|
3122
|
+
/**
|
|
3123
|
+
* Metadata
|
|
3124
|
+
* @description Additional metadata for the resource.
|
|
3125
|
+
*/
|
|
3126
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
3127
|
+
/**
|
|
3128
|
+
* Creation Time
|
|
3129
|
+
* Format: date-time
|
|
3130
|
+
* @description Timestamp of when the resource was created.
|
|
3131
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
3132
|
+
*/
|
|
3133
|
+
readonly createdAt: Date;
|
|
3134
|
+
/**
|
|
3135
|
+
* Last Update Time
|
|
3136
|
+
* Format: date-time
|
|
3137
|
+
* @description Timestamp of when the resource was last updated.
|
|
3138
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
3139
|
+
*/
|
|
3140
|
+
readonly updatedAt: Date;
|
|
3141
|
+
/**
|
|
3142
|
+
* Deletion Time
|
|
3143
|
+
* Format: date-time
|
|
3144
|
+
* @description Timestamp of when the resource was permanently deleted.
|
|
3145
|
+
* @example 2024-01-01T01:01:01.001Z
|
|
3146
|
+
*/
|
|
3147
|
+
readonly deletedAt?: Date;
|
|
3148
|
+
/** @description The marketplace listing that this installed app is based on. */
|
|
3149
|
+
readonly listing: components['schemas']['MarketplaceListing'];
|
|
3150
|
+
/** @description Status of the app connection. */
|
|
3151
|
+
readonly status: components['schemas']['AppStatus'];
|
|
3152
|
+
/** @description Default for the app type
|
|
3153
|
+
* Only one app of each type can be default. */
|
|
3154
|
+
default: boolean;
|
|
3155
|
+
/**
|
|
3156
|
+
* @description The app's type is CustomInvoicing. (enum property replaced by openapi-typescript)
|
|
3157
|
+
* @enum {string}
|
|
3158
|
+
*/
|
|
3159
|
+
type: 'custom_invoicing';
|
|
3160
|
+
/** @description Skip draft.sync hook.
|
|
3161
|
+
*
|
|
3162
|
+
* The hook will auto progress to the next state of the invoice. */
|
|
3163
|
+
skipDraftSyncHook: boolean;
|
|
3164
|
+
/** @description Skip issuing.sync hook.
|
|
3165
|
+
*
|
|
3166
|
+
* The hook will auto progress to the next state of the invoice. */
|
|
3167
|
+
skipIssuingSyncHook: boolean;
|
|
3168
|
+
};
|
|
3169
|
+
/** @description Resource update operation model. */
|
|
3170
|
+
CustomInvoicingAppReplaceUpdate: {
|
|
3171
|
+
/**
|
|
3172
|
+
* Display name
|
|
3173
|
+
* @description Human-readable name for the resource. Between 1 and 256 characters.
|
|
3174
|
+
*/
|
|
3175
|
+
name: string;
|
|
3176
|
+
/**
|
|
3177
|
+
* Description
|
|
3178
|
+
* @description Optional description of the resource. Maximum 1024 characters.
|
|
3179
|
+
*/
|
|
3180
|
+
description?: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* Metadata
|
|
3183
|
+
* @description Additional metadata for the resource.
|
|
3184
|
+
*/
|
|
3185
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
3186
|
+
/** @description Default for the app type
|
|
3187
|
+
* Only one app of each type can be default. */
|
|
3188
|
+
default: boolean;
|
|
3189
|
+
/**
|
|
3190
|
+
* @description The app's type is CustomInvoicing. (enum property replaced by openapi-typescript)
|
|
3191
|
+
* @enum {string}
|
|
3192
|
+
*/
|
|
3193
|
+
type: 'custom_invoicing';
|
|
3194
|
+
/** @description Skip draft.sync hook.
|
|
3195
|
+
*
|
|
3196
|
+
* The hook will auto progress to the next state of the invoice. */
|
|
3197
|
+
skipDraftSyncHook: boolean;
|
|
3198
|
+
/** @description Skip issuing.sync hook.
|
|
3199
|
+
*
|
|
3200
|
+
* The hook will auto progress to the next state of the invoice. */
|
|
3201
|
+
skipIssuingSyncHook: boolean;
|
|
3202
|
+
};
|
|
3203
|
+
/** @description Custom Invoicing Customer App Data. */
|
|
3204
|
+
CustomInvoicingCustomerAppData: {
|
|
3205
|
+
/** @description The installed custom invoicing app this data belongs to. */
|
|
3206
|
+
readonly app?: components['schemas']['CustomInvoicingApp'];
|
|
3207
|
+
/**
|
|
3208
|
+
* App ID
|
|
3209
|
+
* @description The app ID.
|
|
3210
|
+
* If not provided, it will use the global default for the app type.
|
|
3211
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
3212
|
+
*/
|
|
3213
|
+
id?: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* @description The app name. (enum property replaced by openapi-typescript)
|
|
3216
|
+
* @enum {string}
|
|
3217
|
+
*/
|
|
3218
|
+
type: 'custom_invoicing';
|
|
3219
|
+
/** @description Metadata to be used by the custom invoicing provider. */
|
|
3220
|
+
metadata?: components['schemas']['Metadata'];
|
|
3221
|
+
};
|
|
3222
|
+
/** @description Custom invoicing tax config. */
|
|
3223
|
+
CustomInvoicingTaxConfig: {
|
|
3224
|
+
/**
|
|
3225
|
+
* Tax code
|
|
3226
|
+
* @description Tax code.
|
|
3227
|
+
*
|
|
3228
|
+
* The tax code should be interpreted by the custom invoicing provider.
|
|
3229
|
+
*/
|
|
3230
|
+
code: string;
|
|
3231
|
+
};
|
|
3119
3232
|
/** @description Plan input for custom subscription creation (without key and version). */
|
|
3120
3233
|
CustomPlanInput: {
|
|
3121
3234
|
/**
|
|
@@ -3283,8 +3396,12 @@ export interface components {
|
|
|
3283
3396
|
};
|
|
3284
3397
|
/** @description CustomerAppData
|
|
3285
3398
|
* Stores the app specific data for the customer.
|
|
3286
|
-
* One of: stripe, sandbox */
|
|
3287
|
-
CustomerAppData: components['schemas']['StripeCustomerAppData'] | components['schemas']['SandboxCustomerAppData'];
|
|
3399
|
+
* One of: stripe, sandbox, custom_invoicing */
|
|
3400
|
+
CustomerAppData: components['schemas']['StripeCustomerAppData'] | components['schemas']['SandboxCustomerAppData'] | components['schemas']['CustomInvoicingCustomerAppData'];
|
|
3401
|
+
/** @description CustomerAppData
|
|
3402
|
+
* Stores the app specific data for the customer.
|
|
3403
|
+
* One of: stripe, sandbox, custom_invoicing */
|
|
3404
|
+
CustomerAppDataCreateOrUpdateItem: components['schemas']['StripeCustomerAppDataCreateOrUpdateItem'] | components['schemas']['SandboxCustomerAppData'] | components['schemas']['CustomInvoicingCustomerAppData'];
|
|
3288
3405
|
/** @description Paginated response */
|
|
3289
3406
|
CustomerAppDataPaginatedResponse: {
|
|
3290
3407
|
/**
|
|
@@ -7866,6 +7983,32 @@ export interface components {
|
|
|
7866
7983
|
*/
|
|
7867
7984
|
type: 'sandbox';
|
|
7868
7985
|
};
|
|
7986
|
+
/** @description Resource update operation model. */
|
|
7987
|
+
SandboxAppReplaceUpdate: {
|
|
7988
|
+
/**
|
|
7989
|
+
* Display name
|
|
7990
|
+
* @description Human-readable name for the resource. Between 1 and 256 characters.
|
|
7991
|
+
*/
|
|
7992
|
+
name: string;
|
|
7993
|
+
/**
|
|
7994
|
+
* Description
|
|
7995
|
+
* @description Optional description of the resource. Maximum 1024 characters.
|
|
7996
|
+
*/
|
|
7997
|
+
description?: string;
|
|
7998
|
+
/**
|
|
7999
|
+
* Metadata
|
|
8000
|
+
* @description Additional metadata for the resource.
|
|
8001
|
+
*/
|
|
8002
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8003
|
+
/** @description Default for the app type
|
|
8004
|
+
* Only one app of each type can be default. */
|
|
8005
|
+
default: boolean;
|
|
8006
|
+
/**
|
|
8007
|
+
* @description The app's type is Sandbox. (enum property replaced by openapi-typescript)
|
|
8008
|
+
* @enum {string}
|
|
8009
|
+
*/
|
|
8010
|
+
type: 'sandbox';
|
|
8011
|
+
};
|
|
7869
8012
|
/** @description Sandbox Customer App Data. */
|
|
7870
8013
|
SandboxCustomerAppData: {
|
|
7871
8014
|
/** @description The installed sandbox app this data belongs to. */
|
|
@@ -7995,12 +8138,43 @@ export interface components {
|
|
|
7995
8138
|
*/
|
|
7996
8139
|
type: 'stripe';
|
|
7997
8140
|
/** @description The Stripe account ID. */
|
|
7998
|
-
stripeAccountId: string;
|
|
8141
|
+
readonly stripeAccountId: string;
|
|
7999
8142
|
/** @description Livemode, true if the app is in production mode. */
|
|
8000
|
-
livemode: boolean;
|
|
8143
|
+
readonly livemode: boolean;
|
|
8001
8144
|
/** @description The masked API key.
|
|
8002
8145
|
* Only shows the first 8 and last 3 characters. */
|
|
8003
|
-
maskedAPIKey: string;
|
|
8146
|
+
readonly maskedAPIKey: string;
|
|
8147
|
+
};
|
|
8148
|
+
/** @description Resource update operation model. */
|
|
8149
|
+
StripeAppReplaceUpdate: {
|
|
8150
|
+
/**
|
|
8151
|
+
* Display name
|
|
8152
|
+
* @description Human-readable name for the resource. Between 1 and 256 characters.
|
|
8153
|
+
*/
|
|
8154
|
+
name: string;
|
|
8155
|
+
/**
|
|
8156
|
+
* Description
|
|
8157
|
+
* @description Optional description of the resource. Maximum 1024 characters.
|
|
8158
|
+
*/
|
|
8159
|
+
description?: string;
|
|
8160
|
+
/**
|
|
8161
|
+
* Metadata
|
|
8162
|
+
* @description Additional metadata for the resource.
|
|
8163
|
+
*/
|
|
8164
|
+
metadata?: components['schemas']['Metadata'] | null;
|
|
8165
|
+
/** @description Default for the app type
|
|
8166
|
+
* Only one app of each type can be default. */
|
|
8167
|
+
default: boolean;
|
|
8168
|
+
/**
|
|
8169
|
+
* @description The app's type is Stripe. (enum property replaced by openapi-typescript)
|
|
8170
|
+
* @enum {string}
|
|
8171
|
+
*/
|
|
8172
|
+
type: 'stripe';
|
|
8173
|
+
/**
|
|
8174
|
+
* Format: password
|
|
8175
|
+
* @description The Stripe API key.
|
|
8176
|
+
*/
|
|
8177
|
+
secretAPIKey?: string;
|
|
8004
8178
|
};
|
|
8005
8179
|
/**
|
|
8006
8180
|
* @description Stripe CheckoutSession.mode
|
|
@@ -8034,6 +8208,31 @@ export interface components {
|
|
|
8034
8208
|
/** @description The Stripe default payment method ID. */
|
|
8035
8209
|
stripeDefaultPaymentMethodId?: string;
|
|
8036
8210
|
};
|
|
8211
|
+
/**
|
|
8212
|
+
* @description Stripe Customer App Data.
|
|
8213
|
+
* @example {
|
|
8214
|
+
* "type": "stripe",
|
|
8215
|
+
* "stripeCustomerId": "cus_xxxxxxxxxxxxxx"
|
|
8216
|
+
* }
|
|
8217
|
+
*/
|
|
8218
|
+
StripeCustomerAppDataCreateOrUpdateItem: {
|
|
8219
|
+
/**
|
|
8220
|
+
* App ID
|
|
8221
|
+
* @description The app ID.
|
|
8222
|
+
* If not provided, it will use the global default for the app type.
|
|
8223
|
+
* @example 01G65Z755AFWAKHE12NY0CQ9FH
|
|
8224
|
+
*/
|
|
8225
|
+
id?: string;
|
|
8226
|
+
/**
|
|
8227
|
+
* @description The app name. (enum property replaced by openapi-typescript)
|
|
8228
|
+
* @enum {string}
|
|
8229
|
+
*/
|
|
8230
|
+
type: 'stripe';
|
|
8231
|
+
/** @description The Stripe customer ID. */
|
|
8232
|
+
stripeCustomerId: string;
|
|
8233
|
+
/** @description The Stripe default payment method ID. */
|
|
8234
|
+
stripeDefaultPaymentMethodId?: string;
|
|
8235
|
+
};
|
|
8037
8236
|
/** @description The tax config for Stripe. */
|
|
8038
8237
|
StripeTaxConfig: {
|
|
8039
8238
|
/**
|
|
@@ -8903,6 +9102,11 @@ export interface components {
|
|
|
8903
9102
|
* @description Stripe tax config.
|
|
8904
9103
|
*/
|
|
8905
9104
|
stripe?: components['schemas']['StripeTaxConfig'];
|
|
9105
|
+
/**
|
|
9106
|
+
* Custom invoicing tax config
|
|
9107
|
+
* @description Custom invoicing tax config.
|
|
9108
|
+
*/
|
|
9109
|
+
customInvoicing?: components['schemas']['CustomInvoicingTaxConfig'];
|
|
8906
9110
|
};
|
|
8907
9111
|
/**
|
|
8908
9112
|
* @description The mode of the tiered price.
|
|
@@ -9368,11 +9572,11 @@ export type Address = components['schemas']['Address'];
|
|
|
9368
9572
|
export type Alignment = components['schemas']['Alignment'];
|
|
9369
9573
|
export type Annotations = components['schemas']['Annotations'];
|
|
9370
9574
|
export type App = components['schemas']['App'];
|
|
9371
|
-
export type AppBaseReplaceUpdate = components['schemas']['AppBaseReplaceUpdate'];
|
|
9372
9575
|
export type AppCapability = components['schemas']['AppCapability'];
|
|
9373
9576
|
export type AppCapabilityType = components['schemas']['AppCapabilityType'];
|
|
9374
9577
|
export type AppPaginatedResponse = components['schemas']['AppPaginatedResponse'];
|
|
9375
9578
|
export type AppReference = components['schemas']['AppReference'];
|
|
9579
|
+
export type AppReplaceUpdate = components['schemas']['AppReplaceUpdate'];
|
|
9376
9580
|
export type AppStatus = components['schemas']['AppStatus'];
|
|
9377
9581
|
export type AppType = components['schemas']['AppType'];
|
|
9378
9582
|
export type BadRequestProblemResponse = components['schemas']['BadRequestProblemResponse'];
|
|
@@ -9432,12 +9636,17 @@ export type CreateStripeCheckoutSessionResult = components['schemas']['CreateStr
|
|
|
9432
9636
|
export type CreditNoteOriginalInvoiceRef = components['schemas']['CreditNoteOriginalInvoiceRef'];
|
|
9433
9637
|
export type Currency = components['schemas']['Currency'];
|
|
9434
9638
|
export type CurrencyCode = components['schemas']['CurrencyCode'];
|
|
9639
|
+
export type CustomInvoicingApp = components['schemas']['CustomInvoicingApp'];
|
|
9640
|
+
export type CustomInvoicingAppReplaceUpdate = components['schemas']['CustomInvoicingAppReplaceUpdate'];
|
|
9641
|
+
export type CustomInvoicingCustomerAppData = components['schemas']['CustomInvoicingCustomerAppData'];
|
|
9642
|
+
export type CustomInvoicingTaxConfig = components['schemas']['CustomInvoicingTaxConfig'];
|
|
9435
9643
|
export type CustomPlanInput = components['schemas']['CustomPlanInput'];
|
|
9436
9644
|
export type CustomSubscriptionChange = components['schemas']['CustomSubscriptionChange'];
|
|
9437
9645
|
export type CustomSubscriptionCreate = components['schemas']['CustomSubscriptionCreate'];
|
|
9438
9646
|
export type Customer = components['schemas']['Customer'];
|
|
9439
9647
|
export type CustomerAccess = components['schemas']['CustomerAccess'];
|
|
9440
9648
|
export type CustomerAppData = components['schemas']['CustomerAppData'];
|
|
9649
|
+
export type CustomerAppDataCreateOrUpdateItem = components['schemas']['CustomerAppDataCreateOrUpdateItem'];
|
|
9441
9650
|
export type CustomerAppDataPaginatedResponse = components['schemas']['CustomerAppDataPaginatedResponse'];
|
|
9442
9651
|
export type CustomerCreate = components['schemas']['CustomerCreate'];
|
|
9443
9652
|
export type CustomerExpand = components['schemas']['CustomerExpand'];
|
|
@@ -9637,13 +9846,16 @@ export type RecurringPeriodIntervalEnum = components['schemas']['RecurringPeriod
|
|
|
9637
9846
|
export type RemovePhaseShifting = components['schemas']['RemovePhaseShifting'];
|
|
9638
9847
|
export type ResetEntitlementUsageInput = components['schemas']['ResetEntitlementUsageInput'];
|
|
9639
9848
|
export type SandboxApp = components['schemas']['SandboxApp'];
|
|
9849
|
+
export type SandboxAppReplaceUpdate = components['schemas']['SandboxAppReplaceUpdate'];
|
|
9640
9850
|
export type SandboxCustomerAppData = components['schemas']['SandboxCustomerAppData'];
|
|
9641
9851
|
export type ServiceUnavailableProblemResponse = components['schemas']['ServiceUnavailableProblemResponse'];
|
|
9642
9852
|
export type SortOrder = components['schemas']['SortOrder'];
|
|
9643
9853
|
export type StripeApiKeyInput = components['schemas']['StripeAPIKeyInput'];
|
|
9644
9854
|
export type StripeApp = components['schemas']['StripeApp'];
|
|
9855
|
+
export type StripeAppReplaceUpdate = components['schemas']['StripeAppReplaceUpdate'];
|
|
9645
9856
|
export type StripeCheckoutSessionMode = components['schemas']['StripeCheckoutSessionMode'];
|
|
9646
9857
|
export type StripeCustomerAppData = components['schemas']['StripeCustomerAppData'];
|
|
9858
|
+
export type StripeCustomerAppDataCreateOrUpdateItem = components['schemas']['StripeCustomerAppDataCreateOrUpdateItem'];
|
|
9647
9859
|
export type StripeTaxConfig = components['schemas']['StripeTaxConfig'];
|
|
9648
9860
|
export type StripeWebhookEvent = components['schemas']['StripeWebhookEvent'];
|
|
9649
9861
|
export type StripeWebhookResponse = components['schemas']['StripeWebhookResponse'];
|
|
@@ -10646,7 +10858,7 @@ export interface operations {
|
|
|
10646
10858
|
};
|
|
10647
10859
|
requestBody: {
|
|
10648
10860
|
content: {
|
|
10649
|
-
'application/json': components['schemas']['
|
|
10861
|
+
'application/json': components['schemas']['AppReplaceUpdate'];
|
|
10650
10862
|
};
|
|
10651
10863
|
};
|
|
10652
10864
|
responses: {
|
|
@@ -13713,7 +13925,7 @@ export interface operations {
|
|
|
13713
13925
|
};
|
|
13714
13926
|
requestBody: {
|
|
13715
13927
|
content: {
|
|
13716
|
-
'application/json': components['schemas']['
|
|
13928
|
+
'application/json': components['schemas']['CustomerAppDataCreateOrUpdateItem'][];
|
|
13717
13929
|
};
|
|
13718
13930
|
};
|
|
13719
13931
|
responses: {
|