@connectedxm/admin-sdk 10.5.0 → 10.7.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/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 10.5.0
5
+ * The version of the OpenAPI document: 10.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 10.5.0
8
+ * The version of the OpenAPI document: 10.7.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 10.5.0
5
+ * The version of the OpenAPI document: 10.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 10.5.0
8
+ * The version of the OpenAPI document: 10.7.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 10.5.0
5
+ * The version of the OpenAPI document: 10.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 10.5.0
7
+ * The version of the OpenAPI document: 10.7.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 10.5.0
5
+ * The version of the OpenAPI document: 10.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1931,6 +1931,79 @@ export interface BasePaymentIntegration {
1931
1931
  'type': PaymentIntegrationType;
1932
1932
  'name': string;
1933
1933
  }
1934
+ export interface BasePaymentIntent {
1935
+ 'id': string;
1936
+ 'source': PaymentIntentSource;
1937
+ 'integrationId': number;
1938
+ 'accountId': string;
1939
+ 'description': string;
1940
+ 'referenceId': string;
1941
+ 'currency': string;
1942
+ 'metadata': object;
1943
+ 'eventId': string | null;
1944
+ 'registrationId': string | null;
1945
+ 'sessionId': string | null;
1946
+ 'passId': string | null;
1947
+ 'passTypeId': string | null;
1948
+ 'placeId': string | null;
1949
+ 'spaceId': string | null;
1950
+ 'couponId': string | null;
1951
+ 'invoiceId': string | null;
1952
+ 'seriesId': string | null;
1953
+ 'address1': string | null;
1954
+ 'address2': string | null;
1955
+ 'city': string | null;
1956
+ 'state': string | null;
1957
+ 'country': string | null;
1958
+ 'zip': string | null;
1959
+ 'locationAddress1': string | null;
1960
+ 'locationAddress2': string | null;
1961
+ 'locationCity': string | null;
1962
+ 'locationState': string | null;
1963
+ 'locationCountry': string | null;
1964
+ 'locationZip': string | null;
1965
+ 'salesTax': number;
1966
+ 'salesTaxRate': string | null;
1967
+ 'deferredAmount': number | null;
1968
+ 'deferredDueDate': string | null;
1969
+ 'createdAt': string;
1970
+ 'lineItems': Array<BasePaymentIntentLineItem>;
1971
+ 'coupon': BaseCoupon | null;
1972
+ 'integration': BasePaymentIntentIntegration | null;
1973
+ 'taxIntegration': BasePaymentIntentTaxIntegration | null;
1974
+ }
1975
+ export interface BasePaymentIntentIntegration {
1976
+ 'type': PaymentIntegrationType;
1977
+ 'connectionId': string | null;
1978
+ }
1979
+ export interface BasePaymentIntentLineItem {
1980
+ 'id': string;
1981
+ 'type': PaymentLineItemType;
1982
+ 'parent': string | null;
1983
+ 'name': string;
1984
+ 'quantity': number;
1985
+ 'amount': number;
1986
+ 'discount': number;
1987
+ 'deferred': number;
1988
+ 'salesTax': number;
1989
+ 'taxCode': string | null;
1990
+ 'taxIncluded': boolean;
1991
+ 'taxLocation': TaxLocationType;
1992
+ 'passId': string | null;
1993
+ 'packageId': string | null;
1994
+ 'passAddOnId': string | null;
1995
+ 'reservationId': string | null;
1996
+ 'accessId': string | null;
1997
+ 'invoiceId': string | null;
1998
+ 'bookingId': string | null;
1999
+ 'couponId': string | null;
2000
+ 'seriesRegistrationId': string | null;
2001
+ 'createdAt': string;
2002
+ }
2003
+ export interface BasePaymentIntentTaxIntegration {
2004
+ 'type': string;
2005
+ 'connectionId': string | null;
2006
+ }
1934
2007
  export interface BasePaymentLineItem {
1935
2008
  'id': string;
1936
2009
  'type': PaymentLineItemType;
@@ -6391,6 +6464,15 @@ export interface GetAccountNotificationPreferences200Response {
6391
6464
  export declare enum GetAccountNotificationPreferences200ResponseStatusEnum {
6392
6465
  Ok = "ok"
6393
6466
  }
6467
+ export interface GetAccountPaymentIntents200Response {
6468
+ 'status': GetAccountPaymentIntents200ResponseStatusEnum;
6469
+ 'message': string;
6470
+ 'data': Array<PaymentIntent>;
6471
+ 'count'?: number;
6472
+ }
6473
+ export declare enum GetAccountPaymentIntents200ResponseStatusEnum {
6474
+ Ok = "ok"
6475
+ }
6394
6476
  export interface GetAccountPayments200Response {
6395
6477
  'status': GetAccountPayments200ResponseStatusEnum;
6396
6478
  'message': string;
@@ -8440,6 +8522,14 @@ export interface GetPayment200Response {
8440
8522
  export declare enum GetPayment200ResponseStatusEnum {
8441
8523
  Ok = "ok"
8442
8524
  }
8525
+ export interface GetPaymentIntent200Response {
8526
+ 'status': GetPaymentIntent200ResponseStatusEnum;
8527
+ 'message': string;
8528
+ 'data': PaymentIntent;
8529
+ }
8530
+ export declare enum GetPaymentIntent200ResponseStatusEnum {
8531
+ Ok = "ok"
8532
+ }
8443
8533
  export interface GetPaymentTaxMetadata200Response {
8444
8534
  'status': GetPaymentTaxMetadata200ResponseStatusEnum;
8445
8535
  'message': string;
@@ -10040,6 +10130,8 @@ export interface Organization {
10040
10130
  'zip': string | null;
10041
10131
  'primaryColor': string | null;
10042
10132
  'secondaryColor': string | null;
10133
+ 'darkPrimaryColor': string | null;
10134
+ 'darkSecondaryColor': string | null;
10043
10135
  'clientTheme': string | null;
10044
10136
  'facebook': string | null;
10045
10137
  'twitter': string | null;
@@ -10380,6 +10472,8 @@ export interface OrganizationUpdateInputs {
10380
10472
  'zip'?: string | null;
10381
10473
  'primaryColor'?: string | null;
10382
10474
  'secondaryColor'?: string | null;
10475
+ 'darkPrimaryColor'?: string | null;
10476
+ 'darkSecondaryColor'?: string | null;
10383
10477
  'clientTheme'?: string | null;
10384
10478
  'appName'?: string | null;
10385
10479
  'logoId'?: string | null;
@@ -10652,6 +10746,67 @@ export declare enum PaymentIntegrationType {
10652
10746
  Authorizenet = "authorizenet",
10653
10747
  Manual = "manual"
10654
10748
  }
10749
+ export interface PaymentIntent {
10750
+ 'id': string;
10751
+ 'source': PaymentIntentSource;
10752
+ 'integrationId': number;
10753
+ 'accountId': string;
10754
+ 'description': string;
10755
+ 'referenceId': string;
10756
+ 'currency': string;
10757
+ 'metadata': object;
10758
+ 'eventId': string | null;
10759
+ 'registrationId': string | null;
10760
+ 'sessionId': string | null;
10761
+ 'passId': string | null;
10762
+ 'passTypeId': string | null;
10763
+ 'placeId': string | null;
10764
+ 'spaceId': string | null;
10765
+ 'couponId': string | null;
10766
+ 'invoiceId': string | null;
10767
+ 'seriesId': string | null;
10768
+ 'address1': string | null;
10769
+ 'address2': string | null;
10770
+ 'city': string | null;
10771
+ 'state': string | null;
10772
+ 'country': string | null;
10773
+ 'zip': string | null;
10774
+ 'locationAddress1': string | null;
10775
+ 'locationAddress2': string | null;
10776
+ 'locationCity': string | null;
10777
+ 'locationState': string | null;
10778
+ 'locationCountry': string | null;
10779
+ 'locationZip': string | null;
10780
+ 'salesTax': number;
10781
+ 'salesTaxRate': string | null;
10782
+ 'deferredAmount': number | null;
10783
+ 'deferredDueDate': string | null;
10784
+ 'createdAt': string;
10785
+ 'lineItems': Array<BasePaymentIntentLineItem>;
10786
+ 'coupon': BaseCoupon | null;
10787
+ 'integration': BasePaymentIntentIntegration | null;
10788
+ 'taxIntegration': BasePaymentIntentTaxIntegration | null;
10789
+ 'account': BaseAccount | null;
10790
+ 'event': BaseEvent | null;
10791
+ 'session': BaseEventSession | null;
10792
+ 'registration': BaseEventRegistration | null;
10793
+ 'pass': BaseEventPass | null;
10794
+ 'passType': BaseEventPassType | null;
10795
+ 'place': BaseBookingPlace | null;
10796
+ 'space': BaseBookingSpace | null;
10797
+ 'invoice': BaseInvoice | null;
10798
+ 'series': BaseSeries | null;
10799
+ }
10800
+ export declare enum PaymentIntentSource {
10801
+ Registration = "registration",
10802
+ Invoice = "invoice",
10803
+ Pass = "pass",
10804
+ Coupon = "coupon",
10805
+ Session = "session",
10806
+ Booking = "booking",
10807
+ Series = "series",
10808
+ Exchange = "exchange"
10809
+ }
10655
10810
  export interface PaymentLineItem {
10656
10811
  'id': string;
10657
10812
  'type': PaymentLineItemType;
@@ -13180,6 +13335,18 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
13180
13335
  * @throws {RequiredError}
13181
13336
  */
13182
13337
  getAccountNotificationPreferences: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13338
+ /**
13339
+ * Returns a paginated list of unpaid checkout payment intents for the given account; requires the `read accounts` and `read payments` permissions.
13340
+ * @summary List an account\'s payment intents
13341
+ * @param {string} accountId The account identifier
13342
+ * @param {number} [page] Page number
13343
+ * @param {number} [pageSize] Number of items per page
13344
+ * @param {string} [orderBy] Field to order by
13345
+ * @param {string} [search] Search query
13346
+ * @param {*} [options] Override http request option.
13347
+ * @throws {RequiredError}
13348
+ */
13349
+ getAccountPaymentIntents: (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13183
13350
  /**
13184
13351
  * Returns a paginated list of payments made by the given account, searchable by payment ID, account email, or account name; requires the `read accounts` and `read payments` permissions.
13185
13352
  * @summary List an account\'s payments
@@ -13393,6 +13560,18 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
13393
13560
  * @throws {RequiredError}
13394
13561
  */
13395
13562
  getAccountNotificationPreferences(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountNotificationPreferences200Response>>;
13563
+ /**
13564
+ * Returns a paginated list of unpaid checkout payment intents for the given account; requires the `read accounts` and `read payments` permissions.
13565
+ * @summary List an account\'s payment intents
13566
+ * @param {string} accountId The account identifier
13567
+ * @param {number} [page] Page number
13568
+ * @param {number} [pageSize] Number of items per page
13569
+ * @param {string} [orderBy] Field to order by
13570
+ * @param {string} [search] Search query
13571
+ * @param {*} [options] Override http request option.
13572
+ * @throws {RequiredError}
13573
+ */
13574
+ getAccountPaymentIntents(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountPaymentIntents200Response>>;
13396
13575
  /**
13397
13576
  * Returns a paginated list of payments made by the given account, searchable by payment ID, account email, or account name; requires the `read accounts` and `read payments` permissions.
13398
13577
  * @summary List an account\'s payments
@@ -13579,6 +13758,14 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
13579
13758
  * @throws {RequiredError}
13580
13759
  */
13581
13760
  getAccountNotificationPreferences(requestParameters: AccountsApiGetAccountNotificationPreferencesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountNotificationPreferences200Response>;
13761
+ /**
13762
+ * Returns a paginated list of unpaid checkout payment intents for the given account; requires the `read accounts` and `read payments` permissions.
13763
+ * @summary List an account\'s payment intents
13764
+ * @param {AccountsApiGetAccountPaymentIntentsRequest} requestParameters Request parameters.
13765
+ * @param {*} [options] Override http request option.
13766
+ * @throws {RequiredError}
13767
+ */
13768
+ getAccountPaymentIntents(requestParameters: AccountsApiGetAccountPaymentIntentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPaymentIntents200Response>;
13582
13769
  /**
13583
13770
  * Returns a paginated list of payments made by the given account, searchable by payment ID, account email, or account name; requires the `read accounts` and `read payments` permissions.
13584
13771
  * @summary List an account\'s payments
@@ -13855,6 +14042,31 @@ export interface AccountsApiGetAccountNotificationPreferencesRequest {
13855
14042
  */
13856
14043
  readonly accountId: string;
13857
14044
  }
14045
+ /**
14046
+ * Request parameters for getAccountPaymentIntents operation in AccountsApi.
14047
+ */
14048
+ export interface AccountsApiGetAccountPaymentIntentsRequest {
14049
+ /**
14050
+ * The account identifier
14051
+ */
14052
+ readonly accountId: string;
14053
+ /**
14054
+ * Page number
14055
+ */
14056
+ readonly page?: number;
14057
+ /**
14058
+ * Number of items per page
14059
+ */
14060
+ readonly pageSize?: number;
14061
+ /**
14062
+ * Field to order by
14063
+ */
14064
+ readonly orderBy?: string;
14065
+ /**
14066
+ * Search query
14067
+ */
14068
+ readonly search?: string;
14069
+ }
13858
14070
  /**
13859
14071
  * Request parameters for getAccountPayments operation in AccountsApi.
13860
14072
  */
@@ -14104,6 +14316,14 @@ export declare class AccountsApi extends BaseAPI {
14104
14316
  * @throws {RequiredError}
14105
14317
  */
14106
14318
  getAccountNotificationPreferences(requestParameters: AccountsApiGetAccountNotificationPreferencesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountNotificationPreferences200Response, any, {}>>;
14319
+ /**
14320
+ * Returns a paginated list of unpaid checkout payment intents for the given account; requires the `read accounts` and `read payments` permissions.
14321
+ * @summary List an account\'s payment intents
14322
+ * @param {AccountsApiGetAccountPaymentIntentsRequest} requestParameters Request parameters.
14323
+ * @param {*} [options] Override http request option.
14324
+ * @throws {RequiredError}
14325
+ */
14326
+ getAccountPaymentIntents(requestParameters: AccountsApiGetAccountPaymentIntentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountPaymentIntents200Response, any, {}>>;
14107
14327
  /**
14108
14328
  * Returns a paginated list of payments made by the given account, searchable by payment ID, account email, or account name; requires the `read accounts` and `read payments` permissions.
14109
14329
  * @summary List an account\'s payments
@@ -67672,6 +67892,14 @@ export declare const OrganizationPaymentsApiAxiosParamCreator: (configuration?:
67672
67892
  * @throws {RequiredError}
67673
67893
  */
67674
67894
  deleteOrganizationPaymentIntegration: (integrationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67895
+ /**
67896
+ * Permanently removes an unpaid checkout payment intent identified by intentId. For Stripe, cancels an uncaptured PaymentIntent first and refuses if funds were already captured; requires update permission on the payments resource.
67897
+ * @summary Delete a payment intent
67898
+ * @param {string} intentId The intent identifier
67899
+ * @param {*} [options] Override http request option.
67900
+ * @throws {RequiredError}
67901
+ */
67902
+ deletePaymentIntent: (intentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67675
67903
  /**
67676
67904
  * Returns the details of a single payment integration (e.g. Stripe, Braintree, Authorize.Net, or manual) configured for the organization, identified by integration ID; requires \"read\" permission on \"org\".
67677
67905
  * @summary Get an organization payment integration
@@ -67699,6 +67927,25 @@ export declare const OrganizationPaymentsApiAxiosParamCreator: (configuration?:
67699
67927
  * @throws {RequiredError}
67700
67928
  */
67701
67929
  getPayment: (paymentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67930
+ /**
67931
+ * Returns a single unpaid checkout payment intent identified by intent ID; requires \"read\" permission on \"payments\".
67932
+ * @summary Get a payment intent
67933
+ * @param {string} intentId The intent identifier
67934
+ * @param {*} [options] Override http request option.
67935
+ * @throws {RequiredError}
67936
+ */
67937
+ getPaymentIntent: (intentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67938
+ /**
67939
+ * Returns a paginated list of unpaid checkout payment intents for the organization, searchable by id, source, description, or account; requires \"read\" permission on \"payments\".
67940
+ * @summary List an organization\'s payment intents
67941
+ * @param {number} [page] Page number
67942
+ * @param {number} [pageSize] Number of items per page
67943
+ * @param {string} [orderBy] Field to order by
67944
+ * @param {string} [search] Search query
67945
+ * @param {*} [options] Override http request option.
67946
+ * @throws {RequiredError}
67947
+ */
67948
+ getPaymentIntents: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67702
67949
  /**
67703
67950
  * Returns tax metadata recorded for a specific payment by fetching it from the tax integration (e.g. Taxjar, Avalara) linked to that payment, or a message if the payment has no associated tax integration; requires \"read\" permission on \"payments\".
67704
67951
  * @summary Get a payment\'s tax metadata
@@ -67774,6 +68021,14 @@ export declare const OrganizationPaymentsApiFp: (configuration?: Configuration)
67774
68021
  * @throws {RequiredError}
67775
68022
  */
67776
68023
  deleteOrganizationPaymentIntegration(integrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
68024
+ /**
68025
+ * Permanently removes an unpaid checkout payment intent identified by intentId. For Stripe, cancels an uncaptured PaymentIntent first and refuses if funds were already captured; requires update permission on the payments resource.
68026
+ * @summary Delete a payment intent
68027
+ * @param {string} intentId The intent identifier
68028
+ * @param {*} [options] Override http request option.
68029
+ * @throws {RequiredError}
68030
+ */
68031
+ deletePaymentIntent(intentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
67777
68032
  /**
67778
68033
  * Returns the details of a single payment integration (e.g. Stripe, Braintree, Authorize.Net, or manual) configured for the organization, identified by integration ID; requires \"read\" permission on \"org\".
67779
68034
  * @summary Get an organization payment integration
@@ -67801,6 +68056,25 @@ export declare const OrganizationPaymentsApiFp: (configuration?: Configuration)
67801
68056
  * @throws {RequiredError}
67802
68057
  */
67803
68058
  getPayment(paymentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPayment200Response>>;
68059
+ /**
68060
+ * Returns a single unpaid checkout payment intent identified by intent ID; requires \"read\" permission on \"payments\".
68061
+ * @summary Get a payment intent
68062
+ * @param {string} intentId The intent identifier
68063
+ * @param {*} [options] Override http request option.
68064
+ * @throws {RequiredError}
68065
+ */
68066
+ getPaymentIntent(intentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentIntent200Response>>;
68067
+ /**
68068
+ * Returns a paginated list of unpaid checkout payment intents for the organization, searchable by id, source, description, or account; requires \"read\" permission on \"payments\".
68069
+ * @summary List an organization\'s payment intents
68070
+ * @param {number} [page] Page number
68071
+ * @param {number} [pageSize] Number of items per page
68072
+ * @param {string} [orderBy] Field to order by
68073
+ * @param {string} [search] Search query
68074
+ * @param {*} [options] Override http request option.
68075
+ * @throws {RequiredError}
68076
+ */
68077
+ getPaymentIntents(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountPaymentIntents200Response>>;
67804
68078
  /**
67805
68079
  * Returns tax metadata recorded for a specific payment by fetching it from the tax integration (e.g. Taxjar, Avalara) linked to that payment, or a message if the payment has no associated tax integration; requires \"read\" permission on \"payments\".
67806
68080
  * @summary Get a payment\'s tax metadata
@@ -67876,6 +68150,14 @@ export declare const OrganizationPaymentsApiFactory: (configuration?: Configurat
67876
68150
  * @throws {RequiredError}
67877
68151
  */
67878
68152
  deleteOrganizationPaymentIntegration(requestParameters: OrganizationPaymentsApiDeleteOrganizationPaymentIntegrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
68153
+ /**
68154
+ * Permanently removes an unpaid checkout payment intent identified by intentId. For Stripe, cancels an uncaptured PaymentIntent first and refuses if funds were already captured; requires update permission on the payments resource.
68155
+ * @summary Delete a payment intent
68156
+ * @param {OrganizationPaymentsApiDeletePaymentIntentRequest} requestParameters Request parameters.
68157
+ * @param {*} [options] Override http request option.
68158
+ * @throws {RequiredError}
68159
+ */
68160
+ deletePaymentIntent(requestParameters: OrganizationPaymentsApiDeletePaymentIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
67879
68161
  /**
67880
68162
  * Returns the details of a single payment integration (e.g. Stripe, Braintree, Authorize.Net, or manual) configured for the organization, identified by integration ID; requires \"read\" permission on \"org\".
67881
68163
  * @summary Get an organization payment integration
@@ -67900,6 +68182,22 @@ export declare const OrganizationPaymentsApiFactory: (configuration?: Configurat
67900
68182
  * @throws {RequiredError}
67901
68183
  */
67902
68184
  getPayment(requestParameters: OrganizationPaymentsApiGetPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPayment200Response>;
68185
+ /**
68186
+ * Returns a single unpaid checkout payment intent identified by intent ID; requires \"read\" permission on \"payments\".
68187
+ * @summary Get a payment intent
68188
+ * @param {OrganizationPaymentsApiGetPaymentIntentRequest} requestParameters Request parameters.
68189
+ * @param {*} [options] Override http request option.
68190
+ * @throws {RequiredError}
68191
+ */
68192
+ getPaymentIntent(requestParameters: OrganizationPaymentsApiGetPaymentIntentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentIntent200Response>;
68193
+ /**
68194
+ * Returns a paginated list of unpaid checkout payment intents for the organization, searchable by id, source, description, or account; requires \"read\" permission on \"payments\".
68195
+ * @summary List an organization\'s payment intents
68196
+ * @param {OrganizationPaymentsApiGetPaymentIntentsRequest} requestParameters Request parameters.
68197
+ * @param {*} [options] Override http request option.
68198
+ * @throws {RequiredError}
68199
+ */
68200
+ getPaymentIntents(requestParameters?: OrganizationPaymentsApiGetPaymentIntentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPaymentIntents200Response>;
67903
68201
  /**
67904
68202
  * Returns tax metadata recorded for a specific payment by fetching it from the tax integration (e.g. Taxjar, Avalara) linked to that payment, or a message if the payment has no associated tax integration; requires \"read\" permission on \"payments\".
67905
68203
  * @summary Get a payment\'s tax metadata
@@ -67964,6 +68262,15 @@ export interface OrganizationPaymentsApiDeleteOrganizationPaymentIntegrationRequ
67964
68262
  */
67965
68263
  readonly integrationId: string;
67966
68264
  }
68265
+ /**
68266
+ * Request parameters for deletePaymentIntent operation in OrganizationPaymentsApi.
68267
+ */
68268
+ export interface OrganizationPaymentsApiDeletePaymentIntentRequest {
68269
+ /**
68270
+ * The intent identifier
68271
+ */
68272
+ readonly intentId: string;
68273
+ }
67967
68274
  /**
67968
68275
  * Request parameters for getOrganizationPaymentIntegration operation in OrganizationPaymentsApi.
67969
68276
  */
@@ -68003,6 +68310,36 @@ export interface OrganizationPaymentsApiGetPaymentRequest {
68003
68310
  */
68004
68311
  readonly paymentId: string;
68005
68312
  }
68313
+ /**
68314
+ * Request parameters for getPaymentIntent operation in OrganizationPaymentsApi.
68315
+ */
68316
+ export interface OrganizationPaymentsApiGetPaymentIntentRequest {
68317
+ /**
68318
+ * The intent identifier
68319
+ */
68320
+ readonly intentId: string;
68321
+ }
68322
+ /**
68323
+ * Request parameters for getPaymentIntents operation in OrganizationPaymentsApi.
68324
+ */
68325
+ export interface OrganizationPaymentsApiGetPaymentIntentsRequest {
68326
+ /**
68327
+ * Page number
68328
+ */
68329
+ readonly page?: number;
68330
+ /**
68331
+ * Number of items per page
68332
+ */
68333
+ readonly pageSize?: number;
68334
+ /**
68335
+ * Field to order by
68336
+ */
68337
+ readonly orderBy?: string;
68338
+ /**
68339
+ * Search query
68340
+ */
68341
+ readonly search?: string;
68342
+ }
68006
68343
  /**
68007
68344
  * Request parameters for getPaymentTaxMetadata operation in OrganizationPaymentsApi.
68008
68345
  */
@@ -68095,6 +68432,14 @@ export declare class OrganizationPaymentsApi extends BaseAPI {
68095
68432
  * @throws {RequiredError}
68096
68433
  */
68097
68434
  deleteOrganizationPaymentIntegration(requestParameters: OrganizationPaymentsApiDeleteOrganizationPaymentIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
68435
+ /**
68436
+ * Permanently removes an unpaid checkout payment intent identified by intentId. For Stripe, cancels an uncaptured PaymentIntent first and refuses if funds were already captured; requires update permission on the payments resource.
68437
+ * @summary Delete a payment intent
68438
+ * @param {OrganizationPaymentsApiDeletePaymentIntentRequest} requestParameters Request parameters.
68439
+ * @param {*} [options] Override http request option.
68440
+ * @throws {RequiredError}
68441
+ */
68442
+ deletePaymentIntent(requestParameters: OrganizationPaymentsApiDeletePaymentIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
68098
68443
  /**
68099
68444
  * Returns the details of a single payment integration (e.g. Stripe, Braintree, Authorize.Net, or manual) configured for the organization, identified by integration ID; requires \"read\" permission on \"org\".
68100
68445
  * @summary Get an organization payment integration
@@ -68119,6 +68464,22 @@ export declare class OrganizationPaymentsApi extends BaseAPI {
68119
68464
  * @throws {RequiredError}
68120
68465
  */
68121
68466
  getPayment(requestParameters: OrganizationPaymentsApiGetPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPayment200Response, any, {}>>;
68467
+ /**
68468
+ * Returns a single unpaid checkout payment intent identified by intent ID; requires \"read\" permission on \"payments\".
68469
+ * @summary Get a payment intent
68470
+ * @param {OrganizationPaymentsApiGetPaymentIntentRequest} requestParameters Request parameters.
68471
+ * @param {*} [options] Override http request option.
68472
+ * @throws {RequiredError}
68473
+ */
68474
+ getPaymentIntent(requestParameters: OrganizationPaymentsApiGetPaymentIntentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentIntent200Response, any, {}>>;
68475
+ /**
68476
+ * Returns a paginated list of unpaid checkout payment intents for the organization, searchable by id, source, description, or account; requires \"read\" permission on \"payments\".
68477
+ * @summary List an organization\'s payment intents
68478
+ * @param {OrganizationPaymentsApiGetPaymentIntentsRequest} requestParameters Request parameters.
68479
+ * @param {*} [options] Override http request option.
68480
+ * @throws {RequiredError}
68481
+ */
68482
+ getPaymentIntents(requestParameters?: OrganizationPaymentsApiGetPaymentIntentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountPaymentIntents200Response, any, {}>>;
68122
68483
  /**
68123
68484
  * Returns tax metadata recorded for a specific payment by fetching it from the tax integration (e.g. Taxjar, Avalara) linked to that payment, or a message if the payment has no associated tax integration; requires \"read\" permission on \"payments\".
68124
68485
  * @summary Get a payment\'s tax metadata