@openmeter/client 1.0.0-beta-637770bdd2e8 → 1.0.0-beta-afebc8f9a2b9
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 +8 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/schemas.d.ts +820 -480
- package/dist/models/schemas.js +194 -12
- package/dist/models/types.d.ts +125 -5
- package/dist/sdk/apps.d.ts +2 -44
- package/dist/sdk/apps.js +1 -53
- package/dist/sdk/internal.d.ts +2 -28
- package/dist/sdk/internal.js +1 -33
- package/dist/sdk/invoices.d.ts +112 -0
- package/dist/sdk/invoices.js +115 -0
- package/dist/sdk/sdk.d.ts +3 -0
- package/dist/sdk/sdk.js +5 -0
- package/package.json +1 -1
package/dist/models/schemas.d.ts
CHANGED
|
@@ -3951,6 +3951,152 @@ export declare const appCatalogItemPagePaginatedResponse: z.ZodObject<{
|
|
|
3951
3951
|
}, z.core.$strip>;
|
|
3952
3952
|
}, z.core.$strip>;
|
|
3953
3953
|
}, z.core.$strip>;
|
|
3954
|
+
export declare const installedAppStripe: z.ZodObject<{
|
|
3955
|
+
id: z.ZodString;
|
|
3956
|
+
name: z.ZodString;
|
|
3957
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3958
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3959
|
+
createdAt: z.ZodDate;
|
|
3960
|
+
updatedAt: z.ZodDate;
|
|
3961
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
3962
|
+
type: z.ZodLiteral<"stripe">;
|
|
3963
|
+
definition: z.ZodObject<{
|
|
3964
|
+
type: z.ZodEnum<{
|
|
3965
|
+
external_invoicing: "external_invoicing";
|
|
3966
|
+
sandbox: "sandbox";
|
|
3967
|
+
stripe: "stripe";
|
|
3968
|
+
}>;
|
|
3969
|
+
name: z.ZodString;
|
|
3970
|
+
description: z.ZodString;
|
|
3971
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
3972
|
+
type: z.ZodEnum<{
|
|
3973
|
+
calculate_tax: "calculate_tax";
|
|
3974
|
+
collect_payments: "collect_payments";
|
|
3975
|
+
invoice_customers: "invoice_customers";
|
|
3976
|
+
report_events: "report_events";
|
|
3977
|
+
report_usage: "report_usage";
|
|
3978
|
+
}>;
|
|
3979
|
+
key: z.ZodString;
|
|
3980
|
+
name: z.ZodString;
|
|
3981
|
+
description: z.ZodString;
|
|
3982
|
+
}, z.core.$strip>>;
|
|
3983
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
3984
|
+
no_credentials_required: "no_credentials_required";
|
|
3985
|
+
with_api_key: "with_api_key";
|
|
3986
|
+
with_oauth2: "with_oauth2";
|
|
3987
|
+
}>>;
|
|
3988
|
+
}, z.core.$strip>;
|
|
3989
|
+
status: z.ZodEnum<{
|
|
3990
|
+
ready: "ready";
|
|
3991
|
+
unauthorized: "unauthorized";
|
|
3992
|
+
}>;
|
|
3993
|
+
accountId: z.ZodString;
|
|
3994
|
+
livemode: z.ZodBoolean;
|
|
3995
|
+
maskedApiKey: z.ZodString;
|
|
3996
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
3997
|
+
calculate_tax: "calculate_tax";
|
|
3998
|
+
collect_payments: "collect_payments";
|
|
3999
|
+
invoice_customers: "invoice_customers";
|
|
4000
|
+
report_events: "report_events";
|
|
4001
|
+
report_usage: "report_usage";
|
|
4002
|
+
}>>;
|
|
4003
|
+
}, z.core.$strip>;
|
|
4004
|
+
export declare const installedAppSandbox: z.ZodObject<{
|
|
4005
|
+
id: z.ZodString;
|
|
4006
|
+
name: z.ZodString;
|
|
4007
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4008
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4009
|
+
createdAt: z.ZodDate;
|
|
4010
|
+
updatedAt: z.ZodDate;
|
|
4011
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
4012
|
+
type: z.ZodLiteral<"sandbox">;
|
|
4013
|
+
definition: z.ZodObject<{
|
|
4014
|
+
type: z.ZodEnum<{
|
|
4015
|
+
external_invoicing: "external_invoicing";
|
|
4016
|
+
sandbox: "sandbox";
|
|
4017
|
+
stripe: "stripe";
|
|
4018
|
+
}>;
|
|
4019
|
+
name: z.ZodString;
|
|
4020
|
+
description: z.ZodString;
|
|
4021
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
4022
|
+
type: z.ZodEnum<{
|
|
4023
|
+
calculate_tax: "calculate_tax";
|
|
4024
|
+
collect_payments: "collect_payments";
|
|
4025
|
+
invoice_customers: "invoice_customers";
|
|
4026
|
+
report_events: "report_events";
|
|
4027
|
+
report_usage: "report_usage";
|
|
4028
|
+
}>;
|
|
4029
|
+
key: z.ZodString;
|
|
4030
|
+
name: z.ZodString;
|
|
4031
|
+
description: z.ZodString;
|
|
4032
|
+
}, z.core.$strip>>;
|
|
4033
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
4034
|
+
no_credentials_required: "no_credentials_required";
|
|
4035
|
+
with_api_key: "with_api_key";
|
|
4036
|
+
with_oauth2: "with_oauth2";
|
|
4037
|
+
}>>;
|
|
4038
|
+
}, z.core.$strip>;
|
|
4039
|
+
status: z.ZodEnum<{
|
|
4040
|
+
ready: "ready";
|
|
4041
|
+
unauthorized: "unauthorized";
|
|
4042
|
+
}>;
|
|
4043
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
4044
|
+
calculate_tax: "calculate_tax";
|
|
4045
|
+
collect_payments: "collect_payments";
|
|
4046
|
+
invoice_customers: "invoice_customers";
|
|
4047
|
+
report_events: "report_events";
|
|
4048
|
+
report_usage: "report_usage";
|
|
4049
|
+
}>>;
|
|
4050
|
+
}, z.core.$strip>;
|
|
4051
|
+
export declare const installedAppExternalInvoicing: z.ZodObject<{
|
|
4052
|
+
id: z.ZodString;
|
|
4053
|
+
name: z.ZodString;
|
|
4054
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4055
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4056
|
+
createdAt: z.ZodDate;
|
|
4057
|
+
updatedAt: z.ZodDate;
|
|
4058
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
4059
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
4060
|
+
definition: z.ZodObject<{
|
|
4061
|
+
type: z.ZodEnum<{
|
|
4062
|
+
external_invoicing: "external_invoicing";
|
|
4063
|
+
sandbox: "sandbox";
|
|
4064
|
+
stripe: "stripe";
|
|
4065
|
+
}>;
|
|
4066
|
+
name: z.ZodString;
|
|
4067
|
+
description: z.ZodString;
|
|
4068
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
4069
|
+
type: z.ZodEnum<{
|
|
4070
|
+
calculate_tax: "calculate_tax";
|
|
4071
|
+
collect_payments: "collect_payments";
|
|
4072
|
+
invoice_customers: "invoice_customers";
|
|
4073
|
+
report_events: "report_events";
|
|
4074
|
+
report_usage: "report_usage";
|
|
4075
|
+
}>;
|
|
4076
|
+
key: z.ZodString;
|
|
4077
|
+
name: z.ZodString;
|
|
4078
|
+
description: z.ZodString;
|
|
4079
|
+
}, z.core.$strip>>;
|
|
4080
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
4081
|
+
no_credentials_required: "no_credentials_required";
|
|
4082
|
+
with_api_key: "with_api_key";
|
|
4083
|
+
with_oauth2: "with_oauth2";
|
|
4084
|
+
}>>;
|
|
4085
|
+
}, z.core.$strip>;
|
|
4086
|
+
status: z.ZodEnum<{
|
|
4087
|
+
ready: "ready";
|
|
4088
|
+
unauthorized: "unauthorized";
|
|
4089
|
+
}>;
|
|
4090
|
+
enableDraftSyncHook: z.ZodBoolean;
|
|
4091
|
+
enableIssuingSyncHook: z.ZodBoolean;
|
|
4092
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
4093
|
+
calculate_tax: "calculate_tax";
|
|
4094
|
+
collect_payments: "collect_payments";
|
|
4095
|
+
invoice_customers: "invoice_customers";
|
|
4096
|
+
report_events: "report_events";
|
|
4097
|
+
report_usage: "report_usage";
|
|
4098
|
+
}>>;
|
|
4099
|
+
}, z.core.$strip>;
|
|
3954
4100
|
export declare const invoiceWorkflowSettings: z.ZodObject<{
|
|
3955
4101
|
apps: z.ZodOptional<z.ZodObject<{
|
|
3956
4102
|
tax: z.ZodObject<{
|
|
@@ -4828,6 +4974,150 @@ export declare const app: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4828
4974
|
enableDraftSyncHook: z.ZodBoolean;
|
|
4829
4975
|
enableIssuingSyncHook: z.ZodBoolean;
|
|
4830
4976
|
}, z.core.$strip>], "type">;
|
|
4977
|
+
export declare const billingInstallAppResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4978
|
+
id: z.ZodString;
|
|
4979
|
+
name: z.ZodString;
|
|
4980
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4981
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4982
|
+
createdAt: z.ZodDate;
|
|
4983
|
+
updatedAt: z.ZodDate;
|
|
4984
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
4985
|
+
type: z.ZodLiteral<"stripe">;
|
|
4986
|
+
definition: z.ZodObject<{
|
|
4987
|
+
type: z.ZodEnum<{
|
|
4988
|
+
external_invoicing: "external_invoicing";
|
|
4989
|
+
sandbox: "sandbox";
|
|
4990
|
+
stripe: "stripe";
|
|
4991
|
+
}>;
|
|
4992
|
+
name: z.ZodString;
|
|
4993
|
+
description: z.ZodString;
|
|
4994
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
4995
|
+
type: z.ZodEnum<{
|
|
4996
|
+
calculate_tax: "calculate_tax";
|
|
4997
|
+
collect_payments: "collect_payments";
|
|
4998
|
+
invoice_customers: "invoice_customers";
|
|
4999
|
+
report_events: "report_events";
|
|
5000
|
+
report_usage: "report_usage";
|
|
5001
|
+
}>;
|
|
5002
|
+
key: z.ZodString;
|
|
5003
|
+
name: z.ZodString;
|
|
5004
|
+
description: z.ZodString;
|
|
5005
|
+
}, z.core.$strip>>;
|
|
5006
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5007
|
+
no_credentials_required: "no_credentials_required";
|
|
5008
|
+
with_api_key: "with_api_key";
|
|
5009
|
+
with_oauth2: "with_oauth2";
|
|
5010
|
+
}>>;
|
|
5011
|
+
}, z.core.$strip>;
|
|
5012
|
+
status: z.ZodEnum<{
|
|
5013
|
+
ready: "ready";
|
|
5014
|
+
unauthorized: "unauthorized";
|
|
5015
|
+
}>;
|
|
5016
|
+
accountId: z.ZodString;
|
|
5017
|
+
livemode: z.ZodBoolean;
|
|
5018
|
+
maskedApiKey: z.ZodString;
|
|
5019
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
5020
|
+
calculate_tax: "calculate_tax";
|
|
5021
|
+
collect_payments: "collect_payments";
|
|
5022
|
+
invoice_customers: "invoice_customers";
|
|
5023
|
+
report_events: "report_events";
|
|
5024
|
+
report_usage: "report_usage";
|
|
5025
|
+
}>>;
|
|
5026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5027
|
+
id: z.ZodString;
|
|
5028
|
+
name: z.ZodString;
|
|
5029
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5030
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5031
|
+
createdAt: z.ZodDate;
|
|
5032
|
+
updatedAt: z.ZodDate;
|
|
5033
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5034
|
+
type: z.ZodLiteral<"sandbox">;
|
|
5035
|
+
definition: z.ZodObject<{
|
|
5036
|
+
type: z.ZodEnum<{
|
|
5037
|
+
external_invoicing: "external_invoicing";
|
|
5038
|
+
sandbox: "sandbox";
|
|
5039
|
+
stripe: "stripe";
|
|
5040
|
+
}>;
|
|
5041
|
+
name: z.ZodString;
|
|
5042
|
+
description: z.ZodString;
|
|
5043
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
5044
|
+
type: z.ZodEnum<{
|
|
5045
|
+
calculate_tax: "calculate_tax";
|
|
5046
|
+
collect_payments: "collect_payments";
|
|
5047
|
+
invoice_customers: "invoice_customers";
|
|
5048
|
+
report_events: "report_events";
|
|
5049
|
+
report_usage: "report_usage";
|
|
5050
|
+
}>;
|
|
5051
|
+
key: z.ZodString;
|
|
5052
|
+
name: z.ZodString;
|
|
5053
|
+
description: z.ZodString;
|
|
5054
|
+
}, z.core.$strip>>;
|
|
5055
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5056
|
+
no_credentials_required: "no_credentials_required";
|
|
5057
|
+
with_api_key: "with_api_key";
|
|
5058
|
+
with_oauth2: "with_oauth2";
|
|
5059
|
+
}>>;
|
|
5060
|
+
}, z.core.$strip>;
|
|
5061
|
+
status: z.ZodEnum<{
|
|
5062
|
+
ready: "ready";
|
|
5063
|
+
unauthorized: "unauthorized";
|
|
5064
|
+
}>;
|
|
5065
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
5066
|
+
calculate_tax: "calculate_tax";
|
|
5067
|
+
collect_payments: "collect_payments";
|
|
5068
|
+
invoice_customers: "invoice_customers";
|
|
5069
|
+
report_events: "report_events";
|
|
5070
|
+
report_usage: "report_usage";
|
|
5071
|
+
}>>;
|
|
5072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5073
|
+
id: z.ZodString;
|
|
5074
|
+
name: z.ZodString;
|
|
5075
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5076
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5077
|
+
createdAt: z.ZodDate;
|
|
5078
|
+
updatedAt: z.ZodDate;
|
|
5079
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5080
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
5081
|
+
definition: z.ZodObject<{
|
|
5082
|
+
type: z.ZodEnum<{
|
|
5083
|
+
external_invoicing: "external_invoicing";
|
|
5084
|
+
sandbox: "sandbox";
|
|
5085
|
+
stripe: "stripe";
|
|
5086
|
+
}>;
|
|
5087
|
+
name: z.ZodString;
|
|
5088
|
+
description: z.ZodString;
|
|
5089
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
5090
|
+
type: z.ZodEnum<{
|
|
5091
|
+
calculate_tax: "calculate_tax";
|
|
5092
|
+
collect_payments: "collect_payments";
|
|
5093
|
+
invoice_customers: "invoice_customers";
|
|
5094
|
+
report_events: "report_events";
|
|
5095
|
+
report_usage: "report_usage";
|
|
5096
|
+
}>;
|
|
5097
|
+
key: z.ZodString;
|
|
5098
|
+
name: z.ZodString;
|
|
5099
|
+
description: z.ZodString;
|
|
5100
|
+
}, z.core.$strip>>;
|
|
5101
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5102
|
+
no_credentials_required: "no_credentials_required";
|
|
5103
|
+
with_api_key: "with_api_key";
|
|
5104
|
+
with_oauth2: "with_oauth2";
|
|
5105
|
+
}>>;
|
|
5106
|
+
}, z.core.$strip>;
|
|
5107
|
+
status: z.ZodEnum<{
|
|
5108
|
+
ready: "ready";
|
|
5109
|
+
unauthorized: "unauthorized";
|
|
5110
|
+
}>;
|
|
5111
|
+
enableDraftSyncHook: z.ZodBoolean;
|
|
5112
|
+
enableIssuingSyncHook: z.ZodBoolean;
|
|
5113
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
5114
|
+
calculate_tax: "calculate_tax";
|
|
5115
|
+
collect_payments: "collect_payments";
|
|
5116
|
+
invoice_customers: "invoice_customers";
|
|
5117
|
+
report_events: "report_events";
|
|
5118
|
+
report_usage: "report_usage";
|
|
5119
|
+
}>>;
|
|
5120
|
+
}, z.core.$strip>], "type">;
|
|
4831
5121
|
export declare const entitlementAccessQueryResponse: z.ZodObject<{
|
|
4832
5122
|
data: z.ZodArray<z.ZodObject<{
|
|
4833
5123
|
matched: z.ZodArray<z.ZodString>;
|
|
@@ -5647,138 +5937,6 @@ export declare const appPagePaginatedResponse: z.ZodObject<{
|
|
|
5647
5937
|
}, z.core.$strip>;
|
|
5648
5938
|
}, z.core.$strip>;
|
|
5649
5939
|
}, z.core.$strip>;
|
|
5650
|
-
export declare const billingInstallAppResponse: z.ZodObject<{
|
|
5651
|
-
app: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5652
|
-
id: z.ZodString;
|
|
5653
|
-
name: z.ZodString;
|
|
5654
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5655
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5656
|
-
createdAt: z.ZodDate;
|
|
5657
|
-
updatedAt: z.ZodDate;
|
|
5658
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5659
|
-
type: z.ZodLiteral<"stripe">;
|
|
5660
|
-
definition: z.ZodObject<{
|
|
5661
|
-
type: z.ZodEnum<{
|
|
5662
|
-
external_invoicing: "external_invoicing";
|
|
5663
|
-
sandbox: "sandbox";
|
|
5664
|
-
stripe: "stripe";
|
|
5665
|
-
}>;
|
|
5666
|
-
name: z.ZodString;
|
|
5667
|
-
description: z.ZodString;
|
|
5668
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
5669
|
-
type: z.ZodEnum<{
|
|
5670
|
-
calculate_tax: "calculate_tax";
|
|
5671
|
-
collect_payments: "collect_payments";
|
|
5672
|
-
invoice_customers: "invoice_customers";
|
|
5673
|
-
report_events: "report_events";
|
|
5674
|
-
report_usage: "report_usage";
|
|
5675
|
-
}>;
|
|
5676
|
-
key: z.ZodString;
|
|
5677
|
-
name: z.ZodString;
|
|
5678
|
-
description: z.ZodString;
|
|
5679
|
-
}, z.core.$strip>>;
|
|
5680
|
-
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5681
|
-
no_credentials_required: "no_credentials_required";
|
|
5682
|
-
with_api_key: "with_api_key";
|
|
5683
|
-
with_oauth2: "with_oauth2";
|
|
5684
|
-
}>>;
|
|
5685
|
-
}, z.core.$strip>;
|
|
5686
|
-
status: z.ZodEnum<{
|
|
5687
|
-
ready: "ready";
|
|
5688
|
-
unauthorized: "unauthorized";
|
|
5689
|
-
}>;
|
|
5690
|
-
accountId: z.ZodString;
|
|
5691
|
-
livemode: z.ZodBoolean;
|
|
5692
|
-
maskedApiKey: z.ZodString;
|
|
5693
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5694
|
-
id: z.ZodString;
|
|
5695
|
-
name: z.ZodString;
|
|
5696
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5697
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5698
|
-
createdAt: z.ZodDate;
|
|
5699
|
-
updatedAt: z.ZodDate;
|
|
5700
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5701
|
-
type: z.ZodLiteral<"sandbox">;
|
|
5702
|
-
definition: z.ZodObject<{
|
|
5703
|
-
type: z.ZodEnum<{
|
|
5704
|
-
external_invoicing: "external_invoicing";
|
|
5705
|
-
sandbox: "sandbox";
|
|
5706
|
-
stripe: "stripe";
|
|
5707
|
-
}>;
|
|
5708
|
-
name: z.ZodString;
|
|
5709
|
-
description: z.ZodString;
|
|
5710
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
5711
|
-
type: z.ZodEnum<{
|
|
5712
|
-
calculate_tax: "calculate_tax";
|
|
5713
|
-
collect_payments: "collect_payments";
|
|
5714
|
-
invoice_customers: "invoice_customers";
|
|
5715
|
-
report_events: "report_events";
|
|
5716
|
-
report_usage: "report_usage";
|
|
5717
|
-
}>;
|
|
5718
|
-
key: z.ZodString;
|
|
5719
|
-
name: z.ZodString;
|
|
5720
|
-
description: z.ZodString;
|
|
5721
|
-
}, z.core.$strip>>;
|
|
5722
|
-
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5723
|
-
no_credentials_required: "no_credentials_required";
|
|
5724
|
-
with_api_key: "with_api_key";
|
|
5725
|
-
with_oauth2: "with_oauth2";
|
|
5726
|
-
}>>;
|
|
5727
|
-
}, z.core.$strip>;
|
|
5728
|
-
status: z.ZodEnum<{
|
|
5729
|
-
ready: "ready";
|
|
5730
|
-
unauthorized: "unauthorized";
|
|
5731
|
-
}>;
|
|
5732
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5733
|
-
id: z.ZodString;
|
|
5734
|
-
name: z.ZodString;
|
|
5735
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5736
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5737
|
-
createdAt: z.ZodDate;
|
|
5738
|
-
updatedAt: z.ZodDate;
|
|
5739
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
5740
|
-
type: z.ZodLiteral<"external_invoicing">;
|
|
5741
|
-
definition: z.ZodObject<{
|
|
5742
|
-
type: z.ZodEnum<{
|
|
5743
|
-
external_invoicing: "external_invoicing";
|
|
5744
|
-
sandbox: "sandbox";
|
|
5745
|
-
stripe: "stripe";
|
|
5746
|
-
}>;
|
|
5747
|
-
name: z.ZodString;
|
|
5748
|
-
description: z.ZodString;
|
|
5749
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
5750
|
-
type: z.ZodEnum<{
|
|
5751
|
-
calculate_tax: "calculate_tax";
|
|
5752
|
-
collect_payments: "collect_payments";
|
|
5753
|
-
invoice_customers: "invoice_customers";
|
|
5754
|
-
report_events: "report_events";
|
|
5755
|
-
report_usage: "report_usage";
|
|
5756
|
-
}>;
|
|
5757
|
-
key: z.ZodString;
|
|
5758
|
-
name: z.ZodString;
|
|
5759
|
-
description: z.ZodString;
|
|
5760
|
-
}, z.core.$strip>>;
|
|
5761
|
-
installMethods: z.ZodArray<z.ZodEnum<{
|
|
5762
|
-
no_credentials_required: "no_credentials_required";
|
|
5763
|
-
with_api_key: "with_api_key";
|
|
5764
|
-
with_oauth2: "with_oauth2";
|
|
5765
|
-
}>>;
|
|
5766
|
-
}, z.core.$strip>;
|
|
5767
|
-
status: z.ZodEnum<{
|
|
5768
|
-
ready: "ready";
|
|
5769
|
-
unauthorized: "unauthorized";
|
|
5770
|
-
}>;
|
|
5771
|
-
enableDraftSyncHook: z.ZodBoolean;
|
|
5772
|
-
enableIssuingSyncHook: z.ZodBoolean;
|
|
5773
|
-
}, z.core.$strip>], "type">;
|
|
5774
|
-
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
5775
|
-
calculate_tax: "calculate_tax";
|
|
5776
|
-
collect_payments: "collect_payments";
|
|
5777
|
-
invoice_customers: "invoice_customers";
|
|
5778
|
-
report_events: "report_events";
|
|
5779
|
-
report_usage: "report_usage";
|
|
5780
|
-
}>>;
|
|
5781
|
-
}, z.core.$strip>;
|
|
5782
5940
|
export declare const profileApps: z.ZodObject<{
|
|
5783
5941
|
tax: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5784
5942
|
id: z.ZodString;
|
|
@@ -15802,130 +15960,142 @@ export declare const installAppBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15802
15960
|
name: z.ZodString;
|
|
15803
15961
|
createBillingProfile: z.ZodBoolean;
|
|
15804
15962
|
}, z.core.$strip>], "type">;
|
|
15805
|
-
export declare const installAppResponse: z.ZodObject<{
|
|
15806
|
-
|
|
15807
|
-
|
|
15963
|
+
export declare const installAppResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15964
|
+
id: z.ZodString;
|
|
15965
|
+
name: z.ZodString;
|
|
15966
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15967
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15968
|
+
createdAt: z.ZodDate;
|
|
15969
|
+
updatedAt: z.ZodDate;
|
|
15970
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
15971
|
+
type: z.ZodLiteral<"stripe">;
|
|
15972
|
+
definition: z.ZodObject<{
|
|
15973
|
+
type: z.ZodEnum<{
|
|
15974
|
+
external_invoicing: "external_invoicing";
|
|
15975
|
+
sandbox: "sandbox";
|
|
15976
|
+
stripe: "stripe";
|
|
15977
|
+
}>;
|
|
15808
15978
|
name: z.ZodString;
|
|
15809
|
-
description: z.
|
|
15810
|
-
|
|
15811
|
-
createdAt: z.ZodDate;
|
|
15812
|
-
updatedAt: z.ZodDate;
|
|
15813
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
15814
|
-
type: z.ZodLiteral<"stripe">;
|
|
15815
|
-
definition: z.ZodObject<{
|
|
15979
|
+
description: z.ZodString;
|
|
15980
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
15816
15981
|
type: z.ZodEnum<{
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
|
|
15982
|
+
calculate_tax: "calculate_tax";
|
|
15983
|
+
collect_payments: "collect_payments";
|
|
15984
|
+
invoice_customers: "invoice_customers";
|
|
15985
|
+
report_events: "report_events";
|
|
15986
|
+
report_usage: "report_usage";
|
|
15820
15987
|
}>;
|
|
15988
|
+
key: z.ZodString;
|
|
15821
15989
|
name: z.ZodString;
|
|
15822
15990
|
description: z.ZodString;
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15991
|
+
}, z.core.$strip>>;
|
|
15992
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
15993
|
+
no_credentials_required: "no_credentials_required";
|
|
15994
|
+
with_api_key: "with_api_key";
|
|
15995
|
+
with_oauth2: "with_oauth2";
|
|
15996
|
+
}>>;
|
|
15997
|
+
}, z.core.$strip>;
|
|
15998
|
+
status: z.ZodEnum<{
|
|
15999
|
+
ready: "ready";
|
|
16000
|
+
unauthorized: "unauthorized";
|
|
16001
|
+
}>;
|
|
16002
|
+
accountId: z.ZodString;
|
|
16003
|
+
livemode: z.ZodBoolean;
|
|
16004
|
+
maskedApiKey: z.ZodString;
|
|
16005
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
16006
|
+
calculate_tax: "calculate_tax";
|
|
16007
|
+
collect_payments: "collect_payments";
|
|
16008
|
+
invoice_customers: "invoice_customers";
|
|
16009
|
+
report_events: "report_events";
|
|
16010
|
+
report_usage: "report_usage";
|
|
16011
|
+
}>>;
|
|
16012
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16013
|
+
id: z.ZodString;
|
|
16014
|
+
name: z.ZodString;
|
|
16015
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16016
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16017
|
+
createdAt: z.ZodDate;
|
|
16018
|
+
updatedAt: z.ZodDate;
|
|
16019
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
16020
|
+
type: z.ZodLiteral<"sandbox">;
|
|
16021
|
+
definition: z.ZodObject<{
|
|
16022
|
+
type: z.ZodEnum<{
|
|
16023
|
+
external_invoicing: "external_invoicing";
|
|
16024
|
+
sandbox: "sandbox";
|
|
16025
|
+
stripe: "stripe";
|
|
15844
16026
|
}>;
|
|
15845
|
-
accountId: z.ZodString;
|
|
15846
|
-
livemode: z.ZodBoolean;
|
|
15847
|
-
maskedApiKey: z.ZodString;
|
|
15848
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15849
|
-
id: z.ZodString;
|
|
15850
16027
|
name: z.ZodString;
|
|
15851
|
-
description: z.
|
|
15852
|
-
|
|
15853
|
-
createdAt: z.ZodDate;
|
|
15854
|
-
updatedAt: z.ZodDate;
|
|
15855
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
15856
|
-
type: z.ZodLiteral<"sandbox">;
|
|
15857
|
-
definition: z.ZodObject<{
|
|
16028
|
+
description: z.ZodString;
|
|
16029
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
15858
16030
|
type: z.ZodEnum<{
|
|
15859
|
-
|
|
15860
|
-
|
|
15861
|
-
|
|
16031
|
+
calculate_tax: "calculate_tax";
|
|
16032
|
+
collect_payments: "collect_payments";
|
|
16033
|
+
invoice_customers: "invoice_customers";
|
|
16034
|
+
report_events: "report_events";
|
|
16035
|
+
report_usage: "report_usage";
|
|
15862
16036
|
}>;
|
|
16037
|
+
key: z.ZodString;
|
|
15863
16038
|
name: z.ZodString;
|
|
15864
16039
|
description: z.ZodString;
|
|
15865
|
-
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
|
|
15878
|
-
|
|
15879
|
-
|
|
15880
|
-
|
|
15881
|
-
|
|
15882
|
-
|
|
15883
|
-
|
|
15884
|
-
|
|
15885
|
-
|
|
16040
|
+
}, z.core.$strip>>;
|
|
16041
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
16042
|
+
no_credentials_required: "no_credentials_required";
|
|
16043
|
+
with_api_key: "with_api_key";
|
|
16044
|
+
with_oauth2: "with_oauth2";
|
|
16045
|
+
}>>;
|
|
16046
|
+
}, z.core.$strip>;
|
|
16047
|
+
status: z.ZodEnum<{
|
|
16048
|
+
ready: "ready";
|
|
16049
|
+
unauthorized: "unauthorized";
|
|
16050
|
+
}>;
|
|
16051
|
+
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
16052
|
+
calculate_tax: "calculate_tax";
|
|
16053
|
+
collect_payments: "collect_payments";
|
|
16054
|
+
invoice_customers: "invoice_customers";
|
|
16055
|
+
report_events: "report_events";
|
|
16056
|
+
report_usage: "report_usage";
|
|
16057
|
+
}>>;
|
|
16058
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16059
|
+
id: z.ZodString;
|
|
16060
|
+
name: z.ZodString;
|
|
16061
|
+
description: z.ZodOptional<z.ZodString>;
|
|
16062
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16063
|
+
createdAt: z.ZodDate;
|
|
16064
|
+
updatedAt: z.ZodDate;
|
|
16065
|
+
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
16066
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
16067
|
+
definition: z.ZodObject<{
|
|
16068
|
+
type: z.ZodEnum<{
|
|
16069
|
+
external_invoicing: "external_invoicing";
|
|
16070
|
+
sandbox: "sandbox";
|
|
16071
|
+
stripe: "stripe";
|
|
15886
16072
|
}>;
|
|
15887
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15888
|
-
id: z.ZodString;
|
|
15889
16073
|
name: z.ZodString;
|
|
15890
|
-
description: z.
|
|
15891
|
-
|
|
15892
|
-
createdAt: z.ZodDate;
|
|
15893
|
-
updatedAt: z.ZodDate;
|
|
15894
|
-
deletedAt: z.ZodOptional<z.ZodDate>;
|
|
15895
|
-
type: z.ZodLiteral<"external_invoicing">;
|
|
15896
|
-
definition: z.ZodObject<{
|
|
16074
|
+
description: z.ZodString;
|
|
16075
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
15897
16076
|
type: z.ZodEnum<{
|
|
15898
|
-
|
|
15899
|
-
|
|
15900
|
-
|
|
16077
|
+
calculate_tax: "calculate_tax";
|
|
16078
|
+
collect_payments: "collect_payments";
|
|
16079
|
+
invoice_customers: "invoice_customers";
|
|
16080
|
+
report_events: "report_events";
|
|
16081
|
+
report_usage: "report_usage";
|
|
15901
16082
|
}>;
|
|
16083
|
+
key: z.ZodString;
|
|
15902
16084
|
name: z.ZodString;
|
|
15903
16085
|
description: z.ZodString;
|
|
15904
|
-
|
|
15905
|
-
|
|
15906
|
-
|
|
15907
|
-
|
|
15908
|
-
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
no_credentials_required: "no_credentials_required";
|
|
15918
|
-
with_api_key: "with_api_key";
|
|
15919
|
-
with_oauth2: "with_oauth2";
|
|
15920
|
-
}>>;
|
|
15921
|
-
}, z.core.$strip>;
|
|
15922
|
-
status: z.ZodEnum<{
|
|
15923
|
-
ready: "ready";
|
|
15924
|
-
unauthorized: "unauthorized";
|
|
15925
|
-
}>;
|
|
15926
|
-
enableDraftSyncHook: z.ZodBoolean;
|
|
15927
|
-
enableIssuingSyncHook: z.ZodBoolean;
|
|
15928
|
-
}, z.core.$strip>], "type">;
|
|
16086
|
+
}, z.core.$strip>>;
|
|
16087
|
+
installMethods: z.ZodArray<z.ZodEnum<{
|
|
16088
|
+
no_credentials_required: "no_credentials_required";
|
|
16089
|
+
with_api_key: "with_api_key";
|
|
16090
|
+
with_oauth2: "with_oauth2";
|
|
16091
|
+
}>>;
|
|
16092
|
+
}, z.core.$strip>;
|
|
16093
|
+
status: z.ZodEnum<{
|
|
16094
|
+
ready: "ready";
|
|
16095
|
+
unauthorized: "unauthorized";
|
|
16096
|
+
}>;
|
|
16097
|
+
enableDraftSyncHook: z.ZodBoolean;
|
|
16098
|
+
enableIssuingSyncHook: z.ZodBoolean;
|
|
15929
16099
|
defaultForCapabilityTypes: z.ZodArray<z.ZodEnum<{
|
|
15930
16100
|
calculate_tax: "calculate_tax";
|
|
15931
16101
|
collect_payments: "collect_payments";
|
|
@@ -15933,7 +16103,7 @@ export declare const installAppResponse: z.ZodObject<{
|
|
|
15933
16103
|
report_events: "report_events";
|
|
15934
16104
|
report_usage: "report_usage";
|
|
15935
16105
|
}>>;
|
|
15936
|
-
}, z.core.$strip>;
|
|
16106
|
+
}, z.core.$strip>], "type">;
|
|
15937
16107
|
export declare const listBillingProfilesQueryParams: z.ZodObject<{
|
|
15938
16108
|
page: z.ZodOptional<z.ZodObject<{
|
|
15939
16109
|
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -26469,6 +26639,152 @@ export declare const appCatalogItemPagePaginatedResponseWire: z.ZodObject<{
|
|
|
26469
26639
|
}, z.core.$strict>;
|
|
26470
26640
|
}, z.core.$strict>;
|
|
26471
26641
|
}, z.core.$strict>;
|
|
26642
|
+
export declare const installedAppStripeWire: z.ZodObject<{
|
|
26643
|
+
id: z.ZodString;
|
|
26644
|
+
name: z.ZodString;
|
|
26645
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26646
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26647
|
+
created_at: z.ZodString;
|
|
26648
|
+
updated_at: z.ZodString;
|
|
26649
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
26650
|
+
type: z.ZodLiteral<"stripe">;
|
|
26651
|
+
definition: z.ZodObject<{
|
|
26652
|
+
type: z.ZodEnum<{
|
|
26653
|
+
external_invoicing: "external_invoicing";
|
|
26654
|
+
sandbox: "sandbox";
|
|
26655
|
+
stripe: "stripe";
|
|
26656
|
+
}>;
|
|
26657
|
+
name: z.ZodString;
|
|
26658
|
+
description: z.ZodString;
|
|
26659
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
26660
|
+
type: z.ZodEnum<{
|
|
26661
|
+
calculate_tax: "calculate_tax";
|
|
26662
|
+
collect_payments: "collect_payments";
|
|
26663
|
+
invoice_customers: "invoice_customers";
|
|
26664
|
+
report_events: "report_events";
|
|
26665
|
+
report_usage: "report_usage";
|
|
26666
|
+
}>;
|
|
26667
|
+
key: z.ZodString;
|
|
26668
|
+
name: z.ZodString;
|
|
26669
|
+
description: z.ZodString;
|
|
26670
|
+
}, z.core.$strict>>;
|
|
26671
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
26672
|
+
no_credentials_required: "no_credentials_required";
|
|
26673
|
+
with_api_key: "with_api_key";
|
|
26674
|
+
with_oauth2: "with_oauth2";
|
|
26675
|
+
}>>;
|
|
26676
|
+
}, z.core.$strict>;
|
|
26677
|
+
status: z.ZodEnum<{
|
|
26678
|
+
ready: "ready";
|
|
26679
|
+
unauthorized: "unauthorized";
|
|
26680
|
+
}>;
|
|
26681
|
+
account_id: z.ZodString;
|
|
26682
|
+
livemode: z.ZodBoolean;
|
|
26683
|
+
masked_api_key: z.ZodString;
|
|
26684
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
26685
|
+
calculate_tax: "calculate_tax";
|
|
26686
|
+
collect_payments: "collect_payments";
|
|
26687
|
+
invoice_customers: "invoice_customers";
|
|
26688
|
+
report_events: "report_events";
|
|
26689
|
+
report_usage: "report_usage";
|
|
26690
|
+
}>>;
|
|
26691
|
+
}, z.core.$strict>;
|
|
26692
|
+
export declare const installedAppSandboxWire: z.ZodObject<{
|
|
26693
|
+
id: z.ZodString;
|
|
26694
|
+
name: z.ZodString;
|
|
26695
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26696
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26697
|
+
created_at: z.ZodString;
|
|
26698
|
+
updated_at: z.ZodString;
|
|
26699
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
26700
|
+
type: z.ZodLiteral<"sandbox">;
|
|
26701
|
+
definition: z.ZodObject<{
|
|
26702
|
+
type: z.ZodEnum<{
|
|
26703
|
+
external_invoicing: "external_invoicing";
|
|
26704
|
+
sandbox: "sandbox";
|
|
26705
|
+
stripe: "stripe";
|
|
26706
|
+
}>;
|
|
26707
|
+
name: z.ZodString;
|
|
26708
|
+
description: z.ZodString;
|
|
26709
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
26710
|
+
type: z.ZodEnum<{
|
|
26711
|
+
calculate_tax: "calculate_tax";
|
|
26712
|
+
collect_payments: "collect_payments";
|
|
26713
|
+
invoice_customers: "invoice_customers";
|
|
26714
|
+
report_events: "report_events";
|
|
26715
|
+
report_usage: "report_usage";
|
|
26716
|
+
}>;
|
|
26717
|
+
key: z.ZodString;
|
|
26718
|
+
name: z.ZodString;
|
|
26719
|
+
description: z.ZodString;
|
|
26720
|
+
}, z.core.$strict>>;
|
|
26721
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
26722
|
+
no_credentials_required: "no_credentials_required";
|
|
26723
|
+
with_api_key: "with_api_key";
|
|
26724
|
+
with_oauth2: "with_oauth2";
|
|
26725
|
+
}>>;
|
|
26726
|
+
}, z.core.$strict>;
|
|
26727
|
+
status: z.ZodEnum<{
|
|
26728
|
+
ready: "ready";
|
|
26729
|
+
unauthorized: "unauthorized";
|
|
26730
|
+
}>;
|
|
26731
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
26732
|
+
calculate_tax: "calculate_tax";
|
|
26733
|
+
collect_payments: "collect_payments";
|
|
26734
|
+
invoice_customers: "invoice_customers";
|
|
26735
|
+
report_events: "report_events";
|
|
26736
|
+
report_usage: "report_usage";
|
|
26737
|
+
}>>;
|
|
26738
|
+
}, z.core.$strict>;
|
|
26739
|
+
export declare const installedAppExternalInvoicingWire: z.ZodObject<{
|
|
26740
|
+
id: z.ZodString;
|
|
26741
|
+
name: z.ZodString;
|
|
26742
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26743
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26744
|
+
created_at: z.ZodString;
|
|
26745
|
+
updated_at: z.ZodString;
|
|
26746
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
26747
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
26748
|
+
definition: z.ZodObject<{
|
|
26749
|
+
type: z.ZodEnum<{
|
|
26750
|
+
external_invoicing: "external_invoicing";
|
|
26751
|
+
sandbox: "sandbox";
|
|
26752
|
+
stripe: "stripe";
|
|
26753
|
+
}>;
|
|
26754
|
+
name: z.ZodString;
|
|
26755
|
+
description: z.ZodString;
|
|
26756
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
26757
|
+
type: z.ZodEnum<{
|
|
26758
|
+
calculate_tax: "calculate_tax";
|
|
26759
|
+
collect_payments: "collect_payments";
|
|
26760
|
+
invoice_customers: "invoice_customers";
|
|
26761
|
+
report_events: "report_events";
|
|
26762
|
+
report_usage: "report_usage";
|
|
26763
|
+
}>;
|
|
26764
|
+
key: z.ZodString;
|
|
26765
|
+
name: z.ZodString;
|
|
26766
|
+
description: z.ZodString;
|
|
26767
|
+
}, z.core.$strict>>;
|
|
26768
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
26769
|
+
no_credentials_required: "no_credentials_required";
|
|
26770
|
+
with_api_key: "with_api_key";
|
|
26771
|
+
with_oauth2: "with_oauth2";
|
|
26772
|
+
}>>;
|
|
26773
|
+
}, z.core.$strict>;
|
|
26774
|
+
status: z.ZodEnum<{
|
|
26775
|
+
ready: "ready";
|
|
26776
|
+
unauthorized: "unauthorized";
|
|
26777
|
+
}>;
|
|
26778
|
+
enable_draft_sync_hook: z.ZodBoolean;
|
|
26779
|
+
enable_issuing_sync_hook: z.ZodBoolean;
|
|
26780
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
26781
|
+
calculate_tax: "calculate_tax";
|
|
26782
|
+
collect_payments: "collect_payments";
|
|
26783
|
+
invoice_customers: "invoice_customers";
|
|
26784
|
+
report_events: "report_events";
|
|
26785
|
+
report_usage: "report_usage";
|
|
26786
|
+
}>>;
|
|
26787
|
+
}, z.core.$strict>;
|
|
26472
26788
|
export declare const invoiceWorkflowSettingsWire: z.ZodObject<{
|
|
26473
26789
|
apps: z.ZodOptional<z.ZodObject<{
|
|
26474
26790
|
tax: z.ZodObject<{
|
|
@@ -27346,6 +27662,150 @@ export declare const appWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
27346
27662
|
enable_draft_sync_hook: z.ZodBoolean;
|
|
27347
27663
|
enable_issuing_sync_hook: z.ZodBoolean;
|
|
27348
27664
|
}, z.core.$strict>], "type">;
|
|
27665
|
+
export declare const billingInstallAppResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27666
|
+
id: z.ZodString;
|
|
27667
|
+
name: z.ZodString;
|
|
27668
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27669
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27670
|
+
created_at: z.ZodString;
|
|
27671
|
+
updated_at: z.ZodString;
|
|
27672
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
27673
|
+
type: z.ZodLiteral<"stripe">;
|
|
27674
|
+
definition: z.ZodObject<{
|
|
27675
|
+
type: z.ZodEnum<{
|
|
27676
|
+
external_invoicing: "external_invoicing";
|
|
27677
|
+
sandbox: "sandbox";
|
|
27678
|
+
stripe: "stripe";
|
|
27679
|
+
}>;
|
|
27680
|
+
name: z.ZodString;
|
|
27681
|
+
description: z.ZodString;
|
|
27682
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
27683
|
+
type: z.ZodEnum<{
|
|
27684
|
+
calculate_tax: "calculate_tax";
|
|
27685
|
+
collect_payments: "collect_payments";
|
|
27686
|
+
invoice_customers: "invoice_customers";
|
|
27687
|
+
report_events: "report_events";
|
|
27688
|
+
report_usage: "report_usage";
|
|
27689
|
+
}>;
|
|
27690
|
+
key: z.ZodString;
|
|
27691
|
+
name: z.ZodString;
|
|
27692
|
+
description: z.ZodString;
|
|
27693
|
+
}, z.core.$strict>>;
|
|
27694
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
27695
|
+
no_credentials_required: "no_credentials_required";
|
|
27696
|
+
with_api_key: "with_api_key";
|
|
27697
|
+
with_oauth2: "with_oauth2";
|
|
27698
|
+
}>>;
|
|
27699
|
+
}, z.core.$strict>;
|
|
27700
|
+
status: z.ZodEnum<{
|
|
27701
|
+
ready: "ready";
|
|
27702
|
+
unauthorized: "unauthorized";
|
|
27703
|
+
}>;
|
|
27704
|
+
account_id: z.ZodString;
|
|
27705
|
+
livemode: z.ZodBoolean;
|
|
27706
|
+
masked_api_key: z.ZodString;
|
|
27707
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
27708
|
+
calculate_tax: "calculate_tax";
|
|
27709
|
+
collect_payments: "collect_payments";
|
|
27710
|
+
invoice_customers: "invoice_customers";
|
|
27711
|
+
report_events: "report_events";
|
|
27712
|
+
report_usage: "report_usage";
|
|
27713
|
+
}>>;
|
|
27714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
27715
|
+
id: z.ZodString;
|
|
27716
|
+
name: z.ZodString;
|
|
27717
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27718
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27719
|
+
created_at: z.ZodString;
|
|
27720
|
+
updated_at: z.ZodString;
|
|
27721
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
27722
|
+
type: z.ZodLiteral<"sandbox">;
|
|
27723
|
+
definition: z.ZodObject<{
|
|
27724
|
+
type: z.ZodEnum<{
|
|
27725
|
+
external_invoicing: "external_invoicing";
|
|
27726
|
+
sandbox: "sandbox";
|
|
27727
|
+
stripe: "stripe";
|
|
27728
|
+
}>;
|
|
27729
|
+
name: z.ZodString;
|
|
27730
|
+
description: z.ZodString;
|
|
27731
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
27732
|
+
type: z.ZodEnum<{
|
|
27733
|
+
calculate_tax: "calculate_tax";
|
|
27734
|
+
collect_payments: "collect_payments";
|
|
27735
|
+
invoice_customers: "invoice_customers";
|
|
27736
|
+
report_events: "report_events";
|
|
27737
|
+
report_usage: "report_usage";
|
|
27738
|
+
}>;
|
|
27739
|
+
key: z.ZodString;
|
|
27740
|
+
name: z.ZodString;
|
|
27741
|
+
description: z.ZodString;
|
|
27742
|
+
}, z.core.$strict>>;
|
|
27743
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
27744
|
+
no_credentials_required: "no_credentials_required";
|
|
27745
|
+
with_api_key: "with_api_key";
|
|
27746
|
+
with_oauth2: "with_oauth2";
|
|
27747
|
+
}>>;
|
|
27748
|
+
}, z.core.$strict>;
|
|
27749
|
+
status: z.ZodEnum<{
|
|
27750
|
+
ready: "ready";
|
|
27751
|
+
unauthorized: "unauthorized";
|
|
27752
|
+
}>;
|
|
27753
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
27754
|
+
calculate_tax: "calculate_tax";
|
|
27755
|
+
collect_payments: "collect_payments";
|
|
27756
|
+
invoice_customers: "invoice_customers";
|
|
27757
|
+
report_events: "report_events";
|
|
27758
|
+
report_usage: "report_usage";
|
|
27759
|
+
}>>;
|
|
27760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
27761
|
+
id: z.ZodString;
|
|
27762
|
+
name: z.ZodString;
|
|
27763
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27764
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27765
|
+
created_at: z.ZodString;
|
|
27766
|
+
updated_at: z.ZodString;
|
|
27767
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
27768
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
27769
|
+
definition: z.ZodObject<{
|
|
27770
|
+
type: z.ZodEnum<{
|
|
27771
|
+
external_invoicing: "external_invoicing";
|
|
27772
|
+
sandbox: "sandbox";
|
|
27773
|
+
stripe: "stripe";
|
|
27774
|
+
}>;
|
|
27775
|
+
name: z.ZodString;
|
|
27776
|
+
description: z.ZodString;
|
|
27777
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
27778
|
+
type: z.ZodEnum<{
|
|
27779
|
+
calculate_tax: "calculate_tax";
|
|
27780
|
+
collect_payments: "collect_payments";
|
|
27781
|
+
invoice_customers: "invoice_customers";
|
|
27782
|
+
report_events: "report_events";
|
|
27783
|
+
report_usage: "report_usage";
|
|
27784
|
+
}>;
|
|
27785
|
+
key: z.ZodString;
|
|
27786
|
+
name: z.ZodString;
|
|
27787
|
+
description: z.ZodString;
|
|
27788
|
+
}, z.core.$strict>>;
|
|
27789
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
27790
|
+
no_credentials_required: "no_credentials_required";
|
|
27791
|
+
with_api_key: "with_api_key";
|
|
27792
|
+
with_oauth2: "with_oauth2";
|
|
27793
|
+
}>>;
|
|
27794
|
+
}, z.core.$strict>;
|
|
27795
|
+
status: z.ZodEnum<{
|
|
27796
|
+
ready: "ready";
|
|
27797
|
+
unauthorized: "unauthorized";
|
|
27798
|
+
}>;
|
|
27799
|
+
enable_draft_sync_hook: z.ZodBoolean;
|
|
27800
|
+
enable_issuing_sync_hook: z.ZodBoolean;
|
|
27801
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
27802
|
+
calculate_tax: "calculate_tax";
|
|
27803
|
+
collect_payments: "collect_payments";
|
|
27804
|
+
invoice_customers: "invoice_customers";
|
|
27805
|
+
report_events: "report_events";
|
|
27806
|
+
report_usage: "report_usage";
|
|
27807
|
+
}>>;
|
|
27808
|
+
}, z.core.$strict>], "type">;
|
|
27349
27809
|
export declare const entitlementAccessQueryResponseWire: z.ZodObject<{
|
|
27350
27810
|
data: z.ZodArray<z.ZodObject<{
|
|
27351
27811
|
matched: z.ZodArray<z.ZodString>;
|
|
@@ -28165,138 +28625,6 @@ export declare const appPagePaginatedResponseWire: z.ZodObject<{
|
|
|
28165
28625
|
}, z.core.$strict>;
|
|
28166
28626
|
}, z.core.$strict>;
|
|
28167
28627
|
}, z.core.$strict>;
|
|
28168
|
-
export declare const billingInstallAppResponseWire: z.ZodObject<{
|
|
28169
|
-
app: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28170
|
-
id: z.ZodString;
|
|
28171
|
-
name: z.ZodString;
|
|
28172
|
-
description: z.ZodOptional<z.ZodString>;
|
|
28173
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28174
|
-
created_at: z.ZodString;
|
|
28175
|
-
updated_at: z.ZodString;
|
|
28176
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
28177
|
-
type: z.ZodLiteral<"stripe">;
|
|
28178
|
-
definition: z.ZodObject<{
|
|
28179
|
-
type: z.ZodEnum<{
|
|
28180
|
-
external_invoicing: "external_invoicing";
|
|
28181
|
-
sandbox: "sandbox";
|
|
28182
|
-
stripe: "stripe";
|
|
28183
|
-
}>;
|
|
28184
|
-
name: z.ZodString;
|
|
28185
|
-
description: z.ZodString;
|
|
28186
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
28187
|
-
type: z.ZodEnum<{
|
|
28188
|
-
calculate_tax: "calculate_tax";
|
|
28189
|
-
collect_payments: "collect_payments";
|
|
28190
|
-
invoice_customers: "invoice_customers";
|
|
28191
|
-
report_events: "report_events";
|
|
28192
|
-
report_usage: "report_usage";
|
|
28193
|
-
}>;
|
|
28194
|
-
key: z.ZodString;
|
|
28195
|
-
name: z.ZodString;
|
|
28196
|
-
description: z.ZodString;
|
|
28197
|
-
}, z.core.$strict>>;
|
|
28198
|
-
install_methods: z.ZodArray<z.ZodEnum<{
|
|
28199
|
-
no_credentials_required: "no_credentials_required";
|
|
28200
|
-
with_api_key: "with_api_key";
|
|
28201
|
-
with_oauth2: "with_oauth2";
|
|
28202
|
-
}>>;
|
|
28203
|
-
}, z.core.$strict>;
|
|
28204
|
-
status: z.ZodEnum<{
|
|
28205
|
-
ready: "ready";
|
|
28206
|
-
unauthorized: "unauthorized";
|
|
28207
|
-
}>;
|
|
28208
|
-
account_id: z.ZodString;
|
|
28209
|
-
livemode: z.ZodBoolean;
|
|
28210
|
-
masked_api_key: z.ZodString;
|
|
28211
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
28212
|
-
id: z.ZodString;
|
|
28213
|
-
name: z.ZodString;
|
|
28214
|
-
description: z.ZodOptional<z.ZodString>;
|
|
28215
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28216
|
-
created_at: z.ZodString;
|
|
28217
|
-
updated_at: z.ZodString;
|
|
28218
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
28219
|
-
type: z.ZodLiteral<"sandbox">;
|
|
28220
|
-
definition: z.ZodObject<{
|
|
28221
|
-
type: z.ZodEnum<{
|
|
28222
|
-
external_invoicing: "external_invoicing";
|
|
28223
|
-
sandbox: "sandbox";
|
|
28224
|
-
stripe: "stripe";
|
|
28225
|
-
}>;
|
|
28226
|
-
name: z.ZodString;
|
|
28227
|
-
description: z.ZodString;
|
|
28228
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
28229
|
-
type: z.ZodEnum<{
|
|
28230
|
-
calculate_tax: "calculate_tax";
|
|
28231
|
-
collect_payments: "collect_payments";
|
|
28232
|
-
invoice_customers: "invoice_customers";
|
|
28233
|
-
report_events: "report_events";
|
|
28234
|
-
report_usage: "report_usage";
|
|
28235
|
-
}>;
|
|
28236
|
-
key: z.ZodString;
|
|
28237
|
-
name: z.ZodString;
|
|
28238
|
-
description: z.ZodString;
|
|
28239
|
-
}, z.core.$strict>>;
|
|
28240
|
-
install_methods: z.ZodArray<z.ZodEnum<{
|
|
28241
|
-
no_credentials_required: "no_credentials_required";
|
|
28242
|
-
with_api_key: "with_api_key";
|
|
28243
|
-
with_oauth2: "with_oauth2";
|
|
28244
|
-
}>>;
|
|
28245
|
-
}, z.core.$strict>;
|
|
28246
|
-
status: z.ZodEnum<{
|
|
28247
|
-
ready: "ready";
|
|
28248
|
-
unauthorized: "unauthorized";
|
|
28249
|
-
}>;
|
|
28250
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
28251
|
-
id: z.ZodString;
|
|
28252
|
-
name: z.ZodString;
|
|
28253
|
-
description: z.ZodOptional<z.ZodString>;
|
|
28254
|
-
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
28255
|
-
created_at: z.ZodString;
|
|
28256
|
-
updated_at: z.ZodString;
|
|
28257
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
28258
|
-
type: z.ZodLiteral<"external_invoicing">;
|
|
28259
|
-
definition: z.ZodObject<{
|
|
28260
|
-
type: z.ZodEnum<{
|
|
28261
|
-
external_invoicing: "external_invoicing";
|
|
28262
|
-
sandbox: "sandbox";
|
|
28263
|
-
stripe: "stripe";
|
|
28264
|
-
}>;
|
|
28265
|
-
name: z.ZodString;
|
|
28266
|
-
description: z.ZodString;
|
|
28267
|
-
capabilities: z.ZodArray<z.ZodObject<{
|
|
28268
|
-
type: z.ZodEnum<{
|
|
28269
|
-
calculate_tax: "calculate_tax";
|
|
28270
|
-
collect_payments: "collect_payments";
|
|
28271
|
-
invoice_customers: "invoice_customers";
|
|
28272
|
-
report_events: "report_events";
|
|
28273
|
-
report_usage: "report_usage";
|
|
28274
|
-
}>;
|
|
28275
|
-
key: z.ZodString;
|
|
28276
|
-
name: z.ZodString;
|
|
28277
|
-
description: z.ZodString;
|
|
28278
|
-
}, z.core.$strict>>;
|
|
28279
|
-
install_methods: z.ZodArray<z.ZodEnum<{
|
|
28280
|
-
no_credentials_required: "no_credentials_required";
|
|
28281
|
-
with_api_key: "with_api_key";
|
|
28282
|
-
with_oauth2: "with_oauth2";
|
|
28283
|
-
}>>;
|
|
28284
|
-
}, z.core.$strict>;
|
|
28285
|
-
status: z.ZodEnum<{
|
|
28286
|
-
ready: "ready";
|
|
28287
|
-
unauthorized: "unauthorized";
|
|
28288
|
-
}>;
|
|
28289
|
-
enable_draft_sync_hook: z.ZodBoolean;
|
|
28290
|
-
enable_issuing_sync_hook: z.ZodBoolean;
|
|
28291
|
-
}, z.core.$strict>], "type">;
|
|
28292
|
-
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
28293
|
-
calculate_tax: "calculate_tax";
|
|
28294
|
-
collect_payments: "collect_payments";
|
|
28295
|
-
invoice_customers: "invoice_customers";
|
|
28296
|
-
report_events: "report_events";
|
|
28297
|
-
report_usage: "report_usage";
|
|
28298
|
-
}>>;
|
|
28299
|
-
}, z.core.$strict>;
|
|
28300
28628
|
export declare const profileAppsWire: z.ZodObject<{
|
|
28301
28629
|
tax: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28302
28630
|
id: z.ZodString;
|
|
@@ -38302,130 +38630,142 @@ export declare const installAppBodyWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
38302
38630
|
name: z.ZodString;
|
|
38303
38631
|
create_billing_profile: z.ZodBoolean;
|
|
38304
38632
|
}, z.core.$strict>], "type">;
|
|
38305
|
-
export declare const installAppResponseWire: z.ZodObject<{
|
|
38306
|
-
|
|
38307
|
-
|
|
38633
|
+
export declare const installAppResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38634
|
+
id: z.ZodString;
|
|
38635
|
+
name: z.ZodString;
|
|
38636
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38637
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
38638
|
+
created_at: z.ZodString;
|
|
38639
|
+
updated_at: z.ZodString;
|
|
38640
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38641
|
+
type: z.ZodLiteral<"stripe">;
|
|
38642
|
+
definition: z.ZodObject<{
|
|
38643
|
+
type: z.ZodEnum<{
|
|
38644
|
+
external_invoicing: "external_invoicing";
|
|
38645
|
+
sandbox: "sandbox";
|
|
38646
|
+
stripe: "stripe";
|
|
38647
|
+
}>;
|
|
38308
38648
|
name: z.ZodString;
|
|
38309
|
-
description: z.
|
|
38310
|
-
|
|
38311
|
-
created_at: z.ZodString;
|
|
38312
|
-
updated_at: z.ZodString;
|
|
38313
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38314
|
-
type: z.ZodLiteral<"stripe">;
|
|
38315
|
-
definition: z.ZodObject<{
|
|
38649
|
+
description: z.ZodString;
|
|
38650
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
38316
38651
|
type: z.ZodEnum<{
|
|
38317
|
-
|
|
38318
|
-
|
|
38319
|
-
|
|
38652
|
+
calculate_tax: "calculate_tax";
|
|
38653
|
+
collect_payments: "collect_payments";
|
|
38654
|
+
invoice_customers: "invoice_customers";
|
|
38655
|
+
report_events: "report_events";
|
|
38656
|
+
report_usage: "report_usage";
|
|
38320
38657
|
}>;
|
|
38658
|
+
key: z.ZodString;
|
|
38321
38659
|
name: z.ZodString;
|
|
38322
38660
|
description: z.ZodString;
|
|
38323
|
-
|
|
38324
|
-
|
|
38325
|
-
|
|
38326
|
-
|
|
38327
|
-
|
|
38328
|
-
|
|
38329
|
-
|
|
38330
|
-
|
|
38331
|
-
|
|
38332
|
-
|
|
38333
|
-
|
|
38334
|
-
|
|
38335
|
-
|
|
38336
|
-
|
|
38337
|
-
|
|
38338
|
-
|
|
38339
|
-
|
|
38340
|
-
|
|
38341
|
-
|
|
38342
|
-
|
|
38343
|
-
|
|
38661
|
+
}, z.core.$strict>>;
|
|
38662
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
38663
|
+
no_credentials_required: "no_credentials_required";
|
|
38664
|
+
with_api_key: "with_api_key";
|
|
38665
|
+
with_oauth2: "with_oauth2";
|
|
38666
|
+
}>>;
|
|
38667
|
+
}, z.core.$strict>;
|
|
38668
|
+
status: z.ZodEnum<{
|
|
38669
|
+
ready: "ready";
|
|
38670
|
+
unauthorized: "unauthorized";
|
|
38671
|
+
}>;
|
|
38672
|
+
account_id: z.ZodString;
|
|
38673
|
+
livemode: z.ZodBoolean;
|
|
38674
|
+
masked_api_key: z.ZodString;
|
|
38675
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
38676
|
+
calculate_tax: "calculate_tax";
|
|
38677
|
+
collect_payments: "collect_payments";
|
|
38678
|
+
invoice_customers: "invoice_customers";
|
|
38679
|
+
report_events: "report_events";
|
|
38680
|
+
report_usage: "report_usage";
|
|
38681
|
+
}>>;
|
|
38682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38683
|
+
id: z.ZodString;
|
|
38684
|
+
name: z.ZodString;
|
|
38685
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38686
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
38687
|
+
created_at: z.ZodString;
|
|
38688
|
+
updated_at: z.ZodString;
|
|
38689
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38690
|
+
type: z.ZodLiteral<"sandbox">;
|
|
38691
|
+
definition: z.ZodObject<{
|
|
38692
|
+
type: z.ZodEnum<{
|
|
38693
|
+
external_invoicing: "external_invoicing";
|
|
38694
|
+
sandbox: "sandbox";
|
|
38695
|
+
stripe: "stripe";
|
|
38344
38696
|
}>;
|
|
38345
|
-
account_id: z.ZodString;
|
|
38346
|
-
livemode: z.ZodBoolean;
|
|
38347
|
-
masked_api_key: z.ZodString;
|
|
38348
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
38349
|
-
id: z.ZodString;
|
|
38350
38697
|
name: z.ZodString;
|
|
38351
|
-
description: z.
|
|
38352
|
-
|
|
38353
|
-
created_at: z.ZodString;
|
|
38354
|
-
updated_at: z.ZodString;
|
|
38355
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38356
|
-
type: z.ZodLiteral<"sandbox">;
|
|
38357
|
-
definition: z.ZodObject<{
|
|
38698
|
+
description: z.ZodString;
|
|
38699
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
38358
38700
|
type: z.ZodEnum<{
|
|
38359
|
-
|
|
38360
|
-
|
|
38361
|
-
|
|
38701
|
+
calculate_tax: "calculate_tax";
|
|
38702
|
+
collect_payments: "collect_payments";
|
|
38703
|
+
invoice_customers: "invoice_customers";
|
|
38704
|
+
report_events: "report_events";
|
|
38705
|
+
report_usage: "report_usage";
|
|
38362
38706
|
}>;
|
|
38707
|
+
key: z.ZodString;
|
|
38363
38708
|
name: z.ZodString;
|
|
38364
38709
|
description: z.ZodString;
|
|
38365
|
-
|
|
38366
|
-
|
|
38367
|
-
|
|
38368
|
-
|
|
38369
|
-
|
|
38370
|
-
|
|
38371
|
-
|
|
38372
|
-
|
|
38373
|
-
|
|
38374
|
-
|
|
38375
|
-
|
|
38376
|
-
|
|
38377
|
-
|
|
38378
|
-
|
|
38379
|
-
|
|
38380
|
-
|
|
38381
|
-
|
|
38382
|
-
|
|
38383
|
-
|
|
38384
|
-
|
|
38385
|
-
|
|
38710
|
+
}, z.core.$strict>>;
|
|
38711
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
38712
|
+
no_credentials_required: "no_credentials_required";
|
|
38713
|
+
with_api_key: "with_api_key";
|
|
38714
|
+
with_oauth2: "with_oauth2";
|
|
38715
|
+
}>>;
|
|
38716
|
+
}, z.core.$strict>;
|
|
38717
|
+
status: z.ZodEnum<{
|
|
38718
|
+
ready: "ready";
|
|
38719
|
+
unauthorized: "unauthorized";
|
|
38720
|
+
}>;
|
|
38721
|
+
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
38722
|
+
calculate_tax: "calculate_tax";
|
|
38723
|
+
collect_payments: "collect_payments";
|
|
38724
|
+
invoice_customers: "invoice_customers";
|
|
38725
|
+
report_events: "report_events";
|
|
38726
|
+
report_usage: "report_usage";
|
|
38727
|
+
}>>;
|
|
38728
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38729
|
+
id: z.ZodString;
|
|
38730
|
+
name: z.ZodString;
|
|
38731
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38732
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
38733
|
+
created_at: z.ZodString;
|
|
38734
|
+
updated_at: z.ZodString;
|
|
38735
|
+
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38736
|
+
type: z.ZodLiteral<"external_invoicing">;
|
|
38737
|
+
definition: z.ZodObject<{
|
|
38738
|
+
type: z.ZodEnum<{
|
|
38739
|
+
external_invoicing: "external_invoicing";
|
|
38740
|
+
sandbox: "sandbox";
|
|
38741
|
+
stripe: "stripe";
|
|
38386
38742
|
}>;
|
|
38387
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
38388
|
-
id: z.ZodString;
|
|
38389
38743
|
name: z.ZodString;
|
|
38390
|
-
description: z.
|
|
38391
|
-
|
|
38392
|
-
created_at: z.ZodString;
|
|
38393
|
-
updated_at: z.ZodString;
|
|
38394
|
-
deleted_at: z.ZodOptional<z.ZodString>;
|
|
38395
|
-
type: z.ZodLiteral<"external_invoicing">;
|
|
38396
|
-
definition: z.ZodObject<{
|
|
38744
|
+
description: z.ZodString;
|
|
38745
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
38397
38746
|
type: z.ZodEnum<{
|
|
38398
|
-
|
|
38399
|
-
|
|
38400
|
-
|
|
38747
|
+
calculate_tax: "calculate_tax";
|
|
38748
|
+
collect_payments: "collect_payments";
|
|
38749
|
+
invoice_customers: "invoice_customers";
|
|
38750
|
+
report_events: "report_events";
|
|
38751
|
+
report_usage: "report_usage";
|
|
38401
38752
|
}>;
|
|
38753
|
+
key: z.ZodString;
|
|
38402
38754
|
name: z.ZodString;
|
|
38403
38755
|
description: z.ZodString;
|
|
38404
|
-
|
|
38405
|
-
|
|
38406
|
-
|
|
38407
|
-
|
|
38408
|
-
|
|
38409
|
-
|
|
38410
|
-
|
|
38411
|
-
|
|
38412
|
-
|
|
38413
|
-
|
|
38414
|
-
|
|
38415
|
-
|
|
38416
|
-
|
|
38417
|
-
no_credentials_required: "no_credentials_required";
|
|
38418
|
-
with_api_key: "with_api_key";
|
|
38419
|
-
with_oauth2: "with_oauth2";
|
|
38420
|
-
}>>;
|
|
38421
|
-
}, z.core.$strict>;
|
|
38422
|
-
status: z.ZodEnum<{
|
|
38423
|
-
ready: "ready";
|
|
38424
|
-
unauthorized: "unauthorized";
|
|
38425
|
-
}>;
|
|
38426
|
-
enable_draft_sync_hook: z.ZodBoolean;
|
|
38427
|
-
enable_issuing_sync_hook: z.ZodBoolean;
|
|
38428
|
-
}, z.core.$strict>], "type">;
|
|
38756
|
+
}, z.core.$strict>>;
|
|
38757
|
+
install_methods: z.ZodArray<z.ZodEnum<{
|
|
38758
|
+
no_credentials_required: "no_credentials_required";
|
|
38759
|
+
with_api_key: "with_api_key";
|
|
38760
|
+
with_oauth2: "with_oauth2";
|
|
38761
|
+
}>>;
|
|
38762
|
+
}, z.core.$strict>;
|
|
38763
|
+
status: z.ZodEnum<{
|
|
38764
|
+
ready: "ready";
|
|
38765
|
+
unauthorized: "unauthorized";
|
|
38766
|
+
}>;
|
|
38767
|
+
enable_draft_sync_hook: z.ZodBoolean;
|
|
38768
|
+
enable_issuing_sync_hook: z.ZodBoolean;
|
|
38429
38769
|
default_for_capability_types: z.ZodArray<z.ZodEnum<{
|
|
38430
38770
|
calculate_tax: "calculate_tax";
|
|
38431
38771
|
collect_payments: "collect_payments";
|
|
@@ -38433,7 +38773,7 @@ export declare const installAppResponseWire: z.ZodObject<{
|
|
|
38433
38773
|
report_events: "report_events";
|
|
38434
38774
|
report_usage: "report_usage";
|
|
38435
38775
|
}>>;
|
|
38436
|
-
}, z.core.$strict>;
|
|
38776
|
+
}, z.core.$strict>], "type">;
|
|
38437
38777
|
export declare const listBillingProfilesQueryParamsWire: z.ZodObject<{
|
|
38438
38778
|
page: z.ZodOptional<z.ZodObject<{
|
|
38439
38779
|
size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|