@superdurable/connector-intuit-quickbooks 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +91 -2
- package/dex-connector.json +559 -0
- package/dist/chunk-MBZ23PGI.js +514 -0
- package/dist/connection-yvzYeBut.d.ts +681 -0
- package/dist/index.d.ts +660 -0
- package/dist/index.js +1755 -0
- package/dist/mock.d.ts +190 -0
- package/dist/mock.js +455 -0
- package/package.json +63 -4
package/dist/mock.d.ts
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { MockQuery, MockMutation, Case } from '@superdurable/connectors-sdk/connectormock';
|
|
2
|
+
import { Failure } from '@superdurable/connectors-sdk';
|
|
3
|
+
import { O as Operations, h as Connection, F as FindCustomerInput, a as FindCustomerOutput, C as CreateCustomerInput, b as CreateCustomerOutput, c as CreateInvoiceInput, d as CreateInvoiceOutput, G as GetInvoiceInput, I as Invoice, L as ListInvoicesInput, e as InvoicePage, S as SendInvoiceInput, R as RecordPaymentInput, P as Payment, o as Customer, t as InvoiceLine, u as InvoiceLineInput, A as PaymentApplication } from './connection-yvzYeBut.js';
|
|
4
|
+
import '@superdurable/connectors-sdk/projectconfig';
|
|
5
|
+
import 'zod';
|
|
6
|
+
|
|
7
|
+
/** Go zero value for FindCustomerInput in scripted cases. */
|
|
8
|
+
declare const emptyFindCustomerInput: FindCustomerInput;
|
|
9
|
+
/** Go zero value for Customer in scripted cases. */
|
|
10
|
+
declare const emptyCustomer: Customer;
|
|
11
|
+
/** Go zero value for FindCustomerOutput in scripted cases. */
|
|
12
|
+
declare const emptyFindCustomerOutput: FindCustomerOutput;
|
|
13
|
+
/** Go zero value for CreateCustomerInput in scripted cases. */
|
|
14
|
+
declare const emptyCreateCustomerInput: CreateCustomerInput;
|
|
15
|
+
/** Go zero value for CreateCustomerOutput in scripted cases. */
|
|
16
|
+
declare const emptyCreateCustomerOutput: CreateCustomerOutput;
|
|
17
|
+
/** Go zero value for InvoiceLineInput in scripted cases. */
|
|
18
|
+
declare const emptyInvoiceLineInput: InvoiceLineInput;
|
|
19
|
+
/** Go zero value for CreateInvoiceInput in scripted cases. */
|
|
20
|
+
declare const emptyCreateInvoiceInput: CreateInvoiceInput;
|
|
21
|
+
/** Go zero value for InvoiceLine in scripted cases. */
|
|
22
|
+
declare const emptyInvoiceLine: InvoiceLine;
|
|
23
|
+
/** Go zero value for Invoice in scripted cases. */
|
|
24
|
+
declare const emptyInvoice: Invoice;
|
|
25
|
+
/** Go zero value for CreateInvoiceOutput in scripted cases. */
|
|
26
|
+
declare const emptyCreateInvoiceOutput: CreateInvoiceOutput;
|
|
27
|
+
/** Go zero value for GetInvoiceInput in scripted cases. */
|
|
28
|
+
declare const emptyGetInvoiceInput: GetInvoiceInput;
|
|
29
|
+
/** Go zero value for ListInvoicesInput in scripted cases. */
|
|
30
|
+
declare const emptyListInvoicesInput: ListInvoicesInput;
|
|
31
|
+
/** Go zero value for InvoicePage in scripted cases. */
|
|
32
|
+
declare const emptyInvoicePage: InvoicePage;
|
|
33
|
+
/** Go zero value for SendInvoiceInput in scripted cases. */
|
|
34
|
+
declare const emptySendInvoiceInput: SendInvoiceInput;
|
|
35
|
+
/** Go zero value for RecordPaymentInput in scripted cases. */
|
|
36
|
+
declare const emptyRecordPaymentInput: RecordPaymentInput;
|
|
37
|
+
/** Go zero value for PaymentApplication in scripted cases. */
|
|
38
|
+
declare const emptyPaymentApplication: PaymentApplication;
|
|
39
|
+
/** Go zero value for Payment in scripted cases. */
|
|
40
|
+
declare const emptyPayment: Payment;
|
|
41
|
+
/** Script the found branch. */
|
|
42
|
+
declare function findCustomerFound(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
43
|
+
/** Script the notFound branch. */
|
|
44
|
+
declare function findCustomerNotFound(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
45
|
+
/** Script the ambiguous branch. */
|
|
46
|
+
declare function findCustomerAmbiguous(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
47
|
+
/** Script the providerRejected branch. */
|
|
48
|
+
declare function findCustomerProviderRejected(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
49
|
+
/** Script the invalidResponse branch. */
|
|
50
|
+
declare function findCustomerInvalidResponse(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
51
|
+
/** Script the defect branch. */
|
|
52
|
+
declare function findCustomerDefect(value: FindCustomerOutput, failure?: Failure): Case<FindCustomerOutput>;
|
|
53
|
+
/** Script a safe retry of findCustomer. */
|
|
54
|
+
declare function findCustomerRetry(failure: Failure, retryAfterMs?: number): Case<FindCustomerOutput>;
|
|
55
|
+
/** Manifest scenario existingCityAgency for findCustomer. */
|
|
56
|
+
declare function findCustomerExistingCityAgency(): Case<FindCustomerOutput>;
|
|
57
|
+
/** Default findCustomer scenario. */
|
|
58
|
+
declare function findCustomerDefault(): Case<FindCustomerOutput>;
|
|
59
|
+
/** Manifest scenario notFoundFailure for findCustomer. */
|
|
60
|
+
declare function findCustomerNotFoundFailure(): Case<FindCustomerOutput>;
|
|
61
|
+
/** Manifest scenario sharedEmail for findCustomer. */
|
|
62
|
+
declare function findCustomerSharedEmail(): Case<FindCustomerOutput>;
|
|
63
|
+
/** Manifest scenario providerRejectedFailure for findCustomer. */
|
|
64
|
+
declare function findCustomerProviderRejectedFailure(): Case<FindCustomerOutput>;
|
|
65
|
+
/** Manifest scenario invalidResponseFailure for findCustomer. */
|
|
66
|
+
declare function findCustomerInvalidResponseFailure(): Case<FindCustomerOutput>;
|
|
67
|
+
/** Script the created branch. */
|
|
68
|
+
declare function createCustomerCreated(value: CreateCustomerOutput, failure?: Failure): Case<CreateCustomerOutput>;
|
|
69
|
+
/** Script the nameConflict branch. */
|
|
70
|
+
declare function createCustomerNameConflict(value: CreateCustomerOutput, failure?: Failure): Case<CreateCustomerOutput>;
|
|
71
|
+
/** Script the providerRejected branch. */
|
|
72
|
+
declare function createCustomerProviderRejected(value: CreateCustomerOutput, failure?: Failure): Case<CreateCustomerOutput>;
|
|
73
|
+
/** Script the defect branch. */
|
|
74
|
+
declare function createCustomerDefect(value: CreateCustomerOutput, failure?: Failure): Case<CreateCustomerOutput>;
|
|
75
|
+
/** Script a safe retry of createCustomer. */
|
|
76
|
+
declare function createCustomerRetry(failure: Failure, retryAfterMs?: number): Case<CreateCustomerOutput>;
|
|
77
|
+
/** Script an uncertain createCustomer attempt. */
|
|
78
|
+
declare function createCustomerUncertain(value: CreateCustomerOutput, failure: Failure): Case<CreateCustomerOutput>;
|
|
79
|
+
/** Manifest scenario newBuyerCustomer for createCustomer. */
|
|
80
|
+
declare function createCustomerNewBuyerCustomer(): Case<CreateCustomerOutput>;
|
|
81
|
+
/** Default createCustomer scenario. */
|
|
82
|
+
declare function createCustomerDefault(): Case<CreateCustomerOutput>;
|
|
83
|
+
/** Manifest scenario nameConflictFailure for createCustomer. */
|
|
84
|
+
declare function createCustomerNameConflictFailure(): Case<CreateCustomerOutput>;
|
|
85
|
+
/** Manifest scenario providerRejectedFailure for createCustomer. */
|
|
86
|
+
declare function createCustomerProviderRejectedFailure(): Case<CreateCustomerOutput>;
|
|
87
|
+
/** Script the created branch. */
|
|
88
|
+
declare function createInvoiceCreated(value: CreateInvoiceOutput, failure?: Failure): Case<CreateInvoiceOutput>;
|
|
89
|
+
/** Script the providerRejected branch. */
|
|
90
|
+
declare function createInvoiceProviderRejected(value: CreateInvoiceOutput, failure?: Failure): Case<CreateInvoiceOutput>;
|
|
91
|
+
/** Script the defect branch. */
|
|
92
|
+
declare function createInvoiceDefect(value: CreateInvoiceOutput, failure?: Failure): Case<CreateInvoiceOutput>;
|
|
93
|
+
/** Script a safe retry of createInvoice. */
|
|
94
|
+
declare function createInvoiceRetry(failure: Failure, retryAfterMs?: number): Case<CreateInvoiceOutput>;
|
|
95
|
+
/** Script an uncertain createInvoice attempt. */
|
|
96
|
+
declare function createInvoiceUncertain(value: CreateInvoiceOutput, failure: Failure): Case<CreateInvoiceOutput>;
|
|
97
|
+
/** Manifest scenario newBuyerOrderInvoice for createInvoice. */
|
|
98
|
+
declare function createInvoiceNewBuyerOrderInvoice(): Case<CreateInvoiceOutput>;
|
|
99
|
+
/** Default createInvoice scenario. */
|
|
100
|
+
declare function createInvoiceDefault(): Case<CreateInvoiceOutput>;
|
|
101
|
+
/** Manifest scenario providerRejectedFailure for createInvoice. */
|
|
102
|
+
declare function createInvoiceProviderRejectedFailure(): Case<CreateInvoiceOutput>;
|
|
103
|
+
/** Script the found branch. */
|
|
104
|
+
declare function getInvoiceFound(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
105
|
+
/** Script the notFound branch. */
|
|
106
|
+
declare function getInvoiceNotFound(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
107
|
+
/** Script the providerRejected branch. */
|
|
108
|
+
declare function getInvoiceProviderRejected(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
109
|
+
/** Script the invalidResponse branch. */
|
|
110
|
+
declare function getInvoiceInvalidResponse(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
111
|
+
/** Script the defect branch. */
|
|
112
|
+
declare function getInvoiceDefect(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
113
|
+
/** Script a safe retry of getInvoice. */
|
|
114
|
+
declare function getInvoiceRetry(failure: Failure, retryAfterMs?: number): Case<Invoice>;
|
|
115
|
+
/** Manifest scenario paidCityAgencyInvoice for getInvoice. */
|
|
116
|
+
declare function getInvoicePaidCityAgencyInvoice(): Case<Invoice>;
|
|
117
|
+
/** Default getInvoice scenario. */
|
|
118
|
+
declare function getInvoiceDefault(): Case<Invoice>;
|
|
119
|
+
/** Manifest scenario notFoundFailure for getInvoice. */
|
|
120
|
+
declare function getInvoiceNotFoundFailure(): Case<Invoice>;
|
|
121
|
+
/** Manifest scenario providerRejectedFailure for getInvoice. */
|
|
122
|
+
declare function getInvoiceProviderRejectedFailure(): Case<Invoice>;
|
|
123
|
+
/** Manifest scenario invalidResponseFailure for getInvoice. */
|
|
124
|
+
declare function getInvoiceInvalidResponseFailure(): Case<Invoice>;
|
|
125
|
+
/** Script the listed branch. */
|
|
126
|
+
declare function listInvoicesListed(value: InvoicePage, failure?: Failure): Case<InvoicePage>;
|
|
127
|
+
/** Script the providerRejected branch. */
|
|
128
|
+
declare function listInvoicesProviderRejected(value: InvoicePage, failure?: Failure): Case<InvoicePage>;
|
|
129
|
+
/** Script the invalidResponse branch. */
|
|
130
|
+
declare function listInvoicesInvalidResponse(value: InvoicePage, failure?: Failure): Case<InvoicePage>;
|
|
131
|
+
/** Script the defect branch. */
|
|
132
|
+
declare function listInvoicesDefect(value: InvoicePage, failure?: Failure): Case<InvoicePage>;
|
|
133
|
+
/** Script a safe retry of listInvoices. */
|
|
134
|
+
declare function listInvoicesRetry(failure: Failure, retryAfterMs?: number): Case<InvoicePage>;
|
|
135
|
+
/** Manifest scenario cityAgencyOpenInvoice for listInvoices. */
|
|
136
|
+
declare function listInvoicesCityAgencyOpenInvoice(): Case<InvoicePage>;
|
|
137
|
+
/** Default listInvoices scenario. */
|
|
138
|
+
declare function listInvoicesDefault(): Case<InvoicePage>;
|
|
139
|
+
/** Manifest scenario providerRejectedFailure for listInvoices. */
|
|
140
|
+
declare function listInvoicesProviderRejectedFailure(): Case<InvoicePage>;
|
|
141
|
+
/** Manifest scenario invalidResponseFailure for listInvoices. */
|
|
142
|
+
declare function listInvoicesInvalidResponseFailure(): Case<InvoicePage>;
|
|
143
|
+
/** Script the sent branch. */
|
|
144
|
+
declare function sendInvoiceSent(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
145
|
+
/** Script the providerRejected branch. */
|
|
146
|
+
declare function sendInvoiceProviderRejected(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
147
|
+
/** Script the defect branch. */
|
|
148
|
+
declare function sendInvoiceDefect(value: Invoice, failure?: Failure): Case<Invoice>;
|
|
149
|
+
/** Script a safe retry of sendInvoice. */
|
|
150
|
+
declare function sendInvoiceRetry(failure: Failure, retryAfterMs?: number): Case<Invoice>;
|
|
151
|
+
/** Script an uncertain sendInvoice attempt. */
|
|
152
|
+
declare function sendInvoiceUncertain(value: Invoice, failure: Failure): Case<Invoice>;
|
|
153
|
+
/** Manifest scenario cityAgencyInvoiceDelivery for sendInvoice. */
|
|
154
|
+
declare function sendInvoiceCityAgencyInvoiceDelivery(): Case<Invoice>;
|
|
155
|
+
/** Default sendInvoice scenario. */
|
|
156
|
+
declare function sendInvoiceDefault(): Case<Invoice>;
|
|
157
|
+
/** Manifest scenario providerRejectedFailure for sendInvoice. */
|
|
158
|
+
declare function sendInvoiceProviderRejectedFailure(): Case<Invoice>;
|
|
159
|
+
/** Script the recorded branch. */
|
|
160
|
+
declare function recordPaymentRecorded(value: Payment, failure?: Failure): Case<Payment>;
|
|
161
|
+
/** Script the providerRejected branch. */
|
|
162
|
+
declare function recordPaymentProviderRejected(value: Payment, failure?: Failure): Case<Payment>;
|
|
163
|
+
/** Script the defect branch. */
|
|
164
|
+
declare function recordPaymentDefect(value: Payment, failure?: Failure): Case<Payment>;
|
|
165
|
+
/** Script a safe retry of recordPayment. */
|
|
166
|
+
declare function recordPaymentRetry(failure: Failure, retryAfterMs?: number): Case<Payment>;
|
|
167
|
+
/** Script an uncertain recordPayment attempt. */
|
|
168
|
+
declare function recordPaymentUncertain(value: Payment, failure: Failure): Case<Payment>;
|
|
169
|
+
/** Manifest scenario cityAgencyOrderPayment for recordPayment. */
|
|
170
|
+
declare function recordPaymentCityAgencyOrderPayment(): Case<Payment>;
|
|
171
|
+
/** Default recordPayment scenario. */
|
|
172
|
+
declare function recordPaymentDefault(): Case<Payment>;
|
|
173
|
+
/** Manifest scenario providerRejectedFailure for recordPayment. */
|
|
174
|
+
declare function recordPaymentProviderRejectedFailure(): Case<Payment>;
|
|
175
|
+
/** Scripted operations and manifest defaults for this connector. */
|
|
176
|
+
declare class GeneratedMock implements Operations {
|
|
177
|
+
#private;
|
|
178
|
+
constructor(connectionName: string);
|
|
179
|
+
connection(): Connection;
|
|
180
|
+
findCustomer(): MockQuery<FindCustomerInput, FindCustomerOutput>;
|
|
181
|
+
createCustomer(): MockMutation<CreateCustomerInput, CreateCustomerOutput>;
|
|
182
|
+
createInvoice(): MockMutation<CreateInvoiceInput, CreateInvoiceOutput>;
|
|
183
|
+
getInvoice(): MockQuery<GetInvoiceInput, Invoice>;
|
|
184
|
+
listInvoices(): MockQuery<ListInvoicesInput, InvoicePage>;
|
|
185
|
+
sendInvoice(): MockMutation<SendInvoiceInput, Invoice>;
|
|
186
|
+
recordPayment(): MockMutation<RecordPaymentInput, Payment>;
|
|
187
|
+
assertNoFailures(): void;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export { GeneratedMock, createCustomerCreated, createCustomerDefault, createCustomerDefect, createCustomerNameConflict, createCustomerNameConflictFailure, createCustomerNewBuyerCustomer, createCustomerProviderRejected, createCustomerProviderRejectedFailure, createCustomerRetry, createCustomerUncertain, createInvoiceCreated, createInvoiceDefault, createInvoiceDefect, createInvoiceNewBuyerOrderInvoice, createInvoiceProviderRejected, createInvoiceProviderRejectedFailure, createInvoiceRetry, createInvoiceUncertain, emptyCreateCustomerInput, emptyCreateCustomerOutput, emptyCreateInvoiceInput, emptyCreateInvoiceOutput, emptyCustomer, emptyFindCustomerInput, emptyFindCustomerOutput, emptyGetInvoiceInput, emptyInvoice, emptyInvoiceLine, emptyInvoiceLineInput, emptyInvoicePage, emptyListInvoicesInput, emptyPayment, emptyPaymentApplication, emptyRecordPaymentInput, emptySendInvoiceInput, findCustomerAmbiguous, findCustomerDefault, findCustomerDefect, findCustomerExistingCityAgency, findCustomerFound, findCustomerInvalidResponse, findCustomerInvalidResponseFailure, findCustomerNotFound, findCustomerNotFoundFailure, findCustomerProviderRejected, findCustomerProviderRejectedFailure, findCustomerRetry, findCustomerSharedEmail, getInvoiceDefault, getInvoiceDefect, getInvoiceFound, getInvoiceInvalidResponse, getInvoiceInvalidResponseFailure, getInvoiceNotFound, getInvoiceNotFoundFailure, getInvoicePaidCityAgencyInvoice, getInvoiceProviderRejected, getInvoiceProviderRejectedFailure, getInvoiceRetry, listInvoicesCityAgencyOpenInvoice, listInvoicesDefault, listInvoicesDefect, listInvoicesInvalidResponse, listInvoicesInvalidResponseFailure, listInvoicesListed, listInvoicesProviderRejected, listInvoicesProviderRejectedFailure, listInvoicesRetry, recordPaymentCityAgencyOrderPayment, recordPaymentDefault, recordPaymentDefect, recordPaymentProviderRejected, recordPaymentProviderRejectedFailure, recordPaymentRecorded, recordPaymentRetry, recordPaymentUncertain, sendInvoiceCityAgencyInvoiceDelivery, sendInvoiceDefault, sendInvoiceDefect, sendInvoiceProviderRejected, sendInvoiceProviderRejectedFailure, sendInvoiceRetry, sendInvoiceSent, sendInvoiceUncertain };
|
package/dist/mock.js
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConnectorID,
|
|
3
|
+
CreateCustomerDefinition,
|
|
4
|
+
CreateCustomerInputSchema,
|
|
5
|
+
CreateCustomerOutputSchema,
|
|
6
|
+
CreateInvoiceDefinition,
|
|
7
|
+
CreateInvoiceInputSchema,
|
|
8
|
+
CreateInvoiceOutputSchema,
|
|
9
|
+
CustomerSchema,
|
|
10
|
+
FindCustomerDefinition,
|
|
11
|
+
FindCustomerInputSchema,
|
|
12
|
+
FindCustomerOutputSchema,
|
|
13
|
+
GetInvoiceDefinition,
|
|
14
|
+
GetInvoiceInputSchema,
|
|
15
|
+
InvoiceLineInputSchema,
|
|
16
|
+
InvoiceLineSchema,
|
|
17
|
+
InvoicePageSchema,
|
|
18
|
+
InvoiceSchema,
|
|
19
|
+
ListInvoicesDefinition,
|
|
20
|
+
ListInvoicesInputSchema,
|
|
21
|
+
PaymentApplicationSchema,
|
|
22
|
+
PaymentSchema,
|
|
23
|
+
ProviderID,
|
|
24
|
+
RecordPaymentDefinition,
|
|
25
|
+
RecordPaymentInputSchema,
|
|
26
|
+
SendInvoiceDefinition,
|
|
27
|
+
SendInvoiceInputSchema,
|
|
28
|
+
newConnectionWithOperations
|
|
29
|
+
} from "./chunk-MBZ23PGI.js";
|
|
30
|
+
|
|
31
|
+
// src/generated/mock.ts
|
|
32
|
+
import { branchCase, retryCase, uncertainCase, newMutation, newQuery } from "@superdurable/connectors-sdk/connectormock";
|
|
33
|
+
var emptyFindCustomerInput = FindCustomerInputSchema.parse({});
|
|
34
|
+
var emptyCustomer = CustomerSchema.parse({
|
|
35
|
+
"customerId": "",
|
|
36
|
+
"displayName": "",
|
|
37
|
+
"isActive": false
|
|
38
|
+
});
|
|
39
|
+
var emptyFindCustomerOutput = FindCustomerOutputSchema.parse({});
|
|
40
|
+
var emptyCreateCustomerInput = CreateCustomerInputSchema.parse({
|
|
41
|
+
"displayName": ""
|
|
42
|
+
});
|
|
43
|
+
var emptyCreateCustomerOutput = CreateCustomerOutputSchema.parse({
|
|
44
|
+
"customer": emptyCustomer,
|
|
45
|
+
"displayName": ""
|
|
46
|
+
});
|
|
47
|
+
var emptyInvoiceLineInput = InvoiceLineInputSchema.parse({
|
|
48
|
+
"itemId": ""
|
|
49
|
+
});
|
|
50
|
+
var emptyCreateInvoiceInput = CreateInvoiceInputSchema.parse({
|
|
51
|
+
"customerId": "",
|
|
52
|
+
"lines": []
|
|
53
|
+
});
|
|
54
|
+
var emptyInvoiceLine = InvoiceLineSchema.parse({
|
|
55
|
+
"detailType": ""
|
|
56
|
+
});
|
|
57
|
+
var emptyInvoice = InvoiceSchema.parse({
|
|
58
|
+
"invoiceId": "",
|
|
59
|
+
"customerId": "",
|
|
60
|
+
"lines": [],
|
|
61
|
+
"totalAmount": "",
|
|
62
|
+
"balance": ""
|
|
63
|
+
});
|
|
64
|
+
var emptyCreateInvoiceOutput = CreateInvoiceOutputSchema.parse({
|
|
65
|
+
"invoice": emptyInvoice
|
|
66
|
+
});
|
|
67
|
+
var emptyGetInvoiceInput = GetInvoiceInputSchema.parse({
|
|
68
|
+
"invoiceId": ""
|
|
69
|
+
});
|
|
70
|
+
var emptyListInvoicesInput = ListInvoicesInputSchema.parse({});
|
|
71
|
+
var emptyInvoicePage = InvoicePageSchema.parse({
|
|
72
|
+
"invoices": [],
|
|
73
|
+
"startPosition": 0,
|
|
74
|
+
"maxResults": 0,
|
|
75
|
+
"hasMorePages": false
|
|
76
|
+
});
|
|
77
|
+
var emptySendInvoiceInput = SendInvoiceInputSchema.parse({
|
|
78
|
+
"invoiceId": ""
|
|
79
|
+
});
|
|
80
|
+
var emptyRecordPaymentInput = RecordPaymentInputSchema.parse({
|
|
81
|
+
"customerId": "",
|
|
82
|
+
"invoiceId": "",
|
|
83
|
+
"amount": ""
|
|
84
|
+
});
|
|
85
|
+
var emptyPaymentApplication = PaymentApplicationSchema.parse({
|
|
86
|
+
"invoiceId": "",
|
|
87
|
+
"amount": ""
|
|
88
|
+
});
|
|
89
|
+
var emptyPayment = PaymentSchema.parse({
|
|
90
|
+
"paymentId": "",
|
|
91
|
+
"customerId": "",
|
|
92
|
+
"totalAmount": ""
|
|
93
|
+
});
|
|
94
|
+
function findCustomerFound(value, failure) {
|
|
95
|
+
return branchCase("found", value, failure);
|
|
96
|
+
}
|
|
97
|
+
function findCustomerNotFound(value, failure) {
|
|
98
|
+
return branchCase("notFound", value, failure);
|
|
99
|
+
}
|
|
100
|
+
function findCustomerAmbiguous(value, failure) {
|
|
101
|
+
return branchCase("ambiguous", value, failure);
|
|
102
|
+
}
|
|
103
|
+
function findCustomerProviderRejected(value, failure) {
|
|
104
|
+
return branchCase("providerRejected", value, failure);
|
|
105
|
+
}
|
|
106
|
+
function findCustomerInvalidResponse(value, failure) {
|
|
107
|
+
return branchCase("invalidResponse", value, failure);
|
|
108
|
+
}
|
|
109
|
+
function findCustomerDefect(value, failure) {
|
|
110
|
+
return branchCase("defect", value, failure);
|
|
111
|
+
}
|
|
112
|
+
function findCustomerRetry(failure, retryAfterMs = 0) {
|
|
113
|
+
return retryCase(failure, retryAfterMs);
|
|
114
|
+
}
|
|
115
|
+
function findCustomerExistingCityAgency() {
|
|
116
|
+
const value = FindCustomerOutputSchema.parse({ "customer": { "customerId": "58", "displayName": "City Agency", "emailAddress": "accounts@cityagency.example.com", "isActive": true }, "emailAddress": "accounts@cityagency.example.com" });
|
|
117
|
+
return branchCase("found", value);
|
|
118
|
+
}
|
|
119
|
+
function findCustomerDefault() {
|
|
120
|
+
return findCustomerExistingCityAgency();
|
|
121
|
+
}
|
|
122
|
+
function findCustomerNotFoundFailure() {
|
|
123
|
+
const value = emptyFindCustomerOutput;
|
|
124
|
+
return branchCase("notFound", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "findCustomer", message: "No customer matches; inactive customers count only when the input includes them." });
|
|
125
|
+
}
|
|
126
|
+
function findCustomerSharedEmail() {
|
|
127
|
+
const value = FindCustomerOutputSchema.parse({ "emailAddress": "shared@example.com", "matches": [{ "customerId": "61", "displayName": "City Agency East", "emailAddress": "shared@example.com", "isActive": true }, { "customerId": "62", "displayName": "City Agency West", "emailAddress": "shared@example.com", "isActive": true }] });
|
|
128
|
+
return branchCase("ambiguous", value);
|
|
129
|
+
}
|
|
130
|
+
function findCustomerProviderRejectedFailure() {
|
|
131
|
+
const value = emptyFindCustomerOutput;
|
|
132
|
+
return branchCase("providerRejected", value, { kind: "AUTHENTICATION", provider: ConnectorID, operation: "findCustomer", message: "QuickBooks authorization must be renewed before looking up the customer." });
|
|
133
|
+
}
|
|
134
|
+
function findCustomerInvalidResponseFailure() {
|
|
135
|
+
const value = emptyFindCustomerOutput;
|
|
136
|
+
return branchCase("invalidResponse", value, { kind: "PROTOCOL", provider: ConnectorID, operation: "findCustomer", message: "QuickBooks returned an invalid or oversized customer list." });
|
|
137
|
+
}
|
|
138
|
+
function createCustomerCreated(value, failure) {
|
|
139
|
+
return branchCase("created", value, failure);
|
|
140
|
+
}
|
|
141
|
+
function createCustomerNameConflict(value, failure) {
|
|
142
|
+
return branchCase("nameConflict", value, failure);
|
|
143
|
+
}
|
|
144
|
+
function createCustomerProviderRejected(value, failure) {
|
|
145
|
+
return branchCase("providerRejected", value, failure);
|
|
146
|
+
}
|
|
147
|
+
function createCustomerDefect(value, failure) {
|
|
148
|
+
return branchCase("defect", value, failure);
|
|
149
|
+
}
|
|
150
|
+
function createCustomerRetry(failure, retryAfterMs = 0) {
|
|
151
|
+
return retryCase(failure, retryAfterMs);
|
|
152
|
+
}
|
|
153
|
+
function createCustomerUncertain(value, failure) {
|
|
154
|
+
return uncertainCase(value, failure);
|
|
155
|
+
}
|
|
156
|
+
function createCustomerNewBuyerCustomer() {
|
|
157
|
+
const value = CreateCustomerOutputSchema.parse({ "customer": { "customerId": "59", "displayName": "New Buyer", "emailAddress": "newbuyer@example.com", "isActive": true }, "displayName": "New Buyer" });
|
|
158
|
+
return branchCase("created", value);
|
|
159
|
+
}
|
|
160
|
+
function createCustomerDefault() {
|
|
161
|
+
return createCustomerNewBuyerCustomer();
|
|
162
|
+
}
|
|
163
|
+
function createCustomerNameConflictFailure() {
|
|
164
|
+
const value = emptyCreateCustomerOutput;
|
|
165
|
+
return branchCase("nameConflict", value, { kind: "CONFLICT", provider: ConnectorID, operation: "createCustomer", message: "QuickBooks already uses this display name." });
|
|
166
|
+
}
|
|
167
|
+
function createCustomerProviderRejectedFailure() {
|
|
168
|
+
const value = emptyCreateCustomerOutput;
|
|
169
|
+
return branchCase("providerRejected", value, { kind: "AUTHENTICATION", provider: ConnectorID, operation: "createCustomer", message: "QuickBooks authorization must be renewed before creating the customer; nothing was created." });
|
|
170
|
+
}
|
|
171
|
+
function createInvoiceCreated(value, failure) {
|
|
172
|
+
return branchCase("created", value, failure);
|
|
173
|
+
}
|
|
174
|
+
function createInvoiceProviderRejected(value, failure) {
|
|
175
|
+
return branchCase("providerRejected", value, failure);
|
|
176
|
+
}
|
|
177
|
+
function createInvoiceDefect(value, failure) {
|
|
178
|
+
return branchCase("defect", value, failure);
|
|
179
|
+
}
|
|
180
|
+
function createInvoiceRetry(failure, retryAfterMs = 0) {
|
|
181
|
+
return retryCase(failure, retryAfterMs);
|
|
182
|
+
}
|
|
183
|
+
function createInvoiceUncertain(value, failure) {
|
|
184
|
+
return uncertainCase(value, failure);
|
|
185
|
+
}
|
|
186
|
+
function createInvoiceNewBuyerOrderInvoice() {
|
|
187
|
+
const value = CreateInvoiceOutputSchema.parse({ "docNumber": "ORDER-2048", "invoice": { "balance": "75.00", "billEmail": "newbuyer@example.com", "customerId": "59", "docNumber": "ORDER-2048", "emailStatus": "NotSet", "invoiceId": "131", "lines": [{ "amount": "75.00", "detailType": "SalesItemLineDetail", "itemId": "1", "quantity": "1", "unitPrice": "75.00" }], "totalAmount": "75.00" } });
|
|
188
|
+
return branchCase("created", value);
|
|
189
|
+
}
|
|
190
|
+
function createInvoiceDefault() {
|
|
191
|
+
return createInvoiceNewBuyerOrderInvoice();
|
|
192
|
+
}
|
|
193
|
+
function createInvoiceProviderRejectedFailure() {
|
|
194
|
+
const value = emptyCreateInvoiceOutput;
|
|
195
|
+
return branchCase("providerRejected", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "createInvoice", message: "QuickBooks found no such invoice item; nothing was created." });
|
|
196
|
+
}
|
|
197
|
+
function getInvoiceFound(value, failure) {
|
|
198
|
+
return branchCase("found", value, failure);
|
|
199
|
+
}
|
|
200
|
+
function getInvoiceNotFound(value, failure) {
|
|
201
|
+
return branchCase("notFound", value, failure);
|
|
202
|
+
}
|
|
203
|
+
function getInvoiceProviderRejected(value, failure) {
|
|
204
|
+
return branchCase("providerRejected", value, failure);
|
|
205
|
+
}
|
|
206
|
+
function getInvoiceInvalidResponse(value, failure) {
|
|
207
|
+
return branchCase("invalidResponse", value, failure);
|
|
208
|
+
}
|
|
209
|
+
function getInvoiceDefect(value, failure) {
|
|
210
|
+
return branchCase("defect", value, failure);
|
|
211
|
+
}
|
|
212
|
+
function getInvoiceRetry(failure, retryAfterMs = 0) {
|
|
213
|
+
return retryCase(failure, retryAfterMs);
|
|
214
|
+
}
|
|
215
|
+
function getInvoicePaidCityAgencyInvoice() {
|
|
216
|
+
const value = InvoiceSchema.parse({ "balance": "0", "billEmail": "accounts@cityagency.example.com", "customerId": "58", "docNumber": "ORDER-1042", "emailStatus": "EmailSent", "invoiceId": "130", "lines": [{ "amount": "99.90", "detailType": "SalesItemLineDetail", "itemId": "1", "quantity": "2", "unitPrice": "49.95" }, { "amount": "12.50", "detailType": "SalesItemLineDetail", "itemId": "2", "quantity": "1", "unitPrice": "12.5" }], "linkedPaymentIds": ["186"], "totalAmount": "112.40" });
|
|
217
|
+
return branchCase("found", value);
|
|
218
|
+
}
|
|
219
|
+
function getInvoiceDefault() {
|
|
220
|
+
return getInvoicePaidCityAgencyInvoice();
|
|
221
|
+
}
|
|
222
|
+
function getInvoiceNotFoundFailure() {
|
|
223
|
+
const value = emptyInvoice;
|
|
224
|
+
return branchCase("notFound", value, { kind: "NOT_FOUND", provider: ConnectorID, operation: "getInvoice", message: "The invoice does not exist in the company or was deleted." });
|
|
225
|
+
}
|
|
226
|
+
function getInvoiceProviderRejectedFailure() {
|
|
227
|
+
const value = emptyInvoice;
|
|
228
|
+
return branchCase("providerRejected", value, { kind: "AUTHENTICATION", provider: ConnectorID, operation: "getInvoice", message: "QuickBooks authorization must be renewed before reading the invoice." });
|
|
229
|
+
}
|
|
230
|
+
function getInvoiceInvalidResponseFailure() {
|
|
231
|
+
const value = emptyInvoice;
|
|
232
|
+
return branchCase("invalidResponse", value, { kind: "PROTOCOL", provider: ConnectorID, operation: "getInvoice", message: "QuickBooks returned an invalid or oversized invoice." });
|
|
233
|
+
}
|
|
234
|
+
function listInvoicesListed(value, failure) {
|
|
235
|
+
return branchCase("listed", value, failure);
|
|
236
|
+
}
|
|
237
|
+
function listInvoicesProviderRejected(value, failure) {
|
|
238
|
+
return branchCase("providerRejected", value, failure);
|
|
239
|
+
}
|
|
240
|
+
function listInvoicesInvalidResponse(value, failure) {
|
|
241
|
+
return branchCase("invalidResponse", value, failure);
|
|
242
|
+
}
|
|
243
|
+
function listInvoicesDefect(value, failure) {
|
|
244
|
+
return branchCase("defect", value, failure);
|
|
245
|
+
}
|
|
246
|
+
function listInvoicesRetry(failure, retryAfterMs = 0) {
|
|
247
|
+
return retryCase(failure, retryAfterMs);
|
|
248
|
+
}
|
|
249
|
+
function listInvoicesCityAgencyOpenInvoice() {
|
|
250
|
+
const value = InvoicePageSchema.parse({ "hasMorePages": false, "invoices": [{ "balance": "112.40", "billEmail": "accounts@cityagency.example.com", "customerId": "58", "docNumber": "ORDER-1042", "emailStatus": "NotSet", "invoiceId": "130", "lines": [{ "amount": "99.90", "detailType": "SalesItemLineDetail", "itemId": "1", "quantity": "2", "unitPrice": "49.95" }, { "amount": "12.50", "detailType": "SalesItemLineDetail", "itemId": "2", "quantity": "1", "unitPrice": "12.5" }], "totalAmount": "112.40" }], "maxResults": 10, "startPosition": 1 });
|
|
251
|
+
return branchCase("listed", value);
|
|
252
|
+
}
|
|
253
|
+
function listInvoicesDefault() {
|
|
254
|
+
return listInvoicesCityAgencyOpenInvoice();
|
|
255
|
+
}
|
|
256
|
+
function listInvoicesProviderRejectedFailure() {
|
|
257
|
+
const value = emptyInvoicePage;
|
|
258
|
+
return branchCase("providerRejected", value, { kind: "AUTHENTICATION", provider: ConnectorID, operation: "listInvoices", message: "QuickBooks authorization must be renewed before listing invoices." });
|
|
259
|
+
}
|
|
260
|
+
function listInvoicesInvalidResponseFailure() {
|
|
261
|
+
const value = emptyInvoicePage;
|
|
262
|
+
return branchCase("invalidResponse", value, { kind: "PROTOCOL", provider: ConnectorID, operation: "listInvoices", message: "QuickBooks returned an invalid or oversized page of invoices." });
|
|
263
|
+
}
|
|
264
|
+
function sendInvoiceSent(value, failure) {
|
|
265
|
+
return branchCase("sent", value, failure);
|
|
266
|
+
}
|
|
267
|
+
function sendInvoiceProviderRejected(value, failure) {
|
|
268
|
+
return branchCase("providerRejected", value, failure);
|
|
269
|
+
}
|
|
270
|
+
function sendInvoiceDefect(value, failure) {
|
|
271
|
+
return branchCase("defect", value, failure);
|
|
272
|
+
}
|
|
273
|
+
function sendInvoiceRetry(failure, retryAfterMs = 0) {
|
|
274
|
+
return retryCase(failure, retryAfterMs);
|
|
275
|
+
}
|
|
276
|
+
function sendInvoiceUncertain(value, failure) {
|
|
277
|
+
return uncertainCase(value, failure);
|
|
278
|
+
}
|
|
279
|
+
function sendInvoiceCityAgencyInvoiceDelivery() {
|
|
280
|
+
const value = InvoiceSchema.parse({ "balance": "0", "billEmail": "accounts@cityagency.example.com", "customerId": "58", "docNumber": "ORDER-1042", "emailStatus": "EmailSent", "invoiceId": "130", "lines": [{ "amount": "99.90", "detailType": "SalesItemLineDetail", "itemId": "1", "quantity": "2", "unitPrice": "49.95" }, { "amount": "12.50", "detailType": "SalesItemLineDetail", "itemId": "2", "quantity": "1", "unitPrice": "12.5" }], "linkedPaymentIds": ["186"], "totalAmount": "112.40" });
|
|
281
|
+
return branchCase("sent", value);
|
|
282
|
+
}
|
|
283
|
+
function sendInvoiceDefault() {
|
|
284
|
+
return sendInvoiceCityAgencyInvoiceDelivery();
|
|
285
|
+
}
|
|
286
|
+
function sendInvoiceProviderRejectedFailure() {
|
|
287
|
+
const value = emptyInvoice;
|
|
288
|
+
return branchCase("providerRejected", value, { kind: "VALIDATION", provider: ConnectorID, operation: "sendInvoice", message: "QuickBooks rejected delivery because invoice 132 has no recipient address; nothing was sent." });
|
|
289
|
+
}
|
|
290
|
+
function recordPaymentRecorded(value, failure) {
|
|
291
|
+
return branchCase("recorded", value, failure);
|
|
292
|
+
}
|
|
293
|
+
function recordPaymentProviderRejected(value, failure) {
|
|
294
|
+
return branchCase("providerRejected", value, failure);
|
|
295
|
+
}
|
|
296
|
+
function recordPaymentDefect(value, failure) {
|
|
297
|
+
return branchCase("defect", value, failure);
|
|
298
|
+
}
|
|
299
|
+
function recordPaymentRetry(failure, retryAfterMs = 0) {
|
|
300
|
+
return retryCase(failure, retryAfterMs);
|
|
301
|
+
}
|
|
302
|
+
function recordPaymentUncertain(value, failure) {
|
|
303
|
+
return uncertainCase(value, failure);
|
|
304
|
+
}
|
|
305
|
+
function recordPaymentCityAgencyOrderPayment() {
|
|
306
|
+
const value = PaymentSchema.parse({ "appliedInvoices": [{ "amount": "112.40", "invoiceId": "130" }], "customerId": "58", "paymentId": "186", "totalAmount": "112.40" });
|
|
307
|
+
return branchCase("recorded", value);
|
|
308
|
+
}
|
|
309
|
+
function recordPaymentDefault() {
|
|
310
|
+
return recordPaymentCityAgencyOrderPayment();
|
|
311
|
+
}
|
|
312
|
+
function recordPaymentProviderRejectedFailure() {
|
|
313
|
+
const value = emptyPayment;
|
|
314
|
+
return branchCase("providerRejected", value, { kind: "VALIDATION", provider: ConnectorID, operation: "recordPayment", message: "QuickBooks rejected payment against another customer's invoice; nothing was recorded." });
|
|
315
|
+
}
|
|
316
|
+
var GeneratedMock = class {
|
|
317
|
+
#findCustomer;
|
|
318
|
+
#createCustomer;
|
|
319
|
+
#createInvoice;
|
|
320
|
+
#getInvoice;
|
|
321
|
+
#listInvoices;
|
|
322
|
+
#sendInvoice;
|
|
323
|
+
#recordPayment;
|
|
324
|
+
#connection;
|
|
325
|
+
constructor(connectionName) {
|
|
326
|
+
this.#findCustomer = newQuery(FindCustomerDefinition).default(findCustomerDefault());
|
|
327
|
+
this.#createCustomer = newMutation(CreateCustomerDefinition).default(createCustomerDefault());
|
|
328
|
+
this.#createInvoice = newMutation(CreateInvoiceDefinition).default(createInvoiceDefault());
|
|
329
|
+
this.#getInvoice = newQuery(GetInvoiceDefinition).default(getInvoiceDefault());
|
|
330
|
+
this.#listInvoices = newQuery(ListInvoicesDefinition).default(listInvoicesDefault());
|
|
331
|
+
this.#sendInvoice = newMutation(SendInvoiceDefinition).default(sendInvoiceDefault());
|
|
332
|
+
this.#recordPayment = newMutation(RecordPaymentDefinition).default(recordPaymentDefault());
|
|
333
|
+
this.#connection = newConnectionWithOperations(this, { provider: ProviderID, name: connectionName });
|
|
334
|
+
}
|
|
335
|
+
connection() {
|
|
336
|
+
return this.#connection;
|
|
337
|
+
}
|
|
338
|
+
findCustomer() {
|
|
339
|
+
return this.#findCustomer;
|
|
340
|
+
}
|
|
341
|
+
createCustomer() {
|
|
342
|
+
return this.#createCustomer;
|
|
343
|
+
}
|
|
344
|
+
createInvoice() {
|
|
345
|
+
return this.#createInvoice;
|
|
346
|
+
}
|
|
347
|
+
getInvoice() {
|
|
348
|
+
return this.#getInvoice;
|
|
349
|
+
}
|
|
350
|
+
listInvoices() {
|
|
351
|
+
return this.#listInvoices;
|
|
352
|
+
}
|
|
353
|
+
sendInvoice() {
|
|
354
|
+
return this.#sendInvoice;
|
|
355
|
+
}
|
|
356
|
+
recordPayment() {
|
|
357
|
+
return this.#recordPayment;
|
|
358
|
+
}
|
|
359
|
+
assertNoFailures() {
|
|
360
|
+
this.#findCustomer.assertNoFailures();
|
|
361
|
+
this.#createCustomer.assertNoFailures();
|
|
362
|
+
this.#createInvoice.assertNoFailures();
|
|
363
|
+
this.#getInvoice.assertNoFailures();
|
|
364
|
+
this.#listInvoices.assertNoFailures();
|
|
365
|
+
this.#sendInvoice.assertNoFailures();
|
|
366
|
+
this.#recordPayment.assertNoFailures();
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
export {
|
|
370
|
+
GeneratedMock,
|
|
371
|
+
createCustomerCreated,
|
|
372
|
+
createCustomerDefault,
|
|
373
|
+
createCustomerDefect,
|
|
374
|
+
createCustomerNameConflict,
|
|
375
|
+
createCustomerNameConflictFailure,
|
|
376
|
+
createCustomerNewBuyerCustomer,
|
|
377
|
+
createCustomerProviderRejected,
|
|
378
|
+
createCustomerProviderRejectedFailure,
|
|
379
|
+
createCustomerRetry,
|
|
380
|
+
createCustomerUncertain,
|
|
381
|
+
createInvoiceCreated,
|
|
382
|
+
createInvoiceDefault,
|
|
383
|
+
createInvoiceDefect,
|
|
384
|
+
createInvoiceNewBuyerOrderInvoice,
|
|
385
|
+
createInvoiceProviderRejected,
|
|
386
|
+
createInvoiceProviderRejectedFailure,
|
|
387
|
+
createInvoiceRetry,
|
|
388
|
+
createInvoiceUncertain,
|
|
389
|
+
emptyCreateCustomerInput,
|
|
390
|
+
emptyCreateCustomerOutput,
|
|
391
|
+
emptyCreateInvoiceInput,
|
|
392
|
+
emptyCreateInvoiceOutput,
|
|
393
|
+
emptyCustomer,
|
|
394
|
+
emptyFindCustomerInput,
|
|
395
|
+
emptyFindCustomerOutput,
|
|
396
|
+
emptyGetInvoiceInput,
|
|
397
|
+
emptyInvoice,
|
|
398
|
+
emptyInvoiceLine,
|
|
399
|
+
emptyInvoiceLineInput,
|
|
400
|
+
emptyInvoicePage,
|
|
401
|
+
emptyListInvoicesInput,
|
|
402
|
+
emptyPayment,
|
|
403
|
+
emptyPaymentApplication,
|
|
404
|
+
emptyRecordPaymentInput,
|
|
405
|
+
emptySendInvoiceInput,
|
|
406
|
+
findCustomerAmbiguous,
|
|
407
|
+
findCustomerDefault,
|
|
408
|
+
findCustomerDefect,
|
|
409
|
+
findCustomerExistingCityAgency,
|
|
410
|
+
findCustomerFound,
|
|
411
|
+
findCustomerInvalidResponse,
|
|
412
|
+
findCustomerInvalidResponseFailure,
|
|
413
|
+
findCustomerNotFound,
|
|
414
|
+
findCustomerNotFoundFailure,
|
|
415
|
+
findCustomerProviderRejected,
|
|
416
|
+
findCustomerProviderRejectedFailure,
|
|
417
|
+
findCustomerRetry,
|
|
418
|
+
findCustomerSharedEmail,
|
|
419
|
+
getInvoiceDefault,
|
|
420
|
+
getInvoiceDefect,
|
|
421
|
+
getInvoiceFound,
|
|
422
|
+
getInvoiceInvalidResponse,
|
|
423
|
+
getInvoiceInvalidResponseFailure,
|
|
424
|
+
getInvoiceNotFound,
|
|
425
|
+
getInvoiceNotFoundFailure,
|
|
426
|
+
getInvoicePaidCityAgencyInvoice,
|
|
427
|
+
getInvoiceProviderRejected,
|
|
428
|
+
getInvoiceProviderRejectedFailure,
|
|
429
|
+
getInvoiceRetry,
|
|
430
|
+
listInvoicesCityAgencyOpenInvoice,
|
|
431
|
+
listInvoicesDefault,
|
|
432
|
+
listInvoicesDefect,
|
|
433
|
+
listInvoicesInvalidResponse,
|
|
434
|
+
listInvoicesInvalidResponseFailure,
|
|
435
|
+
listInvoicesListed,
|
|
436
|
+
listInvoicesProviderRejected,
|
|
437
|
+
listInvoicesProviderRejectedFailure,
|
|
438
|
+
listInvoicesRetry,
|
|
439
|
+
recordPaymentCityAgencyOrderPayment,
|
|
440
|
+
recordPaymentDefault,
|
|
441
|
+
recordPaymentDefect,
|
|
442
|
+
recordPaymentProviderRejected,
|
|
443
|
+
recordPaymentProviderRejectedFailure,
|
|
444
|
+
recordPaymentRecorded,
|
|
445
|
+
recordPaymentRetry,
|
|
446
|
+
recordPaymentUncertain,
|
|
447
|
+
sendInvoiceCityAgencyInvoiceDelivery,
|
|
448
|
+
sendInvoiceDefault,
|
|
449
|
+
sendInvoiceDefect,
|
|
450
|
+
sendInvoiceProviderRejected,
|
|
451
|
+
sendInvoiceProviderRejectedFailure,
|
|
452
|
+
sendInvoiceRetry,
|
|
453
|
+
sendInvoiceSent,
|
|
454
|
+
sendInvoiceUncertain
|
|
455
|
+
};
|